Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
updateversion.pl: Update versions in files as needed
[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 FORM_UPDATEOBJS=forms/update/frmUpdate.o
24 FORM_EDITACCOUNTOBJS=forms/editaccount/frmEditAccount.o
25 FORM_NEWACCOUNTOBJS=forms/newaccount/frmNewAccount.o
26 FORM_CALENDAREDITOROBJS=forms/calendareditor/frmCalendarEditor.o
27 FORM_EVENTEDITOROBJS=forms/eventeditor/frmEventEditor.o
28 FORM_PREFERENCESOBJS=forms/preferences/frmPreferences.o
29 FORM_ABOUTOBJS=forms/about/frmAbout.o
30 WIDGETSOBJS=widgets/XCCalendarCtrl.o widgets/XCCalendarDay.o \
31  widgets/XCCalendarDayEntry.o widgets/XCCalendarMonthView.o \
32  widgets/XCCalendarMonthViewDayTitle.o \
33  widgets/XCCalendarManipulator.o \
34  widgets/XCCalendarMonthSelect.o \
35  widgets/XCCalendarList.o \
36  widgets/XCCalendarListAccountCtrl.o \
37  widgets/XCCalendarListCalendarCtrl.o \
38  widgets/XCCalendarMenu.o \
39  widgets/XCEventMenu.o
40 CALENDARLISTOBJS=objects/calendarlist/CalendarList.o
41 CALENDAROBJS=objects/calendarobject/CalendarObject-Save.o \
42  objects/calendarobject/CalendarObject.o
43 CALENDAREVENTOBJS=objects/calendarevent/CalendarEvent-Save.o \
44  objects/calendarevent/CalendarEvent.o
45 CDSOBJS=libraries/CalendarDataStorage/CalendarDataStorage.o
47 default:
48         $(MAKE) bitmaphelper
49         $(MAKE) calendardatastorage
50         $(MAKE) xestiacal
52 forms: form_mainobjs form_editaccountobjs form_newaccountobjs \
53         form_preferencesobjs form_aboutobjs form_updateobjs \
54         form_calendareditorobjs form_eventeditorobjs
56 xestiacal: mainobjs forms widgetsobjs commonobjs calendarlistobjs calendarobjs calendareventobjs
57         $(CPP) -Os $(MAINOBJS) $(FORM_MAINOBJS) $(FORM_PREFERENCESOBJS) \
58         $(FORM_ABOUTOBJS) $(FORM_UPDATEOBJS) $(FORM_EDITACCOUNTOBJS) \
59         $(FORM_NEWACCOUNTOBJS) $(FORM_CALENDAREDITOROBJS) \
60         $(FORM_EVENTEDITOROBJS) \
61         $(WIDGETSOBJS) $(COMMONOBJS) $(CALENDARLISTOBJS) $(CALENDAROBJS) \
62         $(CALENDAREVENTOBJS) \
63         -o $(XCAL_OUT) $(CPPLIBS)
65 bitmaphelperobjs: $(BMCOOBJS)
67 bitmaphelper: bitmaphelperobjs
68         $(CPP) $(BMCO_CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP) $(BMCO_CPPLIBS)
69         $(BMCO_HELP) bitmaps/
70         
71 clean:
72         find . -name "*.o" -type f -delete
73         find . -name "*.a" -type f -delete
74         $(RM) -f ./xestiacal
75         
76 mainobjs: $(MAINOBJS)
78 form_mainobjs: $(FORM_MAINOBJS)
80 form_updateobjs: $(FORM_UPDATEOBJS)
82 form_editaccountobjs: $(FORM_EDITACCOUNTOBJS)
84 form_newaccountobjs: $(FORM_NEWACCOUNTOBJS)
86 form_calendareditorobjs: $(FORM_CALENDAREDITOROBJS)
88 form_eventeditorobjs: $(FORM_EVENTEDITOROBJS)
90 form_preferencesobjs: $(FORM_PREFERENCESOBJS)
92 form_aboutobjs: $(FORM_ABOUTOBJS)
94 widgetsobjs: $(WIDGETSOBJS)
95         
96 commonobjs: $(COMMONOBJS)
98 calendarlistobjs: $(CALENDARLISTOBJS)
100 calendarobjs: $(CALENDAROBJS)
102 calendareventobjs: $(CALENDAREVENTOBJS)
104 calendardatastorage: 
105         g++ -c -ggdb --std=c++11 libraries/CalendarDataStorage/CalendarDataStorage.cpp -o libraries/CalendarDataStorage/CalendarDataStorage.o -lsqlite3
106         ar rcs libraries/libCalendarDataStorage.a libraries/CalendarDataStorage/CalendarDataStorage.o
108 test:
109         cd tests
110         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
111         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