comparison src/Makefile.am @ 95:ff1743cbe4aa

initial attempt at building a shared library
author Carl Byington <carl@five-ten-sg.com>
date Sat, 13 Sep 2008 20:15:40 -0700
parents 3cb02cb1e6cd
children 0f1492b7fe8b
comparison
equal deleted inserted replaced
94:997cf1373f9e 95:ff1743cbe4aa
7 7
8 lspst_SOURCES = $(hfiles) lspst.c libpst.c timeconv.c libstrfunc.c debug.c vbuf.c 8 lspst_SOURCES = $(hfiles) lspst.c libpst.c timeconv.c libstrfunc.c debug.c vbuf.c
9 readpst_SOURCES = $(hfiles) readpst.c libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c 9 readpst_SOURCES = $(hfiles) readpst.c libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c
10 readpstlog_SOURCES = $(hfiles) readpstlog.c debug.c 10 readpstlog_SOURCES = $(hfiles) readpstlog.c debug.c
11 pst2ldif_SOURCES = $(hfiles) pst2ldif.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c 11 pst2ldif_SOURCES = $(hfiles) pst2ldif.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c
12 pst2dii_SOURCES = $(hfiles) pst2dii.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c 12 pst2dii_SOURCES = $(hfiles) pst2dii.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c
13
14 deltasearch_SOURCES = deltasearch.cpp debug.c 13 deltasearch_SOURCES = deltasearch.cpp debug.c
15 dumpblocks_SOURCES = dumpblocks.c debug.c libpst.c libstrfunc.c timeconv.c vbuf.c 14 dumpblocks_SOURCES = dumpblocks.c debug.c libpst.c libstrfunc.c timeconv.c vbuf.c
16 getidblock_SOURCES = getidblock.c debug.c libpst.c libstrfunc.c timeconv.c vbuf.c 15 getidblock_SOURCES = getidblock.c debug.c libpst.c libstrfunc.c timeconv.c vbuf.c
16
17 if BUILD_LIBPST_SHARED
18 lspst_CFLAGS = $(AM_CFLAGS)
19 readpst_CFLAGS = $(AM_CFLAGS)
20 readpstlog_CFLAGS = $(AM_CFLAGS)
21 pst2ldif_CFLAGS = $(AM_CFLAGS)
22 pst2dii_CFLAGS = $(AM_CFLAGS)
23 deltasearch_CFLAGS = $(AM_CFLAGS)
24 dumpblocks_CFLAGS = $(AM_CFLAGS)
25 getidblock_CFLAGS = $(AM_CFLAGS)
26 lib_LTLIBRARIES = libpst.la
27 libpst_la_SOURCES = common.h \
28 debug.c \
29 libpst.c \
30 libpst.h \
31 libstrfunc.c \
32 libstrfunc.h \
33 lspst.c \
34 timeconv.c \
35 timeconv.h \
36 vbuf.c \
37 vbuf.h \
38 version.h
39 libpst_la_LDFLAGS = -no-undefined
40 libpstincludedir = $(includedir)/libpst
41 libpstinclude_HEADERS = common.h \
42 define.h \
43 libpst.h \
44 libstrfunc.h \
45 timeconv.h \
46 vbuf.h \
47 version.h
48 endif
17 49
18 if NEED_XGETOPT 50 if NEED_XGETOPT
19 lspst_SOURCES += XGetopt.c 51 lspst_SOURCES += XGetopt.c
20 readpst_SOURCES += XGetopt.c 52 readpst_SOURCES += XGetopt.c
21 readpstlog_SOURCES += XGetopt.c 53 readpstlog_SOURCES += XGetopt.c