You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/plugins/pfring/Makefile.am

28 lines
869 B
Makefile

pkglib_LTLIBRARIES = pfring.la
pfring_la_SOURCES = runmode-pfring.c source-pfring.c plugin.c
pfring_la_LDFLAGS = -module -avoid-version -shared
pfring_la_LIBADD = -lpfring
noinst_HEADERS = \
runmode-pfring.h \
source-pfring.h
# default CFLAGS
AM_CFLAGS = ${OPTIMIZATION_CFLAGS} ${GCC_CFLAGS} ${CLANG_CFLAGS} \
${SECCFLAGS} ${PCAP_CFLAGS} ${EXTRA_CFLAGS} \
-Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations \
-Wstrict-prototypes -Wwrite-strings -Wbad-function-cast \
-Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute \
-funsigned-char
# different flags for different cases
if DEBUG
AM_CFLAGS += -ggdb -O0
endif
AM_LDFLAGS = ${SECLDFLAGS}
install-exec-hook:
cd $(DESTDIR)$(pkglibdir) && $(RM) $(pkglib_LTLIBRARIES)