Applied patch file #10344.
[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_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 if unix
19 AM_CFLAGS+=-Dunix
20 endif
21
22 if msdos
23 AM_CFLAGS+=-D__MSDOS__
24 endif
25
26 .q.c:
27         @$(top_srcdir)/mkinstalldirs  `dirname $@`
28         ./src/language/lexer/q2c $< $@
29
30 $(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT)
31 all_q_sources =
32
33 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
34
35
36 EXTRA_DIST = ONEWS config.rpath pspp-mode.el
37
38 CLEANFILES = 
39 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
40 noinst_LIBRARIES=
41 noinst_PROGRAMS=
42 check_PROGRAMS=
43 bin_PROGRAMS=
44
45 include $(top_srcdir)/lib/automake.mk
46 include $(top_srcdir)/doc/automake.mk
47 include $(top_srcdir)/config/automake.mk
48 include $(top_srcdir)/examples/automake.mk
49 include $(top_srcdir)/src/automake.mk
50
51 include $(top_srcdir)/tests/automake.mk