Mercurial > libpst
annotate src/Makefile.am @ 119:f50f4321aa2d
fix include file path
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 31 Jan 2009 12:23:46 -0800 |
parents | 0f1492b7fe8b |
children | bdb38b434c0a |
rev | line source |
---|---|
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
1 if OS_WIN32 |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
2 ICONVLIB = -liconv |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
3 else |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
4 ICONVLIB = |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
5 endif |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
6 |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
7 if STATIC_TOOLS |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
8 PSTLIB=@PST_OBJDIR@/libpst.a |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
9 else |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
10 PSTLIB=libpst.la |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
11 endif |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
12 |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
13 common_header = common.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
14 define.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
15 libpst.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
16 libstrfunc.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
17 lzfu.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
18 timeconv.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
19 vbuf.h |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
20 |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
21 common_source = debug.c \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
22 libpst.c \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
23 libstrfunc.c \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
24 lzfu.c \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
25 timeconv.c \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
26 vbuf.c |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
27 |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
28 if NEED_XGETOPT |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
29 common_source += XGetopt.c |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
30 endif |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
31 |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
32 noinst_PROGRAMS = deltasearch dumpblocks getidblock |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
21
diff
changeset
|
33 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
|
34 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
|
35 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
|
36 endif |
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
37 lspst_SOURCES = lspst.c $(common_header) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
38 readpst_SOURCES = readpst.c $(common_header) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
39 readpstlog_SOURCES = readpstlog.c $(common_header) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
40 pst2ldif_SOURCES = pst2ldif.cpp $(common_header) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
41 pst2dii_SOURCES = pst2dii.cpp $(common_header) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
42 deltasearch_SOURCES = deltasearch.cpp $(common_header) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
43 dumpblocks_SOURCES = dumpblocks.c $(common_header) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
44 getidblock_SOURCES = getidblock.c $(common_header) |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
21
diff
changeset
|
45 |
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
46 lspst_CFLAGS = $(AM_CFLAGS) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
47 readpst_CFLAGS = $(AM_CFLAGS) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
48 readpstlog_CFLAGS = $(AM_CFLAGS) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
49 pst2ldif_CFLAGS = $(AM_CFLAGS) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
50 pst2dii_CFLAGS = $(AM_CFLAGS) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
51 deltasearch_CFLAGS = $(AM_CFLAGS) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
52 dumpblocks_CFLAGS = $(AM_CFLAGS) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
53 getidblock_CFLAGS = $(AM_CFLAGS) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
54 |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
55 if STATIC_TOOLS |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
56 noinst_LTLIBRARIES = libpst.la |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
57 else |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
58 lib_LTLIBRARIES = libpst.la |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
59 libpstincludedir = $(includedir)/libpst |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
60 libpstinclude_HEADERS = \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
61 common.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
62 define.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
63 libpst.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
64 libstrfunc.h\ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
65 timeconv.h \ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
66 vbuf.h |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
67 libpst_la_LDFLAGS = -no-undefined -version-info 1:0:0 |
95
ff1743cbe4aa
initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
73
diff
changeset
|
68 endif |
ff1743cbe4aa
initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
73
diff
changeset
|
69 |
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
70 libpst_la_SOURCES = $(common_source) $(common_header) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
71 libpst_la_LIBADD = $(ICONVLIB) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
72 |
59
7d5c637aaafb
General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents:
43
diff
changeset
|
73 |
34
07177825c91b
fix signed/unsigned to allow very small pst files with only leaf nodes
carl
parents:
21
diff
changeset
|
74 EXTRA_DIST = testdebug.c |
16 | 75 |
76 # set the include path found by configure | |
119 | 77 INCLUDES= -I$(srcdir)/.. $(all_includes) |
16 | 78 |
79 # the library search path. | |
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
80 lspst_LDADD = $(all_libraries) $(PSTLIB) $(ICONVLIB) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
81 readpst_LDADD = $(all_libraries) $(PSTLIB) $(ICONVLIB) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
82 readpstlog_LDADD = $(all_libraries) $(PSTLIB) $(ICONVLIB) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
83 pst2ldif_LDADD = $(all_libraries) $(PSTLIB) $(ICONVLIB) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
84 pst2dii_LDADD = $(all_libraries) $(PSTLIB) $(ICONVLIB) -lgd |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
85 dumpblocks_LDADD = $(all_libraries) $(PSTLIB) $(ICONVLIB) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
86 getidblock_LDADD = $(all_libraries) $(PSTLIB) $(ICONVLIB) |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
95
diff
changeset
|
87 deltasearch_LDADD = $(all_libraries) $(PSTLIB) $(ICONVLIB) |