po: Update translations from translationproject.org.
[pspp.git] / Makefile.am
blob3fc689fc6cba6d8c348e584d818768359c3a695a
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
3 AUTOMAKE_OPTIONS = std-options check-news 1.10.1 subdir-objects
5 SUBDIRS = gl po
6 DISTCLEANFILES = ./po/stamp-po xconfigure 
7 BUILT_SOURCES =
9 AM_CPPFLAGS = \
10         -I$(top_srcdir)/gl \
11         -I$(top_builddir)/gl \
12         -DINSTALLDIR=\"$(bindir)\"
14 AM_V_P ?= :
16 AM_CFLAGS=
18 if cc_is_gcc
19 AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \
20 -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
21 endif
23 .q.c:
24         @$(MKDIR_P) `dirname $@`
25         $(AM_V_GEN)./src/language/lexer/q2c$(EXEEXT_FOR_BUILD) $< $@
27 $(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT_FOR_BUILD)
28 all_q_sources =
30 pkgsysconfdir = $(sysconfdir)/$(PACKAGE)
33 EXTRA_DIST = ONEWS pspp-mode.el
35 CLEANFILES = 
36 CLEAN_LOCAL =
37 ALL_LOCAL =
38 CHECK_LOCAL =
39 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
40 noinst_LIBRARIES=
41 noinst_LTLIBRARIES=
42 noinst_PROGRAMS=
43 check_PROGRAMS=
44 bin_PROGRAMS=
45 dist_man_MANS =
46 DIST_HOOKS =
47 INSTALL_DATA_HOOKS = 
48 UNINSTALL_DATA_HOOKS =
49 PHONY =
50 SUFFIXES = .q
51 LDADD = gl/libgl.la
53 # This ensures that files added to EXTRA_DIST are always distributed,
54 # even if they are inside an Automake if...endif conditional block that is
55 # disabled by some particular "configure" run.  For more information, see:
56 # http://article.gmane.org/gmane.comp.sysutils.automake.general/10891
57 noinst_HEADERS = $(EXTRA_DIST)
59 generate-changelog:
60         if test -d $(top_srcdir)/.git; then                     \
61           $(top_srcdir)/build-aux/gitlog-to-changelog --since=2008-07-27        \
62             > $(distdir)/cl-t;                                  \
63           rm -f $(distdir)/ChangeLog;                           \
64           mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
65         fi
67 DIST_HOOKS += generate-changelog
70 include $(top_srcdir)/build-aux/automake.mk
71 include $(top_srcdir)/po/automake.mk
72 include $(top_srcdir)/lib/automake.mk
73 include $(top_srcdir)/doc/automake.mk
74 include $(top_srcdir)/examples/automake.mk
75 include $(top_srcdir)/src/automake.mk
76 include $(top_srcdir)/utilities/automake.mk
78 include $(top_srcdir)/tests/automake.mk
80 if WITH_GUI_TOOLS
81 include $(top_srcdir)/glade/automake.mk
82 endif
84 if WITH_PERL_MODULE
85 include $(top_srcdir)/perl-module/automake.mk
86 endif
88 PHONY += $(DIST_HOOKS) $(INSTALL_DATA_HOOKS) $(UNINSTALL_DATA_HOOKS)
90 .PHONY: $(PHONY)
92 dist-hook: $(DIST_HOOKS)
94 install-data-hook: $(INSTALL_DATA_HOOKS)
96 uninstall-hook: $(UNINSTALL_DATA_HOOKS)
98 clean-local: $(CLEAN_LOCAL)
99 all-local: $(ALL_LOCAL)
100 check-local: $(CHECK_LOCAL)
102 # A convenience target to build all the binaries
103 programs: $(PROGRAMS)
105 # The following rules are from Open vSwitch.  The original copyright notice
106 # and license are:
108 # Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
110 # Copying and distribution of this file, with or without modification,
111 # are permitted in any medium without royalty provided the copyright
112 # notice and this notice are preserved.  This file is offered as-is,
113 # without warranty of any kind.
115 # If we're checked out from a Git repository, make sure that every
116 # file that is in Git is distributed.
117 ALL_LOCAL += dist-hook-git
118 dist-hook-git: distfiles
119         @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1; then \
120           (cd $(srcdir) && git ls-files)                                    \
121             | grep -vE '\.gitignore|README.Git|Smake'                       \
122             | LC_ALL=C sort -u > gitfiles;                                  \
123           LC_ALL=C comm -1 -3 distfiles gitfiles > missing-distfiles;       \
124           if test -s missing-distfiles; then                                \
125             echo "The distribution is missing the following files:";        \
126             cat missing-distfiles;                                          \
127             exit 1;                                                         \
128           fi;                                                               \
129         fi
130 # The following is based on commands for the Automake "distdir" target.
131 distfiles: Makefile
132         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
133         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
134         list='$(DISTFILES)'; \
135         for file in $$list; do echo $$file; done | \
136           sed -e "s|^$$srcdirstrip/||;t" \
137               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" \
138           | LC_ALL=C sort -u > $@
139 CLEANFILES += distfiles gitfiles missing-distfiles
140 .PHONY: dist-hook-git