lexer: Rename LEX_ERROR_INTERACTIVE to LEX_ERROR_TERMINAL, change default
[pspp.git] / Makefile.am
blob48ec5073668fc7681f803ff0ae9a686d82c02e56
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
3 AUTOMAKE_OPTIONS = std-options check-news 1.10.1 subdir-objects
5 SUBDIRS = gl po
6 DISTCLEANFILES = ./po/stamp-po xconfigure 
7 BUILT_SOURCES =
9 AM_CPPFLAGS = \
10         -I$(top_srcdir)/gl \
11         -I$(top_builddir)/gl \
12         -DINSTALLDIR=\"$(bindir)\"
14 AM_CFLAGS=
16 if cc_is_gcc
17 AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \
18 -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
19 endif
21 .q.c:
22         @$(MKDIR_P) `dirname $@`
23         ./src/language/lexer/q2c$(EXEEXT_FOR_BUILD) $< $@
25 $(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT_FOR_BUILD)
26 all_q_sources =
28 pkgsysconfdir = $(sysconfdir)/$(PACKAGE)
31 EXTRA_DIST = OChangeLog ONEWS pspp-mode.el
33 CLEANFILES = 
34 CLEAN_LOCAL =
35 ALL_LOCAL =
36 CHECK_LOCAL =
37 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
38 noinst_LIBRARIES=
39 noinst_LTLIBRARIES=
40 noinst_PROGRAMS=
41 check_PROGRAMS=
42 bin_PROGRAMS=
43 dist_man_MANS =
44 DIST_HOOKS =
45 INSTALL_DATA_HOOKS = 
46 UNINSTALL_DATA_HOOKS =
47 PHONY =
48 SUFFIXES = .q
49 LDADD = gl/libgl.la
51 generate-changelog:
52         if test -d $(top_srcdir)/.git; then                     \
53           $(top_srcdir)/build-aux/gitlog-to-changelog --since=2008-07-27        \
54             > $(distdir)/cl-t;                                  \
55           rm -f $(distdir)/ChangeLog;                           \
56           mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
57         fi
59 DIST_HOOKS += generate-changelog
62 include $(top_srcdir)/po/automake.mk
63 include $(top_srcdir)/lib/automake.mk
64 include $(top_srcdir)/doc/automake.mk
65 include $(top_srcdir)/examples/automake.mk
66 include $(top_srcdir)/src/automake.mk
67 include $(top_srcdir)/utilities/automake.mk
69 include $(top_srcdir)/tests/automake.mk
71 if WITH_GUI_TOOLS
72 include $(top_srcdir)/glade/automake.mk
73 endif
75 if WITH_PERL_MODULE
76 include $(top_srcdir)/perl-module/automake.mk
77 endif
79 PHONY += $(DIST_HOOKS) $(INSTALL_DATA_HOOKS) $(UNINSTALL_DATA_HOOKS)
81 .PHONY: $(PHONY)
83 dist-hook: $(DIST_HOOKS)
85 install-data-hook: $(INSTALL_DATA_HOOKS)
87 uninstall-hook: $(UNINSTALL_DATA_HOOKS)
89 clean-local: $(CLEAN_LOCAL)
90 all-local: $(ALL_LOCAL)
91 check-local: $(CHECK_LOCAL)
93 # A convenience target to build all the binaries
94 programs: $(PROGRAMS)