Write message to status bar on saving syntax files
[pspp-builds.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3 AUTOMAKE_OPTIONS = gnits 1.10 subdir-objects
4
5 SUBDIRS = gl po
6 DISTCLEANFILES = ./po/stamp-po xconfigure 
7 BUILT_SOURCES =
8
9 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl
10
11 AM_CFLAGS=
12
13 if cc_is_gcc
14 AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \
15 -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
16 endif
17
18 CC_FOR_BUILD = @CC_FOR_BUILD@
19 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
20 .q.c:
21         @$(MKDIR_P) `dirname $@`
22         ./src/language/lexer/q2c$(EXEEXT_FOR_BUILD) $< $@
23
24 $(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT_FOR_BUILD)
25 all_q_sources =
26
27 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
28
29
30 EXTRA_DIST = OChangeLog ONEWS config.rpath pspp-mode.el
31
32 CLEANFILES = 
33 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
34 noinst_LIBRARIES=
35 noinst_LTLIBRARIES=
36 noinst_PROGRAMS=
37 check_PROGRAMS=
38 bin_PROGRAMS=
39 DIST_HOOKS =
40 PHONY =
41
42 DIST_HOOKS += generate-changelog
43 generate-changelog:
44         if test -d $(top_srcdir)/.git; then                     \
45           $(top_srcdir)/gitlog-to-changelog --since=2008-07-27  \
46             > $(distdir)/cl-t;                                  \
47           rm -f $(distdir)/ChangeLog;                           \
48           mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
49         fi
50
51 include $(top_srcdir)/lib/automake.mk
52 include $(top_srcdir)/doc/automake.mk
53 include $(top_srcdir)/config/automake.mk
54 include $(top_srcdir)/examples/automake.mk
55 include $(top_srcdir)/src/automake.mk
56
57 include $(top_srcdir)/tests/automake.mk
58
59 if WITH_GUI_TOOLS
60 include $(top_srcdir)/glade/automake.mk
61 endif
62
63 PHONY += $(DIST_HOOKS)
64 dist-hook: $(DIST_HOOKS)
65 .PHONY: $(PHONY)