1## $Id 2AUTOMAKE_OPTIONS=foreign no-dependencies 3 4include $(srcdir)/Makefile_defs 5 6dynamicpreprocessordir = ${libdir}/snort_dynamicpreprocessor 7 8dynamicpreprocessor_LTLIBRARIES = libsf_appid_preproc.la 9 10 11libsf_appid_preproc_la_LDFLAGS = -export-dynamic -module @XCCFLAGS@ 12if SO_WITH_STATIC_LIB 13libsf_appid_preproc_la_LIBADD = ../libsf_dynamic_preproc.la ../libsf_dynamic_utils.la $(LUA_LIBS) 14else 15nodist_libsf_appid_preproc_la_SOURCES = \ 16../include/sf_dynamic_preproc_lib.c \ 17../include/sf_ip.c \ 18../include/sfPolicyUserData.c \ 19../include/sfxhash.c \ 20../include/sfghash.c \ 21../include/sflsq.c \ 22../include/sfhashfcn.c \ 23../include/sfmemcap.c \ 24../include/sfprimetable.c 25 26libsf_appid_preproc_la_LIBADD = $(LUA_LIBS) 27endif 28 29libsf_appid_preproc_la_CFLAGS = -DDYNAMIC_PREPROC_CONTEXT -DSTATIC=static -DINLINE=inline $(LUA_CFLAGS) 30 31libsf_appid_preproc_la_SOURCES = $(APPID_SOURCES) 32 33all-local: $(LTLIBRARIES) 34 $(MAKE) DESTDIR=`pwd`/../build install-dynamicpreprocessorLTLIBRARIES 35