X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=9a242a31e3168fe058b600c1336b8bc28132ee9a;hb=9f472ebb86d3a1b4903bdde1c1371add0b70669a;hp=0b37ce974ff650919c615d478e3a8033d71d3be5;hpb=44326932c8227c64a87f7a92ef16ce83c2fba2d4;p=pspp-builds.git diff --git a/Makefile.am b/Makefile.am index 0b37ce97..9a242a31 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,12 @@ ## Process this file with automake to produce Makefile.in -*- makefile -*- -AUTOMAKE_OPTIONS = gnits 1.7 subdir-objects +AUTOMAKE_OPTIONS = gnits 1.10 subdir-objects -SUBDIRS = intl gl po -DISTCLEANFILES = ./intl/plural.c ./po/stamp-po +SUBDIRS = gl po +DISTCLEANFILES = ./po/stamp-po BUILT_SOURCES = -AM_CPPFLAGS=-I$(top_srcdir)/intl -I$(top_builddir)/intl \ - -I$(top_srcdir)/gl -I$(top_builddir)/gl +AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl AM_CFLAGS= @@ -16,11 +15,13 @@ AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \ -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes endif +CC_FOR_BUILD = @CC_FOR_BUILD@ +EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ .q.c: - @$(top_srcdir)/mkinstalldirs `dirname $@` - ./src/language/lexer/q2c $< $@ + @$(MKDIR_P) `dirname $@` + ./src/language/lexer/q2c$(EXEEXT_FOR_BUILD) $< $@ -$(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT) +$(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT_FOR_BUILD) all_q_sources = pkgsysconfdir = $(sysconfdir)/@PACKAGE@