view src/Makefile.am @ 73:3cb02cb1e6cd stable-0-6-10

Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them). More changes for Fedora packaging (#434727) Fixes for const correctness.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 29 May 2008 18:51:02 -0700
parents cfd6175f9334
children ff1743cbe4aa
line wrap: on
line source

hfiles = $(wildcard *.h)
bin_PROGRAMS        = lspst readpst readpstlog pst2ldif
if BUILD_DII
    bin_PROGRAMS   += pst2dii
endif
noinst_PROGRAMS     = deltasearch dumpblocks getidblock

lspst_SOURCES       = $(hfiles) lspst.c      libpst.c timeconv.c libstrfunc.c debug.c        vbuf.c
readpst_SOURCES     = $(hfiles) readpst.c    libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c
readpstlog_SOURCES  = $(hfiles) readpstlog.c                                  debug.c
pst2ldif_SOURCES    = $(hfiles) pst2ldif.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c
pst2dii_SOURCES	    = $(hfiles) pst2dii.cpp  libpst.c timeconv.c libstrfunc.c debug.c lzfu.c vbuf.c

deltasearch_SOURCES = deltasearch.cpp debug.c
dumpblocks_SOURCES  = dumpblocks.c    debug.c libpst.c libstrfunc.c timeconv.c vbuf.c
getidblock_SOURCES  = getidblock.c    debug.c libpst.c libstrfunc.c timeconv.c vbuf.c

if NEED_XGETOPT
    lspst_SOURCES       += XGetopt.c
    readpst_SOURCES     += XGetopt.c
    readpstlog_SOURCES  += XGetopt.c
    pst2ldif_SOURCES    += XGetopt.c
    pst2dii_SOURCES     += XGetopt.c
endif

EXTRA_DIST = testdebug.c

# set the include path found by configure
INCLUDES= $(all_includes)

# the library search path.
lspst_LDFLAGS      = $(all_libraries)
readpst_LDFLAGS    = $(all_libraries)
readpstlog_LDFLAGS = $(all_libraries)
pst2ldif_LDFLAGS   = $(all_libraries)
pst2dii_LDFLAGS    = $(all_libraries) -lgd -lpng -lz -lfreetype -lm