Reduce platform dependence.
[pspp-builds.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3 AUTOMAKE_OPTIONS = gnits 1.7 subdir-objects
4
5 SUBDIRS = intl gl po
6 DISTCLEANFILES = ./intl/plural.c ./po/stamp-po
7 BUILT_SOURCES =
8
9 AM_CPPFLAGS=-I$(top_srcdir)/intl -I$(top_builddir)/intl \
10         -I$(top_srcdir)/gl -I$(top_builddir)/gl
11
12 AM_CFLAGS=
13
14 if cc_is_gcc
15 AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \
16 -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
17 endif
18
19 .q.c:
20         @$(top_srcdir)/mkinstalldirs  `dirname $@`
21         ./src/language/lexer/q2c $< $@
22
23 $(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT)
24 all_q_sources =
25
26 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
27
28
29 EXTRA_DIST = ONEWS config.rpath pspp-mode.el
30
31 CLEANFILES = 
32 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
33 noinst_LIBRARIES=
34 noinst_PROGRAMS=
35 check_PROGRAMS=
36 bin_PROGRAMS=
37
38 include $(top_srcdir)/lib/automake.mk
39 include $(top_srcdir)/doc/automake.mk
40 include $(top_srcdir)/config/automake.mk
41 include $(top_srcdir)/examples/automake.mk
42 include $(top_srcdir)/src/automake.mk
43
44 include $(top_srcdir)/tests/automake.mk
45
46 if WITH_GUI_TOOLS
47 include $(top_srcdir)/glade/automake.mk
48 endif