Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
macOS: Ignore certain directories within the Xcode project
[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         $(FORM_INVALIDSSLCERTOBJS) \
68         $(WIDGETSOBJS) $(COMMONOBJS) $(CALENDARLISTOBJS) $(CALENDAROBJS) \
69         $(CALENDAREVENTOBJS) $(CALDAVOBJS) \
70         -o $(XCAL_OUT) $(CPPLIBS)
72 bitmaphelperobjs: $(BMCOOBJS)
74 bitmaphelper: bitmaphelperobjs
75         $(CPP) $(BMCO_CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP) $(BMCO_CPPLIBS)
76         $(BMCO_HELP) bitmaps/
77         
78 clean:
79         find . -name "*.o" -type f -delete
80         find . -name "*.a" -type f -delete
81         $(RM) -f ./xestiacal
82         
83 mainobjs: $(MAINOBJS)
85 form_mainobjs: $(FORM_MAINOBJS)
87 form_updateobjs: $(FORM_UPDATEOBJS)
89 form_editaccountobjs: $(FORM_EDITACCOUNTOBJS)
91 form_newaccountobjs: $(FORM_NEWACCOUNTOBJS)
93 form_calendareditorobjs: $(FORM_CALENDAREDITOROBJS)
95 form_eventeditorobjs: $(FORM_EVENTEDITOROBJS)
97 form_preferencesobjs: $(FORM_PREFERENCESOBJS)
99 form_aboutobjs: $(FORM_ABOUTOBJS)
101 form_actmgrobjs: $(FORM_ACTMGROBJS)
103 form_invalidsslcertificateobjs: $(FORM_INVALIDSSLCERTOBJS)
105 widgetsobjs: $(WIDGETSOBJS)
106         
107 commonobjs: $(COMMONOBJS)
109 calendarlistobjs: $(CALENDARLISTOBJS)
111 calendarobjs: $(CALENDAROBJS)
113 calendareventobjs: $(CALENDAREVENTOBJS)
115 caldavobjs: $(CALDAVOBJS)
117 calendardatastorage: 
118         g++ -c -ggdb --std=c++11 libraries/CalendarDataStorage/CalendarDataStorage.cpp -o libraries/CalendarDataStorage/CalendarDataStorage.o -lsqlite3
119         ar rcs libraries/libCalendarDataStorage.a libraries/CalendarDataStorage/CalendarDataStorage.o
121 test:
122         cd tests
123         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
124         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