AUTOMAKE_OPTIONS = std-options check-news 1.14 subdir-objects
-SUBDIRS = gl po
+SUBDIRS = po
DISTCLEANFILES = ./po/stamp-po xconfigure
BUILT_SOURCES =
built-sources: $(BUILT_SOURCES)
EXTRA_DIST = ONEWS
CLEANFILES =
+MOSTLYCLEANDIRS =
+MOSTLYCLEANFILES =
+MAINTAINERCLEANFILES =
+
CLEAN_LOCAL =
ALL_LOCAL =
CHECK_LOCAL =
SUFFIXES =
LDADD = gl/libgl.la
-gl/libgl.la: config.h
- $(MAKE) -C gl
-
# This ensures that files added to EXTRA_DIST are always distributed,
# even if they are inside an Automake if...endif conditional block that is
# disabled by some particular "configure" run. For more information, see:
DIST_HOOKS += generate-changelog
+GL_CFLAG_GNULIB_WARNINGS = -Wno-missing-prototypes -Wno-unused-parameter
include $(top_srcdir)/build-aux/automake.mk
+include $(top_srcdir)/gl/automake.mk
include $(top_srcdir)/po/automake.mk
include $(top_srcdir)/lib/automake.mk
include $(top_srcdir)/examples/automake.mk
touch build-aux/config.rpath
$(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
--source-base=gl --lib=libgl --tests-base=tests \
- --doc-base=gl/doc --aux-dir=build-aux \
+ --doc-base=gl/doc --aux-dir=build-aux \
+ --makefile-name=automake.mk --automake-subdir \
--libtool $(GNULIB_MODULES)
if (glibtoolize --version) >/dev/null 2>&1; then \
LIBTOOLIZE=glibtoolize; \
rm -f config.h.in~
rm -f config.h.in
rm -f gl/Makefile.in
+ rm -f gl/automake.mk
rm -f Makefile.in
rm -f build-aux/compile
rm -f build-aux/ltmain.sh
AM_CONDITIONAL(cross_compiling, test x"$cross_compiling" = x"yes" )
AC_CONFIG_FILES(
- [Makefile gl/Makefile po/Makefile tests/atlocal perl-module/lib/PSPP.pm])
+ [Makefile po/Makefile tests/atlocal perl-module/lib/PSPP.pm])
AC_CONFIG_COMMANDS([doc/pspp-figures/dummy], [:])
$(INSTALL_DATA) $$f $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/$(DOMAIN).mo ; \
done
-uninstall-hook:
+uninstall-hook: uninstall-gmofiles
+uninstall-gmofiles:
for f in $(GMOFILES); do \
lang=`echo $$f | $(SED) -e 's%po/\(.*\)\.gmo%\1%' ` ; \
rm -f $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/$(DOMAIN).mo ; \
done
-
+.PHONY: uninstall-gmofiles
EXTRA_DIST += \
$(LOCALPOFILES) \