Makefile.am 948 B

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