mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-12-06 16:13:54 +01:00
Because we are likely to be having more userspace programs soon, and
reproducing manual makefiles is a bad idea, make extensions/ ready
for automake traversal. The build pattern now is:
1. toplevel Makefile.am starts off with extensions/Makefile.am
2. Makefile.am
a. builds programs in current directory
b. runs Kbuild
- only from extensions/Makefile.am
(so it does not get reinvoked from case 2cII)
- Kbuild recurses on its own
c. runs Mbuild
I. builds iptables shared libraries in current directory
II. runs Makefile.am in each subdir (goto step 2.)
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
# -*- Makefile -*-
|
|
|
|
include ${XA_ABSTOPSRCDIR}/mconfig
|
|
-include ${XA_ABSTOPSRCDIR}/mconfig.*
|
|
|
|
obj-m += compat_xtables.o
|
|
|
|
obj-${build_ACCOUNT} += xt_ACCOUNT.o
|
|
obj-${build_CHAOS} += xt_CHAOS.o
|
|
obj-${build_DELUDE} += xt_DELUDE.o
|
|
obj-${build_DHCPMAC} += xt_DHCPMAC.o
|
|
obj-${build_ECHO} += xt_ECHO.o
|
|
obj-${build_IPMARK} += xt_IPMARK.o
|
|
obj-${build_LOGMARK} += xt_LOGMARK.o
|
|
obj-${build_RAWNAT} += xt_RAWNAT.o iptable_rawpost.o ip6table_rawpost.o
|
|
obj-${build_SYSRQ} += xt_SYSRQ.o
|
|
obj-${build_STEAL} += xt_STEAL.o
|
|
obj-${build_TARPIT} += xt_TARPIT.o
|
|
obj-${build_TEE} += xt_TEE.o
|
|
obj-${build_condition} += xt_condition.o
|
|
obj-${build_fuzzy} += xt_fuzzy.o
|
|
obj-${build_geoip} += xt_geoip.o
|
|
obj-${build_iface} += xt_iface.o
|
|
obj-${build_ipp2p} += xt_ipp2p.o
|
|
obj-${build_ipset} += ipset/
|
|
obj-${build_ipv4options} += xt_ipv4options.o
|
|
obj-${build_length2} += xt_length2.o
|
|
obj-${build_lscan} += xt_lscan.o
|
|
obj-${build_psd} += xt_psd.o
|
|
obj-${build_quota2} += xt_quota2.o
|
|
|
|
-include ${M}/*.Kbuild
|
|
-include ${M}/Kbuild.*
|