Checkin of new directory structure.
[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 = pref.h
7
8
9 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/lib   \
10 -I$(top_srcdir)/intl -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 if unix
20 AM_CFLAGS+=-Dunix
21 endif
22
23 if msdos
24 AM_CFLAGS+=-D__MSDOS__
25 endif
26
27
28 %.c: %.q $(top_builddir)/src/language/lexer/q2c$(EXEEXT)
29         @mkdir -p `dirname $@`
30         $(top_builddir)/src/language/lexer/q2c $< $@
31
32
33 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
34
35
36 EXTRA_DIST = AUTHORS NEWS ONEWS README TODO THANKS config.rpath \
37 mkinstalldirs config.rpath pref.h.orig configure pspp-mode.el
38
39 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 
40 CLEANFILES = 
41 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
42 noinst_LIBRARIES=
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