X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=b571440544eea389860dda85ffab45d3b32ce8a4;hb=refs%2Fheads%2Fctables7;hp=9254dd8b682243e2bfed0088fbac2cf473ea413b;hpb=0a18cc59b123294641d8e2bafc3d579be1f59e77;p=pspp diff --git a/Makefile.am b/Makefile.am index 9254dd8b68..b571440544 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,18 +24,13 @@ BUILT_SOURCES = built-sources: $(BUILT_SOURCES) AM_CPPFLAGS = \ - -I$(top_srcdir)/gl \ - -I$(top_builddir)/gl \ + -I"$(top_srcdir)/gl" \ + -I"$(top_builddir)/gl" \ -DINSTALLDIR=\"$(bindir)\" AM_V_P ?= : -AM_CFLAGS= - -if cc_is_gcc -AM_CFLAGS+=-Wall -Wextra -Wwrite-strings -Wstrict-prototypes \ --Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -endif +AM_CFLAGS=$(WARNING_FLAGS) pkgsysconfdir = $(sysconfdir)/$(PACKAGE) @@ -88,6 +83,7 @@ include $(top_srcdir)/src/automake.mk include $(top_srcdir)/utilities/automake.mk include $(top_srcdir)/tests/automake.mk include $(top_srcdir)/doc/automake.mk +include $(top_srcdir)/Windows/automake.mk if WITH_PERL_MODULE include $(top_srcdir)/perl-module/automake.mk