render: Center and emphasize table titles.
[pspp] / 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 = 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_man_MANS =
44 DIST_HOOKS =
45 INSTALL_DATA_HOOKS = 
46 UNINSTALL_DATA_HOOKS =
47 PHONY =
48 SUFFIXES = .q
49 LDADD = gl/libgl.la
50
51 # This ensures that files added to EXTRA_DIST are always distributed,
52 # even if they are inside an Automake if...endif conditional block that is
53 # disabled by some particular "configure" run.  For more information, see:
54 # http://article.gmane.org/gmane.comp.sysutils.automake.general/10891
55 noinst_HEADERS = $(EXTRA_DIST)
56
57 generate-changelog:
58         if test -d $(top_srcdir)/.git; then                     \
59           $(top_srcdir)/build-aux/gitlog-to-changelog --since=2008-07-27        \
60             > $(distdir)/cl-t;                                  \
61           rm -f $(distdir)/ChangeLog;                           \
62           mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
63         fi
64
65 DIST_HOOKS += generate-changelog
66
67
68 include $(top_srcdir)/build-aux/automake.mk
69 include $(top_srcdir)/po/automake.mk
70 include $(top_srcdir)/lib/automake.mk
71 include $(top_srcdir)/doc/automake.mk
72 include $(top_srcdir)/examples/automake.mk
73 include $(top_srcdir)/src/automake.mk
74 include $(top_srcdir)/utilities/automake.mk
75
76 include $(top_srcdir)/tests/automake.mk
77
78 if WITH_GUI_TOOLS
79 include $(top_srcdir)/glade/automake.mk
80 endif
81
82 if WITH_PERL_MODULE
83 include $(top_srcdir)/perl-module/automake.mk
84 endif
85
86 PHONY += $(DIST_HOOKS) $(INSTALL_DATA_HOOKS) $(UNINSTALL_DATA_HOOKS)
87
88 .PHONY: $(PHONY)
89
90 dist-hook: $(DIST_HOOKS)
91
92 install-data-hook: $(INSTALL_DATA_HOOKS)
93
94 uninstall-hook: $(UNINSTALL_DATA_HOOKS)
95
96 clean-local: $(CLEAN_LOCAL)
97 all-local: $(ALL_LOCAL)
98 check-local: $(CHECK_LOCAL)
99
100 # A convenience target to build all the binaries
101 programs: $(PROGRAMS)
102
103 # The following rules are from Open vSwitch.  The original copyright notice
104 # and license are:
105 #
106 # Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
107 #
108 # Copying and distribution of this file, with or without modification,
109 # are permitted in any medium without royalty provided the copyright
110 # notice and this notice are preserved.  This file is offered as-is,
111 # without warranty of any kind.
112
113 # If we're checked out from a Git repository, make sure that every
114 # file that is in Git is distributed.
115 ALL_LOCAL += dist-hook-git
116 dist-hook-git: distfiles
117         @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1; then \
118           (cd $(srcdir) && git ls-files)                                    \
119             | grep -vE '\.gitignore|README.Git|Smake'                       \
120             | LC_ALL=C sort -u > gitfiles;                                  \
121           LC_ALL=C comm -1 -3 distfiles gitfiles > missing-distfiles;       \
122           if test -s missing-distfiles; then                                \
123             echo "The distribution is missing the following files:";        \
124             cat missing-distfiles;                                          \
125             exit 1;                                                         \
126           fi;                                                               \
127         fi
128 # The following is based on commands for the Automake "distdir" target.
129 distfiles: Makefile
130         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
131         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
132         list='$(DISTFILES)'; \
133         for file in $$list; do echo $$file; done | \
134           sed -e "s|^$$srcdirstrip/||;t" \
135               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" \
136           | LC_ALL=C sort -u > $@
137 CLEANFILES += distfiles gitfiles missing-distfiles
138 .PHONY: dist-hook-git