Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
ContactLoad Unit Tests: Corrected compile errors
[xestiaab/.git] / source / tests / Makefile.in
1 CPP=g++
2 STRIP=strip
3 CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -I.. -std=c++11 -pthread -DXAB_UNITTEST @DBGOUT@
4 CPPLIBS=`wx-config --libs` `curl-config --libs` -lsfml-audio -lxml2 -lgtest
5 MAKE=make
6 OBJDIR=.
8 XABTEST_OUT=xestiaab_test
10 TESTOBJS=$(addprefix $(OBJDIR)/, ../contacteditor/cdo/ContactDataObject-unittest.o \
11  ../contacteditor/cdo/ContactDataObject-Save-unittest.o \
12  ../connobject/ConnectionObject-unittest.o \
13  classes/FakeConnectionObject-unittest.o \
14  ../convert-unittest.o \
15  ../common/textprocessing-unittest.o \
16  ../common/dirs-unittest.o \
17  ../common/filename-unittest.o \
18  ../common/mime-unittest.o \
19  ../common/svrblist-unittest.o \
20  ../vcard/vcard34conv-unittest.o \
21  ../vcard/vcard34conv-v3conv-unittest.o \
22  ../vcard/vcard34conv-v4conv-unittest.o \
23  ../vcard/vcard-unittest.o \
24  xestiaab_carddav.o \
25  xestiaab_test.o)
27 default: testobjs
28 @GTEST@
30 %.o: %.cpp
31         $(CPP) $(CPPFLAGS) -c -o $@ $<
32         
33 %-unittest.o: %.cpp
34         $(CPP) $(CPPFLAGS) -c -o $@ $<
35         
36 testobjs: $(TESTOBJS)
38 clean:
39         rm -rf *.o ../*-unittest.o $(XABTEST_OUT)
40         rm -rf ../contacteditor/cdo/*-unittest.o
41         rm -rf ../common/*-unittest.o
42         rm -rf ../vcard/*-unittest.o
43         rm -rf ../connobject/*-unittest.o
44         rm -rf classes/*-unittest.o
45         rm -rf SaveCheck-*
46         chmod 644 InvalidPermissions.vcf
47         
48 -include $(TESTOBJS:.o=.d)
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