]>
Commit | Line | Data |
---|---|---|
f82070f9 JE |
1 | # -*- Makefile -*- |
2 | ||
0086b8bf | 3 | ACLOCAL_AMFLAGS = -I m4 |
f82070f9 | 4 | AUTOMAKE_OPTIONS = foreign subdir-objects |
fb6209a3 | 5 | |
8816e91c | 6 | SUBDIRS = libiptc libxtables |
f567ac91 JE |
7 | if ENABLE_DEVEL |
8 | SUBDIRS += include | |
9 | endif | |
77f15384 | 10 | if ENABLE_LIBIPQ |
f82070f9 JE |
11 | SUBDIRS += libipq |
12 | endif | |
db6d027b | 13 | SUBDIRS += utils |
8816e91c | 14 | # Depends on libxtables: |
f56b8a8b | 15 | SUBDIRS += extensions |
8816e91c JE |
16 | # Depends on extensions/libext.a: |
17 | SUBDIRS += iptables | |
f82070f9 | 18 | |
3397fb3b AB |
19 | if ENABLE_NFTABLES |
20 | confdir = $(sysconfdir) | |
21 | dist_conf_DATA = etc/ethertypes | |
22 | endif | |
23 | ||
a31cdd88 JE |
24 | .PHONY: tarball |
25 | tarball: | |
e6610c8c | 26 | rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION}; |
9e812285 | 27 | pushd ${top_srcdir} && git archive --prefix=${PACKAGE_TARNAME}-${PACKAGE_VERSION}/ HEAD | tar -C /tmp -x && popd; |
e6610c8c | 28 | pushd /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION} && ./autogen.sh && popd; |
ea6564d8 | 29 | tar -C /tmp -cjf ${PACKAGE_TARNAME}-${PACKAGE_VERSION}.tar.bz2 --owner=root --group=root ${PACKAGE_TARNAME}-${PACKAGE_VERSION}/; |
e6610c8c | 30 | rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION}; |
ee38146c | 31 | |
2c2466b0 | 32 | config.status: extensions/GNUmakefile.in \ |
093cec72 | 33 | include/xtables-version.h.in |