X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=02ae7d5b2129e882d72e65559bf81c9d7d3ad5fd;hb=refs%2Ftags%2Ffc11-x64-build89;hp=507503f0235a3eaf6596c25680d3bf84e00e4b00;hpb=3eb9c30ebea7269e9eae90bd9ab5e0a363478297;p=pspp-builds.git diff --git a/Makefile.am b/Makefile.am index 507503f0..02ae7d5b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,16 @@ ## Process this file with automake to produce Makefile.in -*- makefile -*- -AUTOMAKE_OPTIONS = gnits 1.10 subdir-objects +AUTOMAKE_OPTIONS = gnits 1.10.1 subdir-objects SUBDIRS = gl DISTCLEANFILES = ./po/stamp-po xconfigure BUILT_SOURCES = -AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl +AM_CPPFLAGS = \ + -I$(top_srcdir)/gl \ + -I$(top_builddir)/gl \ + -DINSTALLDIR=\"$(bindir)\" \ + -DDOCDIR=\"$(docdir)\" AM_CFLAGS= @@ -15,8 +19,6 @@ 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: @$(MKDIR_P) `dirname $@` ./src/language/lexer/q2c$(EXEEXT_FOR_BUILD) $< $@ @@ -24,7 +26,7 @@ EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ $(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT_FOR_BUILD) all_q_sources = -pkgsysconfdir = $(sysconfdir)/@PACKAGE@ +pkgsysconfdir = $(sysconfdir)/$(PACKAGE) EXTRA_DIST = OChangeLog ONEWS config.rpath pspp-mode.el @@ -42,6 +44,7 @@ DIST_HOOKS = INSTALL_DATA_HOOKS = UNINSTALL_DATA_HOOKS = PHONY = +SUFFIXES = .q generate-changelog: if test -d $(top_srcdir)/.git; then \ @@ -83,3 +86,6 @@ uninstall-hook: $(UNINSTALL_DATA_HOOKS) clean-local: $(CLEAN_LOCAL) all-local: $(ALL_LOCAL) + +# A convenience target to build all the binaries +programs: $(PROGRAMS)