comparison src/Makefile.am @ 248:0893fdbb3c03

patch from Kenneth Berland for solaris
author Carl Byington <carl@five-ten-sg.com>
date Mon, 21 Jun 2010 20:24:25 -0700
parents 85d77d7b034b
children 76702156656b
comparison
equal deleted inserted replaced
247:85d77d7b034b 248:0893fdbb3c03
4 NO_UNDEFINED = 4 NO_UNDEFINED =
5 endif 5 endif
6 6
7 7
8 if OS_SOLARIS 8 if OS_SOLARIS
9 POSIX_SEMANTICS = -D_POSIX_PTHREAD_SEMANTICS 9 AM_CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
10 else
11 POSIX_SEMANTICS =
12 endif 10 endif
11
13 12
14 13
15 if STATIC_TOOLS 14 if STATIC_TOOLS
16 PSTLIB = @PST_OBJDIR@/libpst.a 15 PSTLIB = @PST_OBJDIR@/libpst.a
17 else 16 else
51 pst2dii_SOURCES = pst2dii.cpp $(common_header) 50 pst2dii_SOURCES = pst2dii.cpp $(common_header)
52 deltasearch_SOURCES = deltasearch.cpp $(common_header) 51 deltasearch_SOURCES = deltasearch.cpp $(common_header)
53 dumpblocks_SOURCES = dumpblocks.c $(common_header) 52 dumpblocks_SOURCES = dumpblocks.c $(common_header)
54 getidblock_SOURCES = getidblock.c $(common_header) 53 getidblock_SOURCES = getidblock.c $(common_header)
55 54
56 lspst_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS)
57 readpst_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS)
58 pst2ldif_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS)
59 pst2dii_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS)
60 deltasearch_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS)
61 dumpblocks_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS)
62 getidblock_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS)
63 55
64 lspst_DEPENDENCIES = libpst.la 56 lspst_DEPENDENCIES = libpst.la
65 readpst_DEPENDENCIES = libpst.la 57 readpst_DEPENDENCIES = libpst.la
66 pst2ldif_DEPENDENCIES = libpst.la 58 pst2ldif_DEPENDENCIES = libpst.la
67 pst2dii_DEPENDENCIES = libpst.la 59 pst2dii_DEPENDENCIES = libpst.la
80 libstrfunc.h\ 72 libstrfunc.h\
81 lzfu.h \ 73 lzfu.h \
82 timeconv.h \ 74 timeconv.h \
83 vbuf.h 75 vbuf.h
84 libpst_la_LDFLAGS = $(NO_UNDEFINED) -version-info @LIBPST_VERSION_INFO@ 76 libpst_la_LDFLAGS = $(NO_UNDEFINED) -version-info @LIBPST_VERSION_INFO@
85 libpst_la_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS)
86 endif 77 endif
87 78
88 libpst_la_SOURCES = $(common_source) $(common_header) 79 libpst_la_SOURCES = $(common_source) $(common_header)
89 libpst_la_LIBADD = $(LTLIBICONV) 80 libpst_la_LIBADD = $(LTLIBICONV)
90 81