summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcardparser/Makefile.am
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
commit7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch)
treec76702a7f6310fbe9d437e347535422e836e94e9 /tdeabc/vcardparser/Makefile.am
parenta2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff)
parent27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff)
downloadtdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz
tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'tdeabc/vcardparser/Makefile.am')
-rw-r--r--tdeabc/vcardparser/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/tdeabc/vcardparser/Makefile.am b/tdeabc/vcardparser/Makefile.am
new file mode 100644
index 000000000..20c6ed45d
--- /dev/null
+++ b/tdeabc/vcardparser/Makefile.am
@@ -0,0 +1,31 @@
+INCLUDES = -I$(top_builddir)/tdeabc -I$(top_srcdir)/tdeabc $(all_includes)
+
+noinst_LTLIBRARIES = libvcards.la
+libvcards_la_SOURCES = vcard.cpp vcardline.cpp vcardparser.cpp
+
+vcardsincludedir = $(includedir)/tdeabc
+vcardsinclude_HEADERS = vcard.h vcardline.h vcardparser.h
+
+check_PROGRAMS = testread testwrite testread2
+
+testread_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+testread_LDADD = libvcards.la $(top_builddir)/tdeabc/libkabc.la
+testread_SOURCES = testread.cpp
+
+testread2_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+testread2_LDADD = libvcards.la $(top_builddir)/tdeabc/libkabc.la
+testread2_SOURCES = testread2.cpp testutils.cpp
+
+testwrite_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+testwrite_LDADD = libvcards.la $(top_builddir)/tdeabc/libkabc.la
+testwrite_SOURCES = testwrite.cpp
+
+TESTFILES = vcard1.vcf vcard2.vcf vcard3.vcf vcard4.vcf vcard6.vcf vcard7.vcf
+
+check-local: testread
+ rm -f FAILED; \
+ for i in $(TESTFILES); \
+ do perl $(top_srcdir)/tdeabc/vcardparser/checkvcard.pl \
+ $(top_srcdir)/tdeabc/vcardparser/tests/$$i; \
+ done; \
+ [ ! -e FAILED ]