Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Merge branch 'master' of ssh://gelforn.xestia.co.uk/scmrepos/xestiaab
[xestiaab/.git] / source / Makefile.in
1 CPP=g++\r
2 STRIP=strip\r
3 CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 @DBGOUT@\r
4 CPPLIBS=`wx-config --libs` `curl-config --libs` -lsfml-audio -lxml2\r
5 MAKE=make\r
6 \r
7 @DBGSTATUS@\r
8 XAB_OUT=xestiaab\r
9 \r
10 BMCO_HELP=tools/bitmapcode.helper\r
11 BMCO_DIR=../bitmaps\r
12 \r
13 MAINOBJS=main.o convert.o\r
14 CEOBJS=contacteditor/frmContactEditor.o \\r
15  contacteditor/frmContactEditor-Business.o \\r
16  contacteditor/frmContactEditor-Calendar.o \\r
17  contacteditor/frmContactEditor-Category.o \\r
18  contacteditor/frmContactEditor-Events.o \\r
19  contacteditor/frmContactEditor-General.o \\r
20  contacteditor/frmContactEditor-Groups.o \\r
21  contacteditor/frmContactEditor-Home.o \\r
22  contacteditor/frmContactEditor-Init.o \\r
23  contacteditor/frmContactEditor-Key.o \\r
24  contacteditor/frmContactEditor-Logo.o \\r
25  contacteditor/frmContactEditor-Other.o \\r
26  contacteditor/frmContactEditor-Picture.o \\r
27  contacteditor/frmContactEditor-Reset.o \\r
28  contacteditor/frmContactEditor-Sound.o \\r
29  contacteditor/frmContactEditor-Load.o \\r
30  contacteditor/frmContactEditor-Save.o \\r
31  contacteditor/frmContactEditorNickname.o \\r
32  contacteditor/frmContactEditorAddress.o \\r
33  contacteditor/frmContactEditorEmail.o \\r
34  contacteditor/frmContactEditorIM.o \\r
35  contacteditor/frmContactEditorTelephone.o \\r
36  contacteditor/frmContactEditorLanguages.o \\r
37  contacteditor/frmContactEditorTimezones.o \\r
38  contacteditor/frmContactEditorRelated.o \\r
39  contacteditor/frmContactEditorWebsites.o \\r
40  contacteditor/frmContactEditorGeoposition.o \\r
41  contacteditor/frmContactEditorTitles.o \\r
42  contacteditor/frmContactEditorRoles.o \\r
43  contacteditor/frmContactEditorOrganisations.o \\r
44  contacteditor/frmContactEditorNotes.o \\r
45  contacteditor/frmContactEditorGroups.o \\r
46  contacteditor/frmContactEditorPicture.o \\r
47  contacteditor/frmContactEditorSound.o \\r
48  contacteditor/frmContactEditorCategory.o \\r
49  contacteditor/frmContactEditorCalAdr.o \\r
50  contacteditor/frmContactEditorKey.o \\r
51  contacteditor/frmContactEditorVendor.o \\r
52  contacteditor/frmContactEditorXToken.o\r
53 CDOOBJS=contacteditor/cdo/ContactDataObject.o \\r
54  contacteditor/cdo/ContactDataObject-Save.o\r
55 CARDDAVOBJS=carddav/carddav.o carddav/carddav-connect.o \\r
56  carddav/carddav-contactlist.o carddav/carddav-defaultadrurl.o \\r
57  carddav/carddav-processdata.o carddav/carddav-servercontact.o \\r
58  carddav/carddav-serveretag.o carddav/carddav-sslverify.o\r
59 COMMONOBJS=common/base64.o common/preferences.o common/getcontactinfo.o \\r
60  common/etag.o common/textprocessing.o common/timers.o common/events.o \\r
61  common/filename.o common/defaults.o common/uuid.o common/svrblist.o \\r
62  common/dirs.o common/mime.o\r
63 IMEXOBJS=import/import.o import/import-vcard3.o import/import-vcard4.o \\r
64  import/frmImportContacts.o import/frmImportResults.o \\r
65  export/export.o export/export-vcard3.o export/export-vcard4.o\r
66 SEARCHOBJS=search/XABSearchPanel.o search/frmSearchAccounts.o search/frmSearch.o \\r
67  search/frmSearch-result.o search/frmSearch-contact.o \\r
68  search/frmSearch-process.o\r
69 VCARDOBJS=vcard/vcard.o vcard/vcard34conv.o vcard/vcard34conv-v3conv.o \\r
70  vcard/vcard34conv-v4conv.o\r
71 ACTMGROBJS=actmgr/frmActivityMgr.o actmgr/frmActivityMgr-tasks.o\r
72 FORMOBJS=AppXestiaAddrBk.o frmAbout.o frmMain.o \\r
73  frmNewAccount.o frmPreferences.o frmContact.o frmConflictResolution.o \\r
74  frmEditAccount.o frmInvalidSSLCertificate.o frmSSLCertificate.o \\r
75  frmUpdate.o\r
76 WIDGETOBJS=widgets/XABAccountView.o widgets/XABContactMenu.o\r
77 BMCOOBJS=tools/bitmapcode.o\r
78 \r
79 default:\r
80         $(MAKE) bitmaphelper\r
81         $(MAKE) xestiaab\r
82 \r
83 xestiaab: actmgrobjs formobjs widgetobjs commonobjs vcardobjs \\r
84         carddavobjs ceobjs cdoobjs mainobjs searchobjs imexobjs \r
85         $(CPP) $(CPPFLAGS) $(ACTMGROBJS) $(FORMOBJS) $(WIDGETOBJS) \\r
86         $(COMMONOBJS) $(VCARDOBJS) $(CEOBJS) $(CDOOBJS) $(CARDDAVOBJS) \\r
87         $(SEARCHOBJS) $(MAINOBJS) $(IMEXOBJS) -o $(XAB_OUT) $(CPPLIBS)\r
88 ifeq ($(DEBUG), false)\r
89         $(STRIP) -s $(XAB_OUT)\r
90 endif\r
91 \r
92 actmgrobjs: $(ACTMGROBJS)\r
93 \r
94 carddavobjs: $(CARDDAVOBJS)\r
95 \r
96 mainobjs: $(MAINOBJS)\r
97 \r
98 commonobjs: $(COMMONOBJS)\r
99 \r
100 vcardobjs: $(VCARDOBJS)\r
101 \r
102 ceobjs: $(CEOBJS)       \r
103 \r
104 cdoobjs: $(CDOOBJS)\r
105 \r
106 formobjs: $(FORMOBJS)\r
107 \r
108 searchobjs: $(SEARCHOBJS)\r
109 \r
110 widgetobjs: $(WIDGETOBJS)\r
111 \r
112 imexobjs: $(IMEXOBJS)\r
113 \r
114 clean:\r
115         rm -f $(XAB_OUT) $(BMCO_HELP) tools/bitmapcode.o *.o \\r
116         vcard/*.o common/*.o carddav/*.o contacteditor/*.o search/*.o \\r
117         widgets/*.o export/*.o import/*.o actmgr/*.o contacteditor/cdo/*.o \\r
118         tests/Temp* tests/*.o tests/$(XAB_OUT)_test\r
119 \r
120 distclean: clean\r
121         rm -f Makefile tests/Makefile \\r
122         config.status config.log bitmapsdone \\r
123         tools/bitmapcode.helper bitmaps.h\r
124         find bitmaps -name "*.cpp" -type f -delete\r
125         find bitmaps -name "*.h" -type f -delete\r
126         chmod 644 tests/InvalidPermissions.vcf\r
127 \r
128 bitmaphelperobjs: $(BMCOOBJS)\r
129 \r
130 bitmaphelper: bitmaphelperobjs\r
131         $(CPP) $(CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP) $(CPPLIBS)\r
132         $(BMCO_HELP) bitmaps/\r
133 \r
134 install:\r
135         cp $(XAB_OUT) @BINDIR@/$(XAB_OUT)\r
136 \r
137 uninstall:\r
138         rm @BINDIR@/$(XAB_OUT)\r
139 \r
140 test:\r
141         @echo "To build and run the unit tests, run 'make' from the tests directory."\r
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