Reduce platform dependence.
[pspp-builds.git] / Makefile.am
index ad84db7deda6b2ea93c89adfdaa0a295495292f0..0b37ce974ff650919c615d478e3a8033d71d3be5 100644 (file)
@@ -6,7 +6,8 @@ SUBDIRS = intl gl po
 DISTCLEANFILES = ./intl/plural.c ./po/stamp-po
 BUILT_SOURCES =
 
-AM_CPPFLAGS=-I$(top_srcdir)/intl -I$(top_srcdir)/gl -I$(top_builddir)/gl
+AM_CPPFLAGS=-I$(top_srcdir)/intl -I$(top_builddir)/intl \
+       -I$(top_srcdir)/gl -I$(top_builddir)/gl
 
 AM_CFLAGS=
 
@@ -15,14 +16,6 @@ AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \
 -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
 endif
 
-if unix
-AM_CFLAGS+=-Dunix
-endif
-
-if msdos
-AM_CFLAGS+=-D__MSDOS__
-endif
-
 .q.c:
        @$(top_srcdir)/mkinstalldirs  `dirname $@`
        ./src/language/lexer/q2c $< $@