1# -*- Makefile -*- 2 3AM_CFLAGS = ${regular_CFLAGS} 4AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/iptables ${kinclude_CPPFLAGS} 5 6lib_LTLIBRARIES = libxtables.la 7libxtables_la_SOURCES = xtables.c xtoptions.c 8libxtables_la_LDFLAGS = -version-info ${libxtables_vcurrent}:0:${libxtables_vage} 9libxtables_la_LIBADD = 10if ENABLE_STATIC 11# With --enable-static, shipped extensions are linked into the main executable, 12# so we need all the LIBADDs here too 13libxtables_la_LIBADD += -lm ${libnetfilter_conntrack_LIBS} 14endif 15if ENABLE_SHARED 16libxtables_la_CFLAGS = ${AM_CFLAGS} 17libxtables_la_LIBADD += -ldl 18else 19libxtables_la_CFLAGS = ${AM_CFLAGS} -DNO_SHARED_LIBS=1 20endif 21