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_PREFERENCESOBJS=forms/preferences/frmPreferences.o
24 FORM_ABOUTOBJS=forms/about/frmAbout.o
25 WIDGETSOBJS=widgets/XCCalendarCtrl.o widgets/XCCalendarDay.o \
26 widgets/XCCalendarDayEntry.o widgets/XCCalendarMonthView.o \
27 widgets/XCCalendarMonthViewDayTitle.o \
28 widgets/XCCalendarManipulator.o \
29 widgets/XCCalendarMonthSelect.o \
30 widgets/XCCalendarList.o \
31 widgets/XCCalendarListAccountCtrl.o \
32 widgets/XCCalendarListCalendarCtrl.o
33 CALENDARLISTOBJS=objects/calendarlist/CalendarList.o
34 CALENDAROBJS=objects/calendarobject/CalendarObject-Save.o \
35 objects/calendarobject/CalendarObject.o
36 CALENDAREVENTOBJS=objects/calendarevent/CalendarEvent-Save.o \
37 objects/calendarevent/CalendarEvent.o
38 CDSOBJS=libraries/CalendarDataStorage/CalendarDataStorage.o
42 $(MAKE) calendardatastorage
45 forms: form_mainobjs form_preferencesobjs form_aboutobjs
47 xestiacal: mainobjs forms widgetsobjs commonobjs calendarlistobjs calendarobjs calendareventobjs
48 $(CPP) -Os $(MAINOBJS) $(FORM_MAINOBJS) $(FORM_PREFERENCESOBJS) \
49 $(FORM_ABOUTOBJS) $(WIDGETSOBJS) $(COMMONOBJS) $(CALENDARLISTOBJS) \
50 $(CALENDAROBJS) $(CALENDAREVENTOBJS) \
51 -o $(XCAL_OUT) $(CPPLIBS)
53 bitmaphelperobjs: $(BMCOOBJS)
55 bitmaphelper: bitmaphelperobjs
56 $(CPP) $(BMCO_CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP) $(BMCO_CPPLIBS)
60 find . -name "*.o" -type f -delete
61 find . -name "*.a" -type f -delete
66 form_mainobjs: $(FORM_MAINOBJS)
68 form_preferencesobjs: $(FORM_PREFERENCESOBJS)
70 form_aboutobjs: $(FORM_ABOUTOBJS)
72 widgetsobjs: $(WIDGETSOBJS)
74 commonobjs: $(COMMONOBJS)
76 calendarlistobjs: $(CALENDARLISTOBJS)
78 calendarobjs: $(CALENDAROBJS)
80 calendareventobjs: $(CALENDAREVENTOBJS)
83 g++ -c -ggdb --std=c++11 libraries/CalendarDataStorage/CalendarDataStorage.cpp -o libraries/CalendarDataStorage/CalendarDataStorage.o -lsqlite3
84 ar rcs libraries/libCalendarDataStorage.a libraries/CalendarDataStorage/CalendarDataStorage.o
88 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