|
1 | 1 | pkglibdir = $(prefix)/lib |
2 | 2 | pkglib_LTLIBRARIES = mod_security2.la |
3 | | -#include_HEADERS = re.h modsecurity.h msc_logging.h msc_multipart.h \ |
4 | | -# msc_parsers.h msc_pcre.h msc_util.h msc_xml.h \ |
5 | | -# persist_dbm.h apache2.h msc_geo.h acmp.h utf8tables.h \ |
6 | | -# msc_lua.h msc_release.h |
7 | 3 |
|
8 | | -mod_security2_la_SOURCES = mod_security2.c \ |
9 | | - apache2_config.c apache2_io.c apache2_util.c \ |
10 | | - re.c re_operators.c re_actions.c re_tfns.c \ |
11 | | - re_variables.c msc_logging.c msc_xml.c \ |
12 | | - msc_multipart.c modsecurity.c msc_parsers.c \ |
13 | | - msc_util.c msc_pcre.c persist_dbm.c msc_reqbody.c \ |
14 | | - msc_geo.c msc_gsb.c msc_crypt.c msc_tree.c msc_unicode.c acmp.c msc_lua.c msc_release.c \ |
15 | | - libinjection/libinjection_sqli.c |
| 4 | +mod_security2_la_SOURCES = acmp.c \ |
| 5 | + apache2_config.c \ |
| 6 | + apache2_io.c \ |
| 7 | + apache2_util.c \ |
| 8 | + libinjection/libinjection_sqli.c \ |
| 9 | + mod_security2.c \ |
| 10 | + modsecurity.c \ |
| 11 | + msc_crypt.c \ |
| 12 | + msc_geo.c \ |
| 13 | + msc_gsb.c \ |
| 14 | + msc_logging.c \ |
| 15 | + msc_lua.c \ |
| 16 | + msc_multipart.c \ |
| 17 | + msc_parsers.c \ |
| 18 | + msc_pcre.c \ |
| 19 | + msc_release.c \ |
| 20 | + msc_reqbody.c \ |
| 21 | + msc_tree.c \ |
| 22 | + msc_unicode.c \ |
| 23 | + msc_util.c \ |
| 24 | + msc_xml.c \ |
| 25 | + persist_dbm.c \ |
| 26 | + re_actions.c \ |
| 27 | + re.c \ |
| 28 | + re_operators.c \ |
| 29 | + re_tfns.c \ |
| 30 | + re_variables.c |
16 | 31 |
|
17 | | -mod_security2_la_CFLAGS = @APXS_CFLAGS@ @APR_CFLAGS@ @APU_CFLAGS@ \ |
18 | | - @PCRE_CFLAGS@ @LIBXML2_CFLAGS@ @LUA_CFLAGS@ @MODSEC_EXTRA_CFLAGS@ @CURL_CFLAGS@ |
19 | | -mod_security2_la_CPPFLAGS = @APR_CPPFLAGS@ @PCRE_CPPFLAGS@ @LIBXML2_CPPFLAGS@ |
20 | | -mod_security2_la_LIBADD = @APR_LDADD@ @APU_LDADD@ @PCRE_LDADD@ @LIBXML2_LDADD@ @LUA_LDADD@ |
| 32 | +mod_security2_la_CFLAGS = @APR_CFLAGS@ \ |
| 33 | + @APU_CFLAGS@ \ |
| 34 | + @APXS_CFLAGS@ \ |
| 35 | + @CURL_CFLAGS@ \ |
| 36 | + @LIBXML2_CFLAGS@ \ |
| 37 | + @LUA_CFLAGS@ \ |
| 38 | + @MODSEC_EXTRA_CFLAGS@ \ |
| 39 | + @PCRE_CFLAGS@ |
| 40 | + |
| 41 | + |
| 42 | +mod_security2_la_CPPFLAGS = @APR_CPPFLAGS@ \ |
| 43 | + @LIBXML2_CPPFLAGS@ \ |
| 44 | + @PCRE_CPPFLAGS@ |
| 45 | + |
| 46 | +mod_security2_la_LIBADD = @APR_LDADD@ \ |
| 47 | + @APU_LDADD@ \ |
| 48 | + @LIBXML2_LDADD@ \ |
| 49 | + @LUA_LDADD@ \ |
| 50 | + @PCRE_LDADD@ |
21 | 51 |
|
22 | 52 | if AIX |
23 | 53 | mod_security2_la_LDFLAGS = -module -avoid-version \ |
24 | | - @APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \ |
25 | | - @PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@ |
| 54 | + @APR_LDFLAGS@ \ |
| 55 | + @APU_LDFLAGS@ \ |
| 56 | + @APXS_LDFLAGS@ \ |
| 57 | + @LIBXML2_LDFLAGS@ \ |
| 58 | + @LUA_LDFLAGS@ \ |
| 59 | + @PCRE_LDFLAGS@ |
26 | 60 | endif |
27 | 61 |
|
28 | 62 | if HPUX |
29 | 63 | mod_security2_la_LDFLAGS = -module -avoid-version \ |
30 | | - @APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \ |
31 | | - @PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@ |
| 64 | + @APR_LDFLAGS@ \ |
| 65 | + @APU_LDFLAGS@ \ |
| 66 | + @APXS_LDFLAGS@ \ |
| 67 | + @LIBXML2_LDFLAGS@ \ |
| 68 | + @LUA_LDFLAGS@ \ |
| 69 | + @PCRE_LDFLAGS@ |
32 | 70 | endif |
33 | 71 |
|
34 | 72 | if MACOSX |
35 | 73 | mod_security2_la_LDFLAGS = -module -avoid-version \ |
36 | | - @APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \ |
37 | | - @PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@ |
| 74 | + @APR_LDFLAGS@ \ |
| 75 | + @APU_LDFLAGS@ \ |
| 76 | + @APXS_LDFLAGS@ \ |
| 77 | + @LIBXML2_LDFLAGS@ \ |
| 78 | + @LUA_LDFLAGS@ \ |
| 79 | + @PCRE_LDFLAGS@ |
38 | 80 | endif |
39 | 81 |
|
40 | 82 | if SOLARIS |
41 | 83 | mod_security2_la_LDFLAGS = -module -avoid-version \ |
42 | | - @APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \ |
43 | | - @PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@ |
| 84 | + @APR_LDFLAGS@ \ |
| 85 | + @APU_LDFLAGS@ \ |
| 86 | + @APXS_LDFLAGS@ \ |
| 87 | + @LIBXML2_LDFLAGS@ \ |
| 88 | + @LUA_LDFLAGS@ \ |
| 89 | + @PCRE_LDFLAGS@ |
44 | 90 | endif |
45 | 91 |
|
46 | 92 | if LINUX |
47 | 93 | mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version -R @PCRE_LD_PATH@ \ |
48 | | - @APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \ |
49 | | - @PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@ |
| 94 | + @APR_LDFLAGS@ \ |
| 95 | + @APU_LDFLAGS@ \ |
| 96 | + @APXS_LDFLAGS@ \ |
| 97 | + @LIBXML2_LDFLAGS@ \ |
| 98 | + @LUA_LDFLAGS@ \ |
| 99 | + @PCRE_LDFLAGS@ |
50 | 100 | endif |
51 | 101 |
|
52 | 102 | if FREEBSD |
53 | 103 | mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \ |
54 | | - @APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \ |
55 | | - @PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@ |
| 104 | + @APR_LDFLAGS@ \ |
| 105 | + @APU_LDFLAGS@ \ |
| 106 | + @APXS_LDFLAGS@ \ |
| 107 | + @LIBXML2_LDFLAGS@ \ |
| 108 | + @LUA_LDFLAGS@ \ |
| 109 | + @PCRE_LDFLAGS@ |
56 | 110 | endif |
57 | 111 |
|
58 | 112 | if OPENBSD |
59 | 113 | mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \ |
60 | | - @APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \ |
61 | | - @PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@ |
| 114 | + @APR_LDFLAGS@ \ |
| 115 | + @APU_LDFLAGS@ \ |
| 116 | + @APXS_LDFLAGS@ \ |
| 117 | + @LIBXML2_LDFLAGS@ \ |
| 118 | + @LUA_LDFLAGS@ \ |
| 119 | + @PCRE_LDFLAGS@ |
62 | 120 | endif |
63 | 121 |
|
64 | 122 | if NETBSD |
65 | 123 | mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \ |
66 | | - @APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \ |
67 | | - @PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@ |
| 124 | + @APR_LDFLAGS@ \ |
| 125 | + @APU_LDFLAGS@ \ |
| 126 | + @APXS_LDFLAGS@ \ |
| 127 | + @LIBXML2_LDFLAGS@ \ |
| 128 | + @LUA_LDFLAGS@ \ |
| 129 | + @PCRE_LDFLAGS@ |
68 | 130 | endif |
69 | 131 |
|
70 | 132 | if LINUX |
|
0 commit comments