summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-12-13 00:44:17 +0100
committerGravatar Nikias Bassen2013-12-13 00:44:17 +0100
commita798afc8b5b00a43f4b121168e0419df2d398338 (patch)
treec178d7a149028944254511d03f91266ca43cfcbd /src/Makefile.am
parent3b7647499474619b3e24bf01105b6b037887a0ed (diff)
downloadlibplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.gz
libplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.bz2
change build system to autotools
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..16cf655
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,47 @@
1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) -I$(top_srcdir)/libcnary/include
2
3AM_CFLAGS = $(GLOBAL_CFLAGS) $(libxml2_CFLAGS)
4AM_LDFLAGS = $(libxml2_LIBS)
5
6lib_LTLIBRARIES = libplist.la libplist++.la
7libplist_la_LIBADD = $(top_srcdir)/libcnary/libcnary.la
8libplist_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined
9libplist_la_SOURCES = base64.c base64.h \
10 bytearray.c bytearray.h \
11 hashtable.c hashtable.h \
12 ptrarray.c ptrarray.h \
13 xplist.c xplist.h \
14 bplist.c bplist.h \
15 plist.c plist.h \
16 common.h
17
18libplist___la_LIBADD = libplist.la
19libplist___la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined
20libplist___la_SOURCES = Node.cpp \
21 Structure.cpp \
22 Array.cpp \
23 Boolean.cpp \
24 Data.cpp \
25 Date.cpp \
26 Dictionary.cpp \
27 Integer.cpp \
28 Key.cpp \
29 Real.cpp \
30 String.cpp \
31 Uid.cpp \
32 $(top_srcdir)/include/plist/Node.h \
33 $(top_srcdir)/include/plist/Structure.h \
34 $(top_srcdir)/include/plist/Array.h \
35 $(top_srcdir)/include/plist/Boolean.h \
36 $(top_srcdir)/include/plist/Data.h \
37 $(top_srcdir)/include/plist/Date.h \
38 $(top_srcdir)/include/plist/Dictionary.h \
39 $(top_srcdir)/include/plist/Integer.h \
40 $(top_srcdir)/include/plist/Key.h \
41 $(top_srcdir)/include/plist/Real.h \
42 $(top_srcdir)/include/plist/String.h \
43 $(top_srcdir)/include/plist/Uid.h
44
45if WIN32
46libplist_la_LDFLAGS += -avoid-version
47endif