+++ /dev/null
-CPP=g++
-STRIP=strip
-BMCO_CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 -I./common -ggdb
-CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 -I./common -ggdb
-BMCO_CPPLIBS=`wx-config --libs` `curl-config --libs` -lxml2
-CPPLIBS=`wx-config --libs` `curl-config --libs` -lxml2 -Llibraries -lCalendarDataStorage -lsqlite3
-CDSLIBS=-lsqlite3
-MAKE=make
-RM=rm
-
-DEBUG=false
-XCAL_OUT=xestiacal
-
-BMCO_HELP=tools/bitmapcode.helper
-BMCO_DIR=../bitmaps
-
-MAINOBJS=main.o AppXestiaCalendar.o
-BMCOOBJS=tools/bitmapcode.o
-COMMONOBJS=common/monthviewgen.o common/file.o common/text.o \
- common/uuid.o common/preferences.o common/dirs.o common/defaults.o \
- common/random.o common/svrblist.o
-FORM_MAINOBJS=forms/main/frmMain.o forms/main/frmMain-Window.o
-FORM_UPDATEOBJS=forms/update/frmUpdate.o
-FORM_EDITACCOUNTOBJS=forms/editaccount/frmEditAccount.o
-FORM_NEWACCOUNTOBJS=forms/newaccount/frmNewAccount.o
-FORM_CALENDAREDITOROBJS=forms/calendareditor/frmCalendarEditor.o
-FORM_EVENTEDITOROBJS=forms/eventeditor/frmEventEditor.o
-FORM_PREFERENCESOBJS=forms/preferences/frmPreferences.o
-FORM_ABOUTOBJS=forms/about/frmAbout.o
-WIDGETSOBJS=widgets/XCCalendarCtrl.o widgets/XCCalendarDay.o \
- widgets/XCCalendarDayEntry.o widgets/XCCalendarMonthView.o \
- widgets/XCCalendarMonthViewDayTitle.o \
- widgets/XCCalendarManipulator.o \
- widgets/XCCalendarMonthSelect.o \
- widgets/XCCalendarList.o \
- widgets/XCCalendarListAccountCtrl.o \
- widgets/XCCalendarListCalendarCtrl.o \
- widgets/XCCalendarMenu.o \
- widgets/XCEventMenu.o
-CALENDARLISTOBJS=objects/calendarlist/CalendarList.o
-CALENDAROBJS=objects/calendarobject/CalendarObject-Save.o \
- objects/calendarobject/CalendarObject.o
-CALENDAREVENTOBJS=objects/calendarevent/CalendarEvent-Save.o \
- objects/calendarevent/CalendarEvent.o
-CDSOBJS=libraries/CalendarDataStorage/CalendarDataStorage.o
-
-default:
- $(MAKE) bitmaphelper
- $(MAKE) calendardatastorage
- $(MAKE) xestiacal
-
-forms: form_mainobjs form_editaccountobjs form_newaccountobjs \
- form_preferencesobjs form_aboutobjs form_updateobjs \
- form_calendareditorobjs form_eventeditorobjs
-
-xestiacal: mainobjs forms widgetsobjs commonobjs calendarlistobjs calendarobjs calendareventobjs
- $(CPP) -Os $(MAINOBJS) $(FORM_MAINOBJS) $(FORM_PREFERENCESOBJS) \
- $(FORM_ABOUTOBJS) $(FORM_UPDATEOBJS) $(FORM_EDITACCOUNTOBJS) \
- $(FORM_NEWACCOUNTOBJS) $(FORM_CALENDAREDITOROBJS) \
- $(FORM_EVENTEDITOROBJS) \
- $(WIDGETSOBJS) $(COMMONOBJS) $(CALENDARLISTOBJS) $(CALENDAROBJS) \
- $(CALENDAREVENTOBJS) \
- -o $(XCAL_OUT) $(CPPLIBS)
-
-bitmaphelperobjs: $(BMCOOBJS)
-
-bitmaphelper: bitmaphelperobjs
- $(CPP) $(BMCO_CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP) $(BMCO_CPPLIBS)
- $(BMCO_HELP) bitmaps/
-
-clean:
- find . -name "*.o" -type f -delete
- find . -name "*.a" -type f -delete
- $(RM) -f ./xestiacal
-
-mainobjs: $(MAINOBJS)
-
-form_mainobjs: $(FORM_MAINOBJS)
-
-form_updateobjs: $(FORM_UPDATEOBJS)
-
-form_editaccountobjs: $(FORM_EDITACCOUNTOBJS)
-
-form_newaccountobjs: $(FORM_NEWACCOUNTOBJS)
-
-form_calendareditorobjs: $(FORM_CALENDAREDITOROBJS)
-
-form_eventeditorobjs: $(FORM_EVENTEDITOROBJS)
-
-form_preferencesobjs: $(FORM_PREFERENCESOBJS)
-
-form_aboutobjs: $(FORM_ABOUTOBJS)
-
-widgetsobjs: $(WIDGETSOBJS)
-
-commonobjs: $(COMMONOBJS)
-
-calendarlistobjs: $(CALENDARLISTOBJS)
-
-calendarobjs: $(CALENDAROBJS)
-
-calendareventobjs: $(CALENDAREVENTOBJS)
-
-calendardatastorage:
- g++ -c -ggdb --std=c++11 libraries/CalendarDataStorage/CalendarDataStorage.cpp -o libraries/CalendarDataStorage/CalendarDataStorage.o -lsqlite3
- ar rcs libraries/libCalendarDataStorage.a libraries/CalendarDataStorage/CalendarDataStorage.o
-
-test:
- cd tests
- 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
- cd ..