summaryrefslogtreecommitdiffstats
path: root/kabc/vcardparser/Makefile.am
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /kabc/vcardparser/Makefile.am
downloadtdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz
tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/vcardparser/Makefile.am')
-rw-r--r--kabc/vcardparser/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/kabc/vcardparser/Makefile.am b/kabc/vcardparser/Makefile.am
new file mode 100644
index 000000000..42e55cb4b
--- /dev/null
+++ b/kabc/vcardparser/Makefile.am
@@ -0,0 +1,31 @@
+INCLUDES = -I$(top_builddir)/kabc -I$(top_srcdir)/kabc $(all_includes)
+
+noinst_LTLIBRARIES = libvcards.la
+libvcards_la_SOURCES = vcard.cpp vcardline.cpp vcardparser.cpp
+
+vcardsincludedir = $(includedir)/kabc
+vcardsinclude_HEADERS = vcard.h vcardline.h vcardparser.h
+
+check_PROGRAMS = testread testwrite testread2
+
+testread_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testread_LDADD = libvcards.la $(top_builddir)/kabc/libkabc.la
+testread_SOURCES = testread.cpp
+
+testread2_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testread2_LDADD = libvcards.la $(top_builddir)/kabc/libkabc.la
+testread2_SOURCES = testread2.cpp testutils.cpp
+
+testwrite_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testwrite_LDADD = libvcards.la $(top_builddir)/kabc/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)/kabc/vcardparser/checkvcard.pl \
+ $(top_srcdir)/kabc/vcardparser/tests/$$i; \
+ done; \
+ [ ! -e FAILED ]