annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
e5418051878c switch to automake/autoconf
carl
parents: 16
diff changeset
1 hfiles = $(wildcard *.h)
34
07177825c91b fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents: 21
diff changeset
2 bin_PROGRAMS = lspst readpst readpstlog pst2ldif
63
cfd6175f9334 Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents: 59
diff changeset
3 if BUILD_DII
cfd6175f9334 Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents: 59
diff changeset
4 bin_PROGRAMS += pst2dii
cfd6175f9334 Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents: 59
diff changeset
5 endif
34
07177825c91b fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents: 21
diff changeset
6 noinst_PROGRAMS = deltasearch dumpblocks getidblock
07177825c91b fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents: 21
diff changeset
7
73
3cb02cb1e6cd Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them).
Carl Byington <carl@five-ten-sg.com>
parents: 63
diff changeset
8 lspst_SOURCES = $(hfiles) lspst.c libpst.c timeconv.c libstrfunc.c debug.c vbuf.c
3cb02cb1e6cd Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them).
Carl Byington <carl@five-ten-sg.com>
parents: 63
diff changeset
9 readpst_SOURCES = $(hfiles) readpst.c libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c
63
cfd6175f9334 Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents: 59
diff changeset
10 readpstlog_SOURCES = $(hfiles) readpstlog.c debug.c
73
3cb02cb1e6cd Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them).
Carl Byington <carl@five-ten-sg.com>
parents: 63
diff changeset
11 pst2ldif_SOURCES = $(hfiles) pst2ldif.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c
95
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
12 pst2dii_SOURCES = $(hfiles) pst2dii.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c
34
07177825c91b fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents: 21
diff changeset
13 deltasearch_SOURCES = deltasearch.cpp debug.c
73
3cb02cb1e6cd Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them).
Carl Byington <carl@five-ten-sg.com>
parents: 63
diff changeset
14 dumpblocks_SOURCES = dumpblocks.c debug.c libpst.c libstrfunc.c timeconv.c vbuf.c
3cb02cb1e6cd Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them).
Carl Byington <carl@five-ten-sg.com>
parents: 63
diff changeset
15 getidblock_SOURCES = getidblock.c debug.c libpst.c libstrfunc.c timeconv.c vbuf.c
34
07177825c91b fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents: 21
diff changeset
16
95
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
17 if BUILD_LIBPST_SHARED
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
18 lspst_CFLAGS = $(AM_CFLAGS)
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
19 readpst_CFLAGS = $(AM_CFLAGS)
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
20 readpstlog_CFLAGS = $(AM_CFLAGS)
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
21 pst2ldif_CFLAGS = $(AM_CFLAGS)
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
22 pst2dii_CFLAGS = $(AM_CFLAGS)
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
23 deltasearch_CFLAGS = $(AM_CFLAGS)
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
24 dumpblocks_CFLAGS = $(AM_CFLAGS)
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
25 getidblock_CFLAGS = $(AM_CFLAGS)
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
26 lib_LTLIBRARIES = libpst.la
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
27 libpst_la_SOURCES = common.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
28 debug.c \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
29 libpst.c \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
30 libpst.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
31 libstrfunc.c \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
32 libstrfunc.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
33 lspst.c \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
34 timeconv.c \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
35 timeconv.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
36 vbuf.c \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
37 vbuf.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
38 version.h
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
39 libpst_la_LDFLAGS = -no-undefined
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
40 libpstincludedir = $(includedir)/libpst
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
41 libpstinclude_HEADERS = common.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
42 define.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
43 libpst.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
44 libstrfunc.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
45 timeconv.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
46 vbuf.h \
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
47 version.h
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
48 endif
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents: 73
diff changeset
49
59
7d5c637aaafb General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents: 43
diff changeset
50 if NEED_XGETOPT
7d5c637aaafb General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents: 43
diff changeset
51 lspst_SOURCES += XGetopt.c
7d5c637aaafb General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents: 43
diff changeset
52 readpst_SOURCES += XGetopt.c
7d5c637aaafb General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents: 43
diff changeset
53 readpstlog_SOURCES += XGetopt.c
7d5c637aaafb General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents: 43
diff changeset
54 pst2ldif_SOURCES += XGetopt.c
63
cfd6175f9334 Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents: 59
diff changeset
55 pst2dii_SOURCES += XGetopt.c
59
7d5c637aaafb General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents: 43
diff changeset
56 endif
7d5c637aaafb General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents: 43
diff changeset
57
34
07177825c91b fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents: 21
diff changeset
58 EXTRA_DIST = testdebug.c
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
59
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
60 # set the include path found by configure
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
61 INCLUDES= $(all_includes)
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
62
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
63 # the library search path.
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
64 lspst_LDFLAGS = $(all_libraries)
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
65 readpst_LDFLAGS = $(all_libraries)
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
66 readpstlog_LDFLAGS = $(all_libraries)
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
67 pst2ldif_LDFLAGS = $(all_libraries)
63
cfd6175f9334 Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents: 59
diff changeset
68 pst2dii_LDFLAGS = $(all_libraries) -lgd -lpng -lz -lfreetype -lm
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
69