Mercurial > libpst
annotate src/Makefile.am @ 247:85d77d7b034b
another patche from Kenneth Berland for solaris
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 07 May 2010 12:07:46 -0700 |
parents | 2f38c4ce606f |
children | 0893fdbb3c03 |
rev | line source |
---|---|
122
bdb38b434c0a
more changes from Fridrich Strba to avoid installing our config.h
Carl Byington <carl@five-ten-sg.com>
parents:
119
diff
changeset
|
1 if PLATFORM_WIN32 |
140
fc6c54c453e5
patch from Fridrich Strba for dll build on mingw and cygwin
Carl Byington <carl@five-ten-sg.com>
parents:
133
diff
changeset
|
2 NO_UNDEFINED = -no-undefined |
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
|
3 else |
140
fc6c54c453e5
patch from Fridrich Strba for dll build on mingw and cygwin
Carl Byington <carl@five-ten-sg.com>
parents:
133
diff
changeset
|
4 NO_UNDEFINED = |
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
|
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 |
247
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
7 |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
8 if OS_SOLARIS |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
9 POSIX_SEMANTICS = -D_POSIX_PTHREAD_SEMANTICS |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
10 else |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
11 POSIX_SEMANTICS = |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
12 endif |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
13 |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
14 |
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
|
15 if STATIC_TOOLS |
122
bdb38b434c0a
more changes from Fridrich Strba to avoid installing our config.h
Carl Byington <carl@five-ten-sg.com>
parents:
119
diff
changeset
|
16 PSTLIB = @PST_OBJDIR@/libpst.a |
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
|
17 else |
122
bdb38b434c0a
more changes from Fridrich Strba to avoid installing our config.h
Carl Byington <carl@five-ten-sg.com>
parents:
119
diff
changeset
|
18 PSTLIB = libpst.la |
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
|
19 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
|
20 |
247
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
21 |
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
|
22 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
|
23 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
|
24 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
|
25 libstrfunc.h \ |
140
fc6c54c453e5
patch from Fridrich Strba for dll build on mingw and cygwin
Carl Byington <carl@five-ten-sg.com>
parents:
133
diff
changeset
|
26 lzfu.h \ |
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
|
27 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
|
28 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
|
29 |
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 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
|
31 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
|
32 libstrfunc.c \ |
140
fc6c54c453e5
patch from Fridrich Strba for dll build on mingw and cygwin
Carl Byington <carl@five-ten-sg.com>
parents:
133
diff
changeset
|
33 lzfu.c \ |
193 | 34 timeconv.c \ |
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
|
35 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
|
36 |
132
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
37 |
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
|
38 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
|
39 common_source += XGetopt.c |
140
fc6c54c453e5
patch from Fridrich Strba for dll build on mingw and cygwin
Carl Byington <carl@five-ten-sg.com>
parents:
133
diff
changeset
|
40 common_header += XGetopt.h |
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
|
41 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
|
42 |
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 noinst_PROGRAMS = deltasearch dumpblocks getidblock |
202
2f38c4ce606f
remove readpstlog, switch to plain ascii debug log files
Carl Byington <carl@five-ten-sg.com>
parents:
193
diff
changeset
|
44 bin_PROGRAMS = lspst readpst 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
|
45 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
|
46 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
|
47 endif |
132
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
48 lspst_SOURCES = lspst.c $(common_header) |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
49 readpst_SOURCES = readpst.c $(common_header) |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
50 pst2ldif_SOURCES = pst2ldif.cpp $(common_header) |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
51 pst2dii_SOURCES = pst2dii.cpp $(common_header) |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
52 deltasearch_SOURCES = deltasearch.cpp $(common_header) |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
53 dumpblocks_SOURCES = dumpblocks.c $(common_header) |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
54 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
|
55 |
247
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
56 lspst_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
57 readpst_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
58 pst2ldif_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
59 pst2dii_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
60 deltasearch_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
61 dumpblocks_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
62 getidblock_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
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
|
63 |
132
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
64 lspst_DEPENDENCIES = libpst.la |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
65 readpst_DEPENDENCIES = libpst.la |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
66 pst2ldif_DEPENDENCIES = libpst.la |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
67 pst2dii_DEPENDENCIES = libpst.la |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
68 deltasearch_DEPENDENCIES = libpst.la |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
69 dumpblocks_DEPENDENCIES = libpst.la |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
70 getidblock_DEPENDENCIES = libpst.la |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
71 |
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
|
72 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
|
73 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
|
74 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
|
75 lib_LTLIBRARIES = libpst.la |
174
9bbc834d5f3e
new debianization from hggdh
Carl Byington <carl@five-ten-sg.com>
parents:
172
diff
changeset
|
76 libpstincludedir = $(includedir)/libpst-@LIBPST_SO_MAJOR@/libpst |
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
|
77 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
|
78 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
|
79 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
|
80 libstrfunc.h\ |
193 | 81 lzfu.h \ |
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
|
82 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
|
83 vbuf.h |
172
6954d315aaa8
move version-info into main configure.in, and set it properly.
Carl Byington <carl@five-ten-sg.com>
parents:
167
diff
changeset
|
84 libpst_la_LDFLAGS = $(NO_UNDEFINED) -version-info @LIBPST_VERSION_INFO@ |
247
85d77d7b034b
another patche from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
202
diff
changeset
|
85 libpst_la_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
95
ff1743cbe4aa
initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
73
diff
changeset
|
86 endif |
ff1743cbe4aa
initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
73
diff
changeset
|
87 |
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
|
88 libpst_la_SOURCES = $(common_source) $(common_header) |
153
0b1766da9be8
use AM_ICONV for better portability of the library location.
Carl Byington <carl@five-ten-sg.com>
parents:
150
diff
changeset
|
89 libpst_la_LIBADD = $(LTLIBICONV) |
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
|
90 |
202
2f38c4ce606f
remove readpstlog, switch to plain ascii debug log files
Carl Byington <carl@five-ten-sg.com>
parents:
193
diff
changeset
|
91 EXTRA_DIST = |
122
bdb38b434c0a
more changes from Fridrich Strba to avoid installing our config.h
Carl Byington <carl@five-ten-sg.com>
parents:
119
diff
changeset
|
92 if !NEED_XGETOPT |
bdb38b434c0a
more changes from Fridrich Strba to avoid installing our config.h
Carl Byington <carl@five-ten-sg.com>
parents:
119
diff
changeset
|
93 EXTRA_DIST += XGetopt.c XGetopt.h |
bdb38b434c0a
more changes from Fridrich Strba to avoid installing our config.h
Carl Byington <carl@five-ten-sg.com>
parents:
119
diff
changeset
|
94 endif |
16 | 95 |
96 # set the include path found by configure | |
119 | 97 INCLUDES= -I$(srcdir)/.. $(all_includes) |
16 | 98 |
99 # the library search path. | |
153
0b1766da9be8
use AM_ICONV for better portability of the library location.
Carl Byington <carl@five-ten-sg.com>
parents:
150
diff
changeset
|
100 lspst_LDADD = $(all_libraries) $(PSTLIB) $(LTLIBICONV) |
0b1766da9be8
use AM_ICONV for better portability of the library location.
Carl Byington <carl@five-ten-sg.com>
parents:
150
diff
changeset
|
101 readpst_LDADD = $(all_libraries) $(PSTLIB) $(LTLIBICONV) $(REGEXLIB) |
0b1766da9be8
use AM_ICONV for better portability of the library location.
Carl Byington <carl@five-ten-sg.com>
parents:
150
diff
changeset
|
102 pst2ldif_LDADD = $(all_libraries) $(PSTLIB) $(LTLIBICONV) |
0b1766da9be8
use AM_ICONV for better portability of the library location.
Carl Byington <carl@five-ten-sg.com>
parents:
150
diff
changeset
|
103 pst2dii_LDADD = $(all_libraries) $(PSTLIB) $(LTLIBICONV) -lgd |
0b1766da9be8
use AM_ICONV for better portability of the library location.
Carl Byington <carl@five-ten-sg.com>
parents:
150
diff
changeset
|
104 dumpblocks_LDADD = $(all_libraries) $(PSTLIB) $(LTLIBICONV) |
0b1766da9be8
use AM_ICONV for better portability of the library location.
Carl Byington <carl@five-ten-sg.com>
parents:
150
diff
changeset
|
105 getidblock_LDADD = $(all_libraries) $(PSTLIB) $(LTLIBICONV) |
0b1766da9be8
use AM_ICONV for better portability of the library location.
Carl Byington <carl@five-ten-sg.com>
parents:
150
diff
changeset
|
106 deltasearch_LDADD = $(all_libraries) $(PSTLIB) $(LTLIBICONV) |
132
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
107 |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
122
diff
changeset
|
108 |