FACTOR: Mark translatable string as not a printf format string.
[pspp-builds.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3 AUTOMAKE_OPTIONS = gnits 1.10.1 subdir-objects
4
5 SUBDIRS = gl
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         -DDOCDIR=\"$(docdir)\"
14
15 AM_CFLAGS=
16
17 if cc_is_gcc
18 AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \
19 -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
20 endif
21
22 .q.c:
23         @$(MKDIR_P) `dirname $@`
24         ./src/language/lexer/q2c$(EXEEXT_FOR_BUILD) $< $@
25
26 $(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT_FOR_BUILD)
27 all_q_sources =
28
29 pkgsysconfdir = $(sysconfdir)/$(PACKAGE)
30
31
32 EXTRA_DIST = OChangeLog ONEWS config.rpath pspp-mode.el
33
34 CLEANFILES = 
35 CLEAN_LOCAL =
36 ALL_LOCAL =
37 CHECK_LOCAL =
38 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
39 noinst_LIBRARIES=
40 noinst_LTLIBRARIES=
41 noinst_PROGRAMS=
42 check_PROGRAMS=
43 bin_PROGRAMS=
44 DIST_HOOKS =
45 INSTALL_DATA_HOOKS = 
46 UNINSTALL_DATA_HOOKS =
47 PHONY =
48 SUFFIXES = .q
49
50 generate-changelog:
51         if test -d $(top_srcdir)/.git; then                     \
52           $(top_srcdir)/gitlog-to-changelog --since=2008-07-27  \
53             > $(distdir)/cl-t;                                  \
54           rm -f $(distdir)/ChangeLog;                           \
55           mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
56         fi
57
58 DIST_HOOKS += generate-changelog
59
60
61 include $(top_srcdir)/po/automake.mk
62 include $(top_srcdir)/lib/automake.mk
63 include $(top_srcdir)/doc/automake.mk
64 include $(top_srcdir)/examples/automake.mk
65 include $(top_srcdir)/src/automake.mk
66
67 include $(top_srcdir)/tests/automake.mk
68
69 if WITH_GUI_TOOLS
70 include $(top_srcdir)/glade/automake.mk
71 endif
72
73 if WITH_PERL_MODULE
74 include $(top_srcdir)/perl-module/automake.mk
75 endif
76
77 PHONY += $(DIST_HOOKS) $(INSTALL_DATA_HOOKS) $(UNINSTALL_DATA_HOOKS)
78
79 .PHONY: $(PHONY)
80
81 dist-hook: $(DIST_HOOKS)
82
83 install-data-hook: $(INSTALL_DATA_HOOKS)
84
85 uninstall-hook: $(UNINSTALL_DATA_HOOKS)
86
87 clean-local: $(CLEAN_LOCAL)
88 all-local: $(ALL_LOCAL)
89 check-local: $(CHECK_LOCAL)
90
91 # A convenience target to build all the binaries
92 programs: $(PROGRAMS)