X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=6fca4b1c29699b2bd77cb74fe4b416a7b0d9ac9e;hb=c05b6ca3fbafc33d542beb0d3acf2114a809fdfe;hp=f87d56c106e846f8c65c637a259089723d8bc72f;hpb=99bafccc08919a5d640cb35962c4d730a2cad3a1;p=pspp-builds.git diff --git a/Makefile.am b/Makefile.am index f87d56c1..6fca4b1c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,11 +2,15 @@ AUTOMAKE_OPTIONS = gnits 1.10 subdir-objects -SUBDIRS = gl po +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= @@ -31,6 +35,7 @@ EXTRA_DIST = OChangeLog ONEWS config.rpath pspp-mode.el CLEANFILES = CLEAN_LOCAL = +ALL_LOCAL = ACLOCAL_AMFLAGS = -I m4 -I gl/m4 noinst_LIBRARIES= noinst_LTLIBRARIES= @@ -53,6 +58,7 @@ generate-changelog: DIST_HOOKS += generate-changelog +include $(top_srcdir)/po/automake.mk include $(top_srcdir)/lib/automake.mk include $(top_srcdir)/doc/automake.mk include $(top_srcdir)/config/automake.mk @@ -80,3 +86,7 @@ install-data-hook: $(INSTALL_DATA_HOOKS) uninstall-hook: $(UNINSTALL_DATA_HOOKS) clean-local: $(CLEAN_LOCAL) +all-local: $(ALL_LOCAL) + +# A convenience target to build all the binaries +programs: $(PROGRAMS)