Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
f14543c51dd6fa3b06afe6bb11b96e2b17ba20a3
[xestiacalendar/.git] / source / Makefile.in
1 CPP=g++
2 STRIP=strip
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
7 CDSLIBS=-lsqlite3
8 MAKE=make
9 RM=rm
11 @DBGSTATUS@
12 XCAL_OUT=xestiacal
14 BMCO_HELP=tools/bitmapcode.helper
15 BMCO_DIR=../bitmaps
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 \
42  widgets/XCEventMenu.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
51 default:
52         $(MAKE) bitmaphelper
53         $(MAKE) calendardatastorage
54         $(MAKE) xestiacal
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)
75         $(BMCO_HELP) bitmaps/
76         
77 clean:
78         find . -name "*.o" -type f -delete
79         find . -name "*.a" -type f -delete
80         $(RM) -f ./xestiacal
81         
82 mainobjs: $(MAINOBJS)
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)
105         
106 commonobjs: $(COMMONOBJS)
108 calendarlistobjs: $(CALENDARLISTOBJS)
110 calendarobjs: $(CALENDAROBJS)
112 calendareventobjs: $(CALENDAREVENTOBJS)
114 caldavobjs: $(CALDAVOBJS)
116 calendardatastorage: 
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
120 test:
121         cd tests
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
123         cd ..
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy