X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=6fca4b1c29699b2bd77cb74fe4b416a7b0d9ac9e;hb=c4942b88d3090c38f0844af32c0c8d5be30809de;hp=507503f0235a3eaf6596c25680d3bf84e00e4b00;hpb=3eb9c30ebea7269e9eae90bd9ab5e0a363478297;p=pspp-builds.git diff --git a/Makefile.am b/Makefile.am index 507503f0..6fca4b1c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,11 @@ 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= @@ -83,3 +87,6 @@ uninstall-hook: $(UNINSTALL_DATA_HOOKS) clean-local: $(CLEAN_LOCAL) all-local: $(ALL_LOCAL) + +# A convenience target to build all the binaries +programs: $(PROGRAMS)