mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-12-29 19:33:51 +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.)
10 lines
182 B
Makefile
10 lines
182 B
Makefile
# -*- Makefile -*-
|
|
|
|
AM_CFLAGS = ${regular_CFLAGS} -DIPSET_LIB_DIR=\"${xtlibdir}\"
|
|
|
|
include ../../Makefile.extra
|
|
|
|
sbin_PROGRAMS = ipset
|
|
ipset_LDADD = -ldl
|
|
ipset_LDFLAGS = -rdynamic
|