X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=b3ebdad0d43234b245ac94245d0aa9eeb9939287;hb=d94dc663529b4e05ec1e7c47c1e73310abb1d3b4;hp=4f9bc660a080089f478aac5d2755e0d05875ece2;hpb=bd17d2af982332ee1791998361b1ac6731fe14fa;p=pspp-builds.git diff --git a/Makefile.am b/Makefile.am index 4f9bc660..b3ebdad0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,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) $< $@ @@ -28,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 @@ -46,6 +44,7 @@ DIST_HOOKS = INSTALL_DATA_HOOKS = UNINSTALL_DATA_HOOKS = PHONY = +SUFFIXES = .q generate-changelog: if test -d $(top_srcdir)/.git; then \ @@ -87,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)