X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=ad84db7deda6b2ea93c89adfdaa0a295495292f0;hb=3b76a8aa4e808b2e6bdb792c369fda72a61304de;hp=1655d50ade36357a407766b04da56040a1c78d7a;hpb=db8c531ad19eff86adbc11e5435f07d5f780ab4a;p=pspp-builds.git diff --git a/Makefile.am b/Makefile.am index 1655d50a..ad84db7d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,8 +3,8 @@ AUTOMAKE_OPTIONS = gnits 1.7 subdir-objects SUBDIRS = intl gl po -DISTCLEANFILES = - +DISTCLEANFILES = ./intl/plural.c ./po/stamp-po +BUILT_SOURCES = AM_CPPFLAGS=-I$(top_srcdir)/intl -I$(top_srcdir)/gl -I$(top_builddir)/gl @@ -23,23 +23,23 @@ if msdos AM_CFLAGS+=-D__MSDOS__ endif +.q.c: + @$(top_srcdir)/mkinstalldirs `dirname $@` + ./src/language/lexer/q2c $< $@ -%.c: %.q $(top_builddir)/src/language/lexer/q2c$(EXEEXT) - @mkdir -p `dirname $@` - $(top_builddir)/src/language/lexer/q2c $< $@ - +$(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT) +all_q_sources = pkgsysconfdir = $(sysconfdir)/@PACKAGE@ -EXTRA_DIST = AUTHORS NEWS ONEWS README TODO THANKS config.rpath \ -mkinstalldirs config.rpath configure pspp-mode.el +EXTRA_DIST = ONEWS config.rpath pspp-mode.el -MAINTAINERCLEANFILES = Makefile.in aclocal.m4 CLEANFILES = ACLOCAL_AMFLAGS = -I m4 -I gl/m4 noinst_LIBRARIES= noinst_PROGRAMS= +check_PROGRAMS= bin_PROGRAMS= include $(top_srcdir)/lib/automake.mk @@ -49,3 +49,7 @@ include $(top_srcdir)/examples/automake.mk include $(top_srcdir)/src/automake.mk include $(top_srcdir)/tests/automake.mk + +if WITH_GUI_TOOLS +include $(top_srcdir)/glade/automake.mk +endif