Mercurial > libpst
comparison src/Makefile.am @ 122:bdb38b434c0a
more changes from Fridrich Strba to avoid installing our config.h
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 02 Feb 2009 21:55:48 -0800 |
parents | f50f4321aa2d |
children | 5e4d6faada34 |
comparison
equal
deleted
inserted
replaced
121:8399ef94c11b | 122:bdb38b434c0a |
---|---|
1 if OS_WIN32 | 1 if PLATFORM_WIN32 |
2 ICONVLIB = -liconv | 2 ICONVLIB = -liconv |
3 NO_UNDEFINED = -no-undefined | |
3 else | 4 else |
4 ICONVLIB = | 5 ICONVLIB = |
6 NO_UNDEFINED = | |
5 endif | 7 endif |
6 | 8 |
7 if STATIC_TOOLS | 9 if STATIC_TOOLS |
8 PSTLIB=@PST_OBJDIR@/libpst.a | 10 PSTLIB = @PST_OBJDIR@/libpst.a |
9 else | 11 else |
10 PSTLIB=libpst.la | 12 PSTLIB = libpst.la |
11 endif | 13 endif |
12 | 14 |
13 common_header = common.h \ | 15 common_header = common.h \ |
14 define.h \ | 16 define.h \ |
15 libpst.h \ | 17 libpst.h \ |
25 timeconv.c \ | 27 timeconv.c \ |
26 vbuf.c | 28 vbuf.c |
27 | 29 |
28 if NEED_XGETOPT | 30 if NEED_XGETOPT |
29 common_source += XGetopt.c | 31 common_source += XGetopt.c |
32 common_header += XGetopt.h | |
30 endif | 33 endif |
31 | 34 |
32 noinst_PROGRAMS = deltasearch dumpblocks getidblock | 35 noinst_PROGRAMS = deltasearch dumpblocks getidblock |
33 bin_PROGRAMS = lspst readpst readpstlog pst2ldif | 36 bin_PROGRAMS = lspst readpst readpstlog pst2ldif |
34 if BUILD_DII | 37 if BUILD_DII |
57 else | 60 else |
58 lib_LTLIBRARIES = libpst.la | 61 lib_LTLIBRARIES = libpst.la |
59 libpstincludedir = $(includedir)/libpst | 62 libpstincludedir = $(includedir)/libpst |
60 libpstinclude_HEADERS = \ | 63 libpstinclude_HEADERS = \ |
61 common.h \ | 64 common.h \ |
62 define.h \ | |
63 libpst.h \ | 65 libpst.h \ |
64 libstrfunc.h\ | 66 libstrfunc.h\ |
65 timeconv.h \ | 67 timeconv.h \ |
66 vbuf.h | 68 vbuf.h |
67 libpst_la_LDFLAGS = -no-undefined -version-info 1:0:0 | 69 libpst_la_LDFLAGS = $(NO_UNDEFINED) -version-info 1:0:0 |
68 endif | 70 endif |
69 | 71 |
70 libpst_la_SOURCES = $(common_source) $(common_header) | 72 libpst_la_SOURCES = $(common_source) $(common_header) |
71 libpst_la_LIBADD = $(ICONVLIB) | 73 libpst_la_LIBADD = $(ICONVLIB) |
72 | 74 |
73 | 75 |
74 EXTRA_DIST = testdebug.c | 76 EXTRA_DIST = testdebug.c |
77 if !NEED_XGETOPT | |
78 EXTRA_DIST += XGetopt.c XGetopt.h | |
79 endif | |
75 | 80 |
76 # set the include path found by configure | 81 # set the include path found by configure |
77 INCLUDES= -I$(srcdir)/.. $(all_includes) | 82 INCLUDES= -I$(srcdir)/.. $(all_includes) |
78 | 83 |
79 # the library search path. | 84 # the library search path. |