Added src/math/statistic.h to dist 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_PROGRAMS=
36 check_PROGRAMS=
37 bin_PROGRAMS=
38 DIST_HOOKS =
39 PHONY =
40
41 DIST_HOOKS += generate-changelog
42 generate-changelog:
43         if test -d $(top_srcdir)/.git; then                     \
44           $(top_srcdir)/gitlog-to-changelog --since=2008-07-27  \
45             > $(distdir)/cl-t;                                  \
46           rm -f $(distdir)/ChangeLog;                           \
47           mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
48         fi
49
50 include $(top_srcdir)/lib/automake.mk
51 include $(top_srcdir)/doc/automake.mk
52 include $(top_srcdir)/config/automake.mk
53 include $(top_srcdir)/examples/automake.mk
54 include $(top_srcdir)/src/automake.mk
55
56 include $(top_srcdir)/tests/automake.mk
57
58 if WITH_GUI_TOOLS
59 include $(top_srcdir)/glade/automake.mk
60 endif
61
62 PHONY += $(DIST_HOOKS)
63 dist-hook: $(DIST_HOOKS)
64 .PHONY: $(PHONY)