message: Remove reference to deleted type "struct source_stream".
[pspp-builds.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3 AUTOMAKE_OPTIONS = std-options check-news 1.10.1 subdir-objects
4
5 SUBDIRS = gl po
6 DISTCLEANFILES = ./po/stamp-po xconfigure 
7 BUILT_SOURCES =
8
9 AM_CPPFLAGS = \
10         -I$(top_srcdir)/gl \
11         -I$(top_builddir)/gl \
12         -DINSTALLDIR=\"$(bindir)\"
13
14 AM_CFLAGS=
15
16 if cc_is_gcc
17 AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \
18 -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
19 endif
20
21 .q.c:
22         @$(MKDIR_P) `dirname $@`
23         ./src/language/lexer/q2c$(EXEEXT_FOR_BUILD) $< $@
24
25 $(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT_FOR_BUILD)
26 all_q_sources =
27
28 pkgsysconfdir = $(sysconfdir)/$(PACKAGE)
29
30
31 EXTRA_DIST = OChangeLog ONEWS pspp-mode.el
32
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_HOOKS =
44 INSTALL_DATA_HOOKS = 
45 UNINSTALL_DATA_HOOKS =
46 PHONY =
47 SUFFIXES = .q
48
49 generate-changelog:
50         if test -d $(top_srcdir)/.git; then                     \
51           $(top_srcdir)/gitlog-to-changelog --since=2008-07-27  \
52             > $(distdir)/cl-t;                                  \
53           rm -f $(distdir)/ChangeLog;                           \
54           mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
55         fi
56
57 DIST_HOOKS += generate-changelog
58
59
60 include $(top_srcdir)/po/automake.mk
61 include $(top_srcdir)/lib/automake.mk
62 include $(top_srcdir)/doc/automake.mk
63 include $(top_srcdir)/examples/automake.mk
64 include $(top_srcdir)/src/automake.mk
65
66 include $(top_srcdir)/tests/automake.mk
67
68 if WITH_GUI_TOOLS
69 include $(top_srcdir)/glade/automake.mk
70 endif
71
72 if WITH_PERL_MODULE
73 include $(top_srcdir)/perl-module/automake.mk
74 endif
75
76 PHONY += $(DIST_HOOKS) $(INSTALL_DATA_HOOKS) $(UNINSTALL_DATA_HOOKS)
77
78 .PHONY: $(PHONY)
79
80 dist-hook: $(DIST_HOOKS)
81
82 install-data-hook: $(INSTALL_DATA_HOOKS)
83
84 uninstall-hook: $(UNINSTALL_DATA_HOOKS)
85
86 clean-local: $(CLEAN_LOCAL)
87 all-local: $(ALL_LOCAL)
88 check-local: $(CHECK_LOCAL)
89
90 # A convenience target to build all the binaries
91 programs: $(PROGRAMS)