3 CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags --libs` `curl-config --libs` -lmagic -lsfml-audio -lxml2 -std=c++11 @DBGOUT@
\r
8 BMCO_HELP=tools/bitmapcode.helper
\r
12 CEOBJS=contacteditor/frmContactEditor.o \
\r
13 contacteditor/frmContactEditor-Load.o \
\r
14 contacteditor/frmContactEditorNickname.o \
\r
15 contacteditor/frmContactEditorAddress.o \
\r
16 contacteditor/frmContactEditorEmail.o \
\r
17 contacteditor/frmContactEditorIM.o \
\r
18 contacteditor/frmContactEditorTelephone.o \
\r
19 contacteditor/frmContactEditorLanguages.o \
\r
20 contacteditor/frmContactEditorTimezones.o \
\r
21 contacteditor/frmContactEditorRelated.o \
\r
22 contacteditor/frmContactEditorWebsites.o \
\r
23 contacteditor/frmContactEditorGeoposition.o \
\r
24 contacteditor/frmContactEditorTitles.o \
\r
25 contacteditor/frmContactEditorRoles.o \
\r
26 contacteditor/frmContactEditorOrganisations.o \
\r
27 contacteditor/frmContactEditorNotes.o \
\r
28 contacteditor/frmContactEditorGroups.o \
\r
29 contacteditor/frmContactEditorPicture.o \
\r
30 contacteditor/frmContactEditorSound.o \
\r
31 contacteditor/frmContactEditorCategory.o \
\r
32 contacteditor/frmContactEditorCalAdr.o \
\r
33 contacteditor/frmContactEditorKey.o \
\r
34 contacteditor/frmContactEditorVendor.o \
\r
35 contacteditor/frmContactEditorXToken.o
\r
36 CARDDAVOBJS=carddav/carddav.o
\r
37 COMMONOBJS=common/base64.o common/preferences.o common/getcontactinfo.o \
\r
38 common/etag.o common/textprocessing.o common/timers.o common/events.o \
\r
39 common/filename.o common/defaults.o common/uuid.o common/svrblist.o \
\r
40 common/dirs.o common/mime.o
\r
41 IMEXOBJS=import/import.o import/import-vcard3.o import/import-vcard4.o \
\r
42 import/frmImportContacts.o import/frmImportResults.o \
\r
43 export/export.o export/export-vcard3.o export/export-vcard4.o
\r
44 SEARCHOBJS=search/XABSearchPanel.o search/frmSearchAccounts.o frmSearch.o
\r
45 VCARDOBJS=vcard/vcard.o vcard/vcard34conv.o
\r
46 FORMOBJS=AppXestiaAddrBk.o frmActivityMgr.o frmAbout.o frmMain.o \
\r
47 frmNewAccount.o frmPreferences.o frmContact.o frmConflictResolution.o \
\r
48 frmEditAccount.o frmInvalidSSLCertificate.o frmSSLCertificate.o \
\r
50 WIDGETOBJS=widgets/XABAccountView.o
\r
51 BMCOOBJS=tools/bitmapcode.o
\r
53 xestiaab: bitmaphelper formobjs widgetobjs commonobjs vcardobjs carddavobjs \
\r
54 ceobjs mainobjs searchobjs imexobjs
\r
55 $(CPP) $(CPPFLAGS) $(FORMOBJS) $(WIDGETOBJS) $(COMMONOBJS) \
\r
56 $(VCARDOBJS) $(CEOBJS) $(CARDDAVOBJS) $(SEARCHOBJS) $(MAINOBJS) $(IMEXOBJS) -o $(XAB_OUT)
\r
57 ifeq ($(DEBUG), false)
\r
58 $(STRIP) -s $(XAB_OUT)
\r
61 carddavobjs: $(CARDDAVOBJS)
\r
63 mainobjs: $(MAINOBJS)
\r
65 commonobjs: $(COMMONOBJS)
\r
67 vcardobjs: $(VCARDOBJS)
\r
71 formobjs: $(FORMOBJS)
\r
73 searchobjs: $(SEARCHOBJS)
\r
75 widgetobjs: $(WIDGETOBJS)
\r
77 imexobjs: $(IMEXOBJS)
\r
80 rm -f $(XAB_OUT) $(BMCO_HELP) tools/bitmapcode.o *.o \
\r
81 vcard/*.o common/*.o carddav/*.o contacteditor/*.o search/*.o \
\r
82 widgets/*.o export/*.o import/*.o
\r
85 rm -f Makefile config.status config.log bitmapsdone \
\r
86 tools/bitmapcode.helper bitmaps.h
\r
87 find bitmaps -name "*.cpp" -type f -delete
\r
88 find bitmaps -name "*.h" -type f -delete
\r
90 bitmaphelperobjs: $(BMCOOBJS)
\r
92 bitmaphelper: bitmaphelperobjs
\r
93 $(CPP) $(CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP)
\r
94 $(BMCO_HELP) bitmaps/
\r
97 cp $(XAB_OUT) @BINDIR@/$(XAB_OUT)
\r
100 rm @BINDIR@/$(XAB_OUT)
\r