Mercurial > libpst
comparison 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 |
comparison
equal
deleted
inserted
replaced
246:5a82d41c883d | 247:85d77d7b034b |
---|---|
2 NO_UNDEFINED = -no-undefined | 2 NO_UNDEFINED = -no-undefined |
3 else | 3 else |
4 NO_UNDEFINED = | 4 NO_UNDEFINED = |
5 endif | 5 endif |
6 | 6 |
7 | |
8 if OS_SOLARIS | |
9 POSIX_SEMANTICS = -D_POSIX_PTHREAD_SEMANTICS | |
10 else | |
11 POSIX_SEMANTICS = | |
12 endif | |
13 | |
14 | |
7 if STATIC_TOOLS | 15 if STATIC_TOOLS |
8 PSTLIB = @PST_OBJDIR@/libpst.a | 16 PSTLIB = @PST_OBJDIR@/libpst.a |
9 else | 17 else |
10 PSTLIB = libpst.la | 18 PSTLIB = libpst.la |
11 endif | 19 endif |
20 | |
12 | 21 |
13 common_header = common.h \ | 22 common_header = common.h \ |
14 define.h \ | 23 define.h \ |
15 libpst.h \ | 24 libpst.h \ |
16 libstrfunc.h \ | 25 libstrfunc.h \ |
42 pst2dii_SOURCES = pst2dii.cpp $(common_header) | 51 pst2dii_SOURCES = pst2dii.cpp $(common_header) |
43 deltasearch_SOURCES = deltasearch.cpp $(common_header) | 52 deltasearch_SOURCES = deltasearch.cpp $(common_header) |
44 dumpblocks_SOURCES = dumpblocks.c $(common_header) | 53 dumpblocks_SOURCES = dumpblocks.c $(common_header) |
45 getidblock_SOURCES = getidblock.c $(common_header) | 54 getidblock_SOURCES = getidblock.c $(common_header) |
46 | 55 |
47 lspst_CFLAGS = $(AM_CFLAGS) | 56 lspst_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
48 readpst_CFLAGS = $(AM_CFLAGS) | 57 readpst_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
49 pst2ldif_CFLAGS = $(AM_CFLAGS) | 58 pst2ldif_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
50 pst2dii_CFLAGS = $(AM_CFLAGS) | 59 pst2dii_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
51 deltasearch_CFLAGS = $(AM_CFLAGS) | 60 deltasearch_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
52 dumpblocks_CFLAGS = $(AM_CFLAGS) | 61 dumpblocks_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
53 getidblock_CFLAGS = $(AM_CFLAGS) | 62 getidblock_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) |
54 | 63 |
55 lspst_DEPENDENCIES = libpst.la | 64 lspst_DEPENDENCIES = libpst.la |
56 readpst_DEPENDENCIES = libpst.la | 65 readpst_DEPENDENCIES = libpst.la |
57 pst2ldif_DEPENDENCIES = libpst.la | 66 pst2ldif_DEPENDENCIES = libpst.la |
58 pst2dii_DEPENDENCIES = libpst.la | 67 pst2dii_DEPENDENCIES = libpst.la |
71 libstrfunc.h\ | 80 libstrfunc.h\ |
72 lzfu.h \ | 81 lzfu.h \ |
73 timeconv.h \ | 82 timeconv.h \ |
74 vbuf.h | 83 vbuf.h |
75 libpst_la_LDFLAGS = $(NO_UNDEFINED) -version-info @LIBPST_VERSION_INFO@ | 84 libpst_la_LDFLAGS = $(NO_UNDEFINED) -version-info @LIBPST_VERSION_INFO@ |
85 libpst_la_CFLAGS = $(AM_CFLAGS) $(POSIX_SEMANTICS) | |
76 endif | 86 endif |
77 | 87 |
78 libpst_la_SOURCES = $(common_source) $(common_header) | 88 libpst_la_SOURCES = $(common_source) $(common_header) |
79 libpst_la_LIBADD = $(LTLIBICONV) | 89 libpst_la_LIBADD = $(LTLIBICONV) |
80 | 90 |