Makefile.am revision df60a301bf24c3b3e37188d9da155b97fd6dc076
1# -*- Makefile -*- 2 3ACLOCAL_AMFLAGS = -I m4 4AUTOMAKE_OPTIONS = foreign subdir-objects 5 6SUBDIRS = libiptc libxtables 7if ENABLE_DEVEL 8SUBDIRS += include 9endif 10if ENABLE_LIBIPQ 11SUBDIRS += libipq 12endif 13if HAVE_LIBNFNETLINK 14SUBDIRS += utils 15endif 16# Depends on libxtables: 17SUBDIRS += extensions 18# Depends on extensions/libext.a: 19SUBDIRS += iptables 20 21.PHONY: tarball 22tarball: 23 rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION}; 24 pushd ${top_srcdir} && git archive --prefix=${PACKAGE_TARNAME}-${PACKAGE_VERSION}/ HEAD | tar -C /tmp -x && popd; 25 pushd /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION} && ./autogen.sh && popd; 26 tar -C /tmp -cjf ${PACKAGE_TARNAME}-${PACKAGE_VERSION}.tar.bz2 --owner=root --group=root ${PACKAGE_TARNAME}-${PACKAGE_VERSION}/; 27 rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION}; 28 29config.status: extensions/GNUmakefile.in \ 30 include/xtables-version.h.in include/iptables/internal.h.in 31