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
9 BMCO_HELP=tools/bitmapcode.helper
\r
13 CEOBJS=contacteditor/frmContactEditor.o \
\r
14 contacteditor/frmContactEditor-Business.o \
\r
15 contacteditor/frmContactEditor-Calendar.o \
\r
16 contacteditor/frmContactEditor-Category.o \
\r
17 contacteditor/frmContactEditor-Events.o \
\r
18 contacteditor/frmContactEditor-General.o \
\r
19 contacteditor/frmContactEditor-Groups.o \
\r
20 contacteditor/frmContactEditor-Home.o \
\r
21 contacteditor/frmContactEditor-Init.o \
\r
22 contacteditor/frmContactEditor-Key.o \
\r
23 contacteditor/frmContactEditor-Logo.o \
\r
24 contacteditor/frmContactEditor-Other.o \
\r
25 contacteditor/frmContactEditor-Picture.o \
\r
26 contacteditor/frmContactEditor-Reset.o \
\r
27 contacteditor/frmContactEditor-Sound.o \
\r
28 contacteditor/frmContactEditor-Load.o \
\r
29 contacteditor/frmContactEditor-LoadAddress.o \
\r
30 contacteditor/frmContactEditor-LoadBADays.o \
\r
31 contacteditor/frmContactEditor-LoadCategory.o \
\r
32 contacteditor/frmContactEditor-LoadCalendar.o \
\r
33 contacteditor/frmContactEditor-LoadEmail.o \
\r
34 contacteditor/frmContactEditor-LoadGender.o \
\r
35 contacteditor/frmContactEditor-LoadGeo.o \
\r
36 contacteditor/frmContactEditor-LoadGroup.o \
\r
37 contacteditor/frmContactEditor-LoadIM.o \
\r
38 contacteditor/frmContactEditor-LoadKey.o \
\r
39 contacteditor/frmContactEditor-LoadLanguage.o \
\r
40 contacteditor/frmContactEditor-LoadLogo.o \
\r
41 contacteditor/frmContactEditor-LoadName.o \
\r
42 contacteditor/frmContactEditor-LoadNickname.o \
\r
43 contacteditor/frmContactEditor-LoadNote.o \
\r
44 contacteditor/frmContactEditor-LoadOrg.o \
\r
45 contacteditor/frmContactEditor-LoadPhoto.o \
\r
46 contacteditor/frmContactEditor-LoadRelated.o \
\r
47 contacteditor/frmContactEditor-LoadRole.o \
\r
48 contacteditor/frmContactEditor-LoadSound.o \
\r
49 contacteditor/frmContactEditor-LoadTelephone.o \
\r
50 contacteditor/frmContactEditor-LoadTimeZone.o \
\r
51 contacteditor/frmContactEditor-LoadTitle.o \
\r
52 contacteditor/frmContactEditor-LoadURL.o \
\r
53 contacteditor/frmContactEditor-Save.o \
\r
54 contacteditor/frmContactEditorNickname.o \
\r
55 contacteditor/frmContactEditorAddress.o \
\r
56 contacteditor/frmContactEditorEmail.o \
\r
57 contacteditor/frmContactEditorIM.o \
\r
58 contacteditor/frmContactEditorTelephone.o \
\r
59 contacteditor/frmContactEditorLanguages.o \
\r
60 contacteditor/frmContactEditorTimezones.o \
\r
61 contacteditor/frmContactEditorRelated.o \
\r
62 contacteditor/frmContactEditorWebsites.o \
\r
63 contacteditor/frmContactEditorGeoposition.o \
\r
64 contacteditor/frmContactEditorTitles.o \
\r
65 contacteditor/frmContactEditorRoles.o \
\r
66 contacteditor/frmContactEditorOrganisations.o \
\r
67 contacteditor/frmContactEditorNotes.o \
\r
68 contacteditor/frmContactEditorGroups.o \
\r
69 contacteditor/frmContactEditorPicture.o \
\r
70 contacteditor/frmContactEditorSound.o \
\r
71 contacteditor/frmContactEditorCategory.o \
\r
72 contacteditor/frmContactEditorCalAdr.o \
\r
73 contacteditor/frmContactEditorKey.o \
\r
74 contacteditor/frmContactEditorVendor.o \
\r
75 contacteditor/frmContactEditorXToken.o
\r
76 CARDDAVOBJS=carddav/carddav.o carddav/carddav-connect.o \
\r
77 carddav/carddav-contactlist.o carddav/carddav-defaultadrurl.o \
\r
78 carddav/carddav-processdata.o carddav/carddav-servercontact.o \
\r
79 carddav/carddav-serveretag.o carddav/carddav-sslverify.o
\r
80 COMMONOBJS=common/base64.o common/preferences.o common/getcontactinfo.o \
\r
81 common/etag.o common/textprocessing.o common/timers.o common/events.o \
\r
82 common/filename.o common/defaults.o common/uuid.o common/svrblist.o \
\r
83 common/dirs.o common/mime.o
\r
84 IMEXOBJS=import/import.o import/import-vcard3.o import/import-vcard4.o \
\r
85 import/frmImportContacts.o import/frmImportResults.o \
\r
86 export/export.o export/export-vcard3.o export/export-vcard4.o
\r
87 SEARCHOBJS=search/XABSearchPanel.o search/frmSearchAccounts.o frmSearch.o
\r
88 VCARDOBJS=vcard/vcard.o vcard/vcard34conv.o vcard/vcard34conv-v3conv.o \
\r
89 vcard/vcard34conv-v4conv.o
\r
90 FORMOBJS=AppXestiaAddrBk.o frmActivityMgr.o frmAbout.o frmMain.o \
\r
91 frmNewAccount.o frmPreferences.o frmContact.o frmConflictResolution.o \
\r
92 frmEditAccount.o frmInvalidSSLCertificate.o frmSSLCertificate.o \
\r
94 WIDGETOBJS=widgets/XABAccountView.o
\r
95 BMCOOBJS=tools/bitmapcode.o
\r
97 xestiaab: bitmaphelper formobjs widgetobjs commonobjs vcardobjs carddavobjs \
\r
98 ceobjs mainobjs searchobjs imexobjs
\r
99 $(CPP) $(CPPFLAGS) $(FORMOBJS) $(WIDGETOBJS) $(COMMONOBJS) \
\r
100 $(VCARDOBJS) $(CEOBJS) $(CARDDAVOBJS) $(SEARCHOBJS) $(MAINOBJS) $(IMEXOBJS) -o $(XAB_OUT) \
\r
102 ifeq ($(DEBUG), false)
\r
103 $(STRIP) -s $(XAB_OUT)
\r
106 carddavobjs: $(CARDDAVOBJS)
\r
108 mainobjs: $(MAINOBJS)
\r
110 commonobjs: $(COMMONOBJS)
\r
112 vcardobjs: $(VCARDOBJS)
\r
116 formobjs: $(FORMOBJS)
\r
118 searchobjs: $(SEARCHOBJS)
\r
120 widgetobjs: $(WIDGETOBJS)
\r
122 imexobjs: $(IMEXOBJS)
\r
125 rm -f $(XAB_OUT) $(BMCO_HELP) tools/bitmapcode.o *.o \
\r
126 vcard/*.o common/*.o carddav/*.o contacteditor/*.o search/*.o \
\r
127 widgets/*.o export/*.o import/*.o
\r
130 rm -f Makefile config.status config.log bitmapsdone \
\r
131 tools/bitmapcode.helper bitmaps.h
\r
132 find bitmaps -name "*.cpp" -type f -delete
\r
133 find bitmaps -name "*.h" -type f -delete
\r
135 bitmaphelperobjs: $(BMCOOBJS)
\r
137 bitmaphelper: bitmaphelperobjs
\r
138 $(CPP) $(CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP) $(CPPLIBS)
\r
139 $(BMCO_HELP) bitmaps/
\r
142 cp $(XAB_OUT) @BINDIR@/$(XAB_OUT)
\r
145 rm @BINDIR@/$(XAB_OUT)
\r