3 BMCO_CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 @DBGOUT@ -I./common
4 CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 @DBGOUT@ -I./common
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 \
21 common/random.o common/svrblist.o
22 FORM_MAINOBJS=forms/main/frmMain.o forms/main/frmMain-Window.o \
23 forms/main/frmMain-Setup.o
24 FORM_UPDATEOBJS=forms/update/frmUpdate.o
25 FORM_EDITACCOUNTOBJS=forms/editaccount/frmEditAccount.o
26 FORM_NEWACCOUNTOBJS=forms/newaccount/frmNewAccount.o
27 FORM_CALENDAREDITOROBJS=forms/calendareditor/frmCalendarEditor.o
28 FORM_EVENTEDITOROBJS=forms/eventeditor/frmEventEditor.o
29 FORM_PREFERENCESOBJS=forms/preferences/frmPreferences.o
30 FORM_ABOUTOBJS=forms/about/frmAbout.o
31 FORM_ACTMGROBJS=forms/actmgr/frmActivityMgr.o
32 FORM_INVALIDSSLCERTOBJS=forms/invalidsslcertificate/frmInvalidSSLCertificate.o
33 WIDGETSOBJS=widgets/XCCalendarCtrl.o widgets/XCCalendarDay.o \
34 widgets/XCCalendarDayEntry.o widgets/XCCalendarMonthView.o \
35 widgets/XCCalendarMonthViewDayTitle.o \
36 widgets/XCCalendarManipulator.o \
37 widgets/XCCalendarMonthSelect.o \
38 widgets/XCCalendarList.o \
39 widgets/XCCalendarListAccountCtrl.o \
40 widgets/XCCalendarListCalendarCtrl.o \
41 widgets/XCCalendarMenu.o \
43 CALENDARLISTOBJS=objects/calendarlist/CalendarList.o
44 CALENDAROBJS=objects/calendarobject/CalendarObject-Save.o \
45 objects/calendarobject/CalendarObject.o
46 CALENDAREVENTOBJS=objects/calendarevent/CalendarEvent-Save.o \
47 objects/calendarevent/CalendarEvent.o
48 CDSOBJS=libraries/CalendarDataStorage/CalendarDataStorage.o
49 CALDAVOBJS=objects/CalDAV/CalDAV.o objects/CalDAV/CalDAV-XMLProcessing.o
53 $(MAKE) calendardatastorage
56 forms: form_mainobjs form_editaccountobjs form_newaccountobjs \
57 form_preferencesobjs form_aboutobjs form_updateobjs \
58 form_calendareditorobjs form_eventeditorobjs form_actmgrobjs \
59 form_invalidsslcertificateobjs
61 xestiacal: mainobjs forms widgetsobjs commonobjs calendarlistobjs \
62 calendarobjs calendareventobjs caldavobjs
63 $(CPP) -Os $(MAINOBJS) $(FORM_MAINOBJS) $(FORM_PREFERENCESOBJS) \
64 $(FORM_ABOUTOBJS) $(FORM_UPDATEOBJS) $(FORM_EDITACCOUNTOBJS) \
65 $(FORM_NEWACCOUNTOBJS) $(FORM_CALENDAREDITOROBJS) \
66 $(FORM_EVENTEDITOROBJS) $(FORM_ACTMGROBJS) \
67 $(WIDGETSOBJS) $(COMMONOBJS) $(CALENDARLISTOBJS) $(CALENDAROBJS) \
68 $(CALENDAREVENTOBJS) $(CALDAVOBJS) \
69 -o $(XCAL_OUT) $(CPPLIBS)
71 bitmaphelperobjs: $(BMCOOBJS)
73 bitmaphelper: bitmaphelperobjs
74 $(CPP) $(BMCO_CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP) $(BMCO_CPPLIBS)
78 find . -name "*.o" -type f -delete
79 find . -name "*.a" -type f -delete
84 form_mainobjs: $(FORM_MAINOBJS)
86 form_updateobjs: $(FORM_UPDATEOBJS)
88 form_editaccountobjs: $(FORM_EDITACCOUNTOBJS)
90 form_newaccountobjs: $(FORM_NEWACCOUNTOBJS)
92 form_calendareditorobjs: $(FORM_CALENDAREDITOROBJS)
94 form_eventeditorobjs: $(FORM_EVENTEDITOROBJS)
96 form_preferencesobjs: $(FORM_PREFERENCESOBJS)
98 form_aboutobjs: $(FORM_ABOUTOBJS)
100 form_actmgrobjs: $(FORM_ACTMGROBJS)
102 form_invalidsslcertificateobjs: $(FORM_INVALIDSSLCERTOBJS)
104 widgetsobjs: $(WIDGETSOBJS)
106 commonobjs: $(COMMONOBJS)
108 calendarlistobjs: $(CALENDARLISTOBJS)
110 calendarobjs: $(CALENDAROBJS)
112 calendareventobjs: $(CALENDAREVENTOBJS)
114 caldavobjs: $(CALDAVOBJS)
117 g++ -c -ggdb --std=c++11 libraries/CalendarDataStorage/CalendarDataStorage.cpp -o libraries/CalendarDataStorage/CalendarDataStorage.o -lsqlite3
118 ar rcs libraries/libCalendarDataStorage.a libraries/CalendarDataStorage/CalendarDataStorage.o
122 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