diff 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
line wrap: on
line diff
--- a/src/Makefile.am	Fri May 07 12:07:46 2010 -0700
+++ b/src/Makefile.am	Mon Jun 21 20:24:25 2010 -0700
@@ -6,12 +6,11 @@
 
 
 if OS_SOLARIS
-	POSIX_SEMANTICS = -D_POSIX_PTHREAD_SEMANTICS
-else
-	POSIX_SEMANTICS =
+    AM_CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
 endif
 
 
+
 if STATIC_TOOLS
     PSTLIB = @PST_OBJDIR@/libpst.a
 else
@@ -53,13 +52,6 @@
 dumpblocks_SOURCES  = dumpblocks.c     $(common_header)
 getidblock_SOURCES  = getidblock.c     $(common_header)
 
-lspst_CFLAGS        = $(AM_CFLAGS) $(POSIX_SEMANTICS)
-readpst_CFLAGS      = $(AM_CFLAGS) $(POSIX_SEMANTICS)
-pst2ldif_CFLAGS     = $(AM_CFLAGS) $(POSIX_SEMANTICS)
-pst2dii_CFLAGS      = $(AM_CFLAGS) $(POSIX_SEMANTICS)
-deltasearch_CFLAGS  = $(AM_CFLAGS) $(POSIX_SEMANTICS)
-dumpblocks_CFLAGS   = $(AM_CFLAGS) $(POSIX_SEMANTICS)
-getidblock_CFLAGS   = $(AM_CFLAGS) $(POSIX_SEMANTICS)
 
 lspst_DEPENDENCIES        = libpst.la
 readpst_DEPENDENCIES      = libpst.la
@@ -82,7 +74,6 @@
         timeconv.h  \
         vbuf.h
     libpst_la_LDFLAGS     = $(NO_UNDEFINED) -version-info @LIBPST_VERSION_INFO@
-	libpst_la_CFLAGS      = $(AM_CFLAGS) $(POSIX_SEMANTICS)
 endif
 
 libpst_la_SOURCES     = $(common_source) $(common_header)