# -*- Makefile -*- # MANUAL abs_top_srcdir = /home/hanzlik/rpmbuild/BUILD/xtables-addons-3.9 prefix = /usr exec_prefix = /usr libexecdir = /usr/libexec xtlibdir = /usr/lib64/xtables CC = gcc CCLD = ${CC} CFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection LDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld libxtables_CFLAGS = libxtables_LIBS = -lxtables AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@ AM_DEFAULT_VERBOSITY = 0 am__v_CC_0 = @echo " CC " $@; am__v_CCLD_0 = @echo " CCLD " $@; am__v_GEN_0 = @echo " GEN " $@; am__v_SILENT_0 = @ am__v_CC_ = ${am__v_CC_${AM_DEFAULT_VERBOSITY}} am__v_CCLD_ = ${am__v_CCLD_${AM_DEFAULT_VERBOSITY}} am__v_GEN_ = ${am__v_GEN_${AM_DEFAULT_VERBOSITY}} am__v_SILENT_ = ${am__v_SILENT_${AM_DEFAULT_VERBOSITY}} AM_V_CC = ${am__v_CC_${V}} AM_V_CCLD = ${am__v_CCLD_${V}} AM_V_GEN = ${am__v_GEN_${V}} AM_V_silent = ${am__v_GEN_${V}} include ${XA_TOPSRCDIR}/mconfig -include ${XA_TOPSRCDIR}/mconfig.* include ${XA_SRCDIR}/Mbuild -include ${XA_SRCDIR}/Mbuild.* targets := $(filter-out %/,${obj-m}) subdirs_list := $(filter %/,${obj-m}) .SECONDARY: .PHONY: all install clean all: ${targets} @for i in ${subdirs_list}; do ${MAKE} -C $$i || exit $$?; done; install: ${targets} @for i in ${subdirs_list}; do ${MAKE} -C $$i $@ || exit $$?; done; install -dm0755 "${DESTDIR}/${xtlibdir}"; @for i in $^; do install -pm0755 $$i "${DESTDIR}/${xtlibdir}"; done; clean: @for i in ${subdirs_list}; do ${MAKE} -C $$i $@ || exit $$?; done; rm -f *.oo *.so; lib%.so: lib%.oo ${AM_V_CCLD}${CCLD} ${AM_LDFLAGS} -shared ${LDFLAGS} -o $@ $< ${libxtables_LIBS} ${LDLIBS}; %.oo: ${XA_SRCDIR}/%.c ${AM_V_CC}${CC} ${AM_DEPFLAGS} ${AM_CPPFLAGS} ${AM_CFLAGS} -DPIC -fPIC ${CPPFLAGS} ${CFLAGS} -o $@ -c $<;