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