3 BMCO_CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 -Os -I./common -ggdb
4 CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 -Os -I./common -ggdb
5 BMCO_CPPLIBS=`wx-config --libs` `curl-config --libs` -lxml2
6 CPPLIBS=`wx-config --libs` `curl-config --libs` -lxml2 -Llibraries -lCalendarDataStorage -lsqlite3
14 BMCO_HELP=tools/bitmapcode.helper
17 MAINOBJS=main.o AppXestiaCalendar.o
18 BMCOOBJS=tools/bitmapcode.o
19 COMMONOBJS=common/monthviewgen.o common/file.o common/text.o \
20 common/uuid.o common/preferences.o common/dirs.o common/defaults.o \
22 FORM_MAINOBJS=forms/main/frmMain.o
23 FORM_UPDATEOBJS=forms/update/frmUpdate.o
24 FORM_PREFERENCESOBJS=forms/preferences/frmPreferences.o
25 FORM_ABOUTOBJS=forms/about/frmAbout.o
26 WIDGETSOBJS=widgets/XCCalendarCtrl.o widgets/XCCalendarDay.o \
27 widgets/XCCalendarDayEntry.o widgets/XCCalendarMonthView.o \
28 widgets/XCCalendarMonthViewDayTitle.o \
29 widgets/XCCalendarManipulator.o \
30 widgets/XCCalendarMonthSelect.o \
31 widgets/XCCalendarList.o \
32 widgets/XCCalendarListAccountCtrl.o \
33 widgets/XCCalendarListCalendarCtrl.o
34 CALENDARLISTOBJS=objects/calendarlist/CalendarList.o
35 CALENDAROBJS=objects/calendarobject/CalendarObject-Save.o \
36 objects/calendarobject/CalendarObject.o
37 CALENDAREVENTOBJS=objects/calendarevent/CalendarEvent-Save.o \
38 objects/calendarevent/CalendarEvent.o
39 CDSOBJS=libraries/CalendarDataStorage/CalendarDataStorage.o
43 $(MAKE) calendardatastorage
46 forms: form_mainobjs form_preferencesobjs form_aboutobjs form_updateobjs
48 xestiacal: mainobjs forms widgetsobjs commonobjs calendarlistobjs calendarobjs calendareventobjs
49 $(CPP) -Os $(MAINOBJS) $(FORM_MAINOBJS) $(FORM_PREFERENCESOBJS) \
50 $(FORM_ABOUTOBJS) $(FORM_UPDATEOBJS) $(WIDGETSOBJS) $(COMMONOBJS) \
51 $(CALENDARLISTOBJS) $(CALENDAROBJS) $(CALENDAREVENTOBJS) \
52 -o $(XCAL_OUT) $(CPPLIBS)
54 bitmaphelperobjs: $(BMCOOBJS)
56 bitmaphelper: bitmaphelperobjs
57 $(CPP) $(BMCO_CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP) $(BMCO_CPPLIBS)
61 find . -name "*.o" -type f -delete
62 find . -name "*.a" -type f -delete
67 form_mainobjs: $(FORM_MAINOBJS)
69 form_updateobjs: $(FORM_UPDATEOBJS)
71 form_preferencesobjs: $(FORM_PREFERENCESOBJS)
73 form_aboutobjs: $(FORM_ABOUTOBJS)
75 widgetsobjs: $(WIDGETSOBJS)
77 commonobjs: $(COMMONOBJS)
79 calendarlistobjs: $(CALENDARLISTOBJS)
81 calendarobjs: $(CALENDAROBJS)
83 calendareventobjs: $(CALENDAREVENTOBJS)
86 g++ -c -ggdb --std=c++11 libraries/CalendarDataStorage/CalendarDataStorage.cpp -o libraries/CalendarDataStorage/CalendarDataStorage.o -lsqlite3
87 ar rcs libraries/libCalendarDataStorage.a libraries/CalendarDataStorage/CalendarDataStorage.o
91 g++ `xml2-config --cflags --libs` -ggdb --std=c++11 -lcurl -lgtest -pthread xestiacalendar_test.cpp xestiacalendar_testcommon.cpp ../objects/calendarevent/CalendarEvent.cpp ../objects/calendartask/CalendarTask.cpp ../objects/calendarjournal/CalendarJournal.cpp ../objects/calendarfreebusy/CalendarFreeBusy.cpp ../objects/calendartimezone/CalendarTimezone.cpp ../objects/calendarobject/CalendarObject.cpp ../common/file.cpp ../common/text.cpp ../objects/CalDAV/CalDAV.cpp ../objects/CalDAV/CalDAV-XMLProcessing.cpp -o xestiacalendar_test