1# RCSIDENT("$SiLK: Makefile.am 405461487899 2017-10-09 21:45:39Z mthomas $"); 2 3# Installed Targets 4 5bin_PROGRAMS = rwbag rwbagbuild rwbagcat rwbagtool 6 7EXTRA_DIST = rwbag.pod rwbagbuild.pod rwbagcat.pod rwbagtool.pod 8if HAVE_POD2MAN 9man1_MANS = rwbag.1 rwbagbuild.1 rwbagcat.1 rwbagtool.1 10endif 11 12 13# Build Rules 14 15AM_CPPFLAGS = $(SK_SRC_INCLUDES) $(SK_CPPFLAGS) 16AM_CFLAGS = $(WARN_CFLAGS) $(SK_CFLAGS) 17AM_LDFLAGS = $(SK_LDFLAGS) $(STATIC_APPLICATIONS) 18LDADD = ../libsilk/libsilk.la 19 20rwbag_SOURCES = rwbag.c 21 22rwbagbuild_SOURCES = rwbagbuild.c 23 24rwbagcat_SOURCES = rwbagcat.c 25 26rwbagtool_SOURCES = rwbagtool.c 27 28 29# Global Rules 30include $(top_srcdir)/build.mk 31include $(top_srcdir)/lib-deps.mk 32 33 34# Tests 35 36# Required files; variables defined in ../../build.mk 37check_DATA = $(SILK_TESTSDIR) $(SILK_TESTDATA) $(SILK_TESTBAGS) 38 39EXTRA_DIST += $(TESTS) 40 41TESTS = \ 42 tests/rwbag-help.pl \ 43 tests/rwbag-version.pl \ 44 tests/rwbag-lone-command.pl \ 45 tests/rwbagbuild-help.pl \ 46 tests/rwbagbuild-version.pl \ 47 tests/rwbagbuild-lone-command.pl \ 48 tests/rwbagcat-help.pl \ 49 tests/rwbagcat-version.pl \ 50 tests/rwbagcat-lone-command.pl \ 51 tests/rwbagtool-help.pl \ 52 tests/rwbagtool-version.pl \ 53 tests/rwbagtool-lone-command.pl \ 54 tests/rwbag-no-switches.pl \ 55 tests/rwbag-no-files.pl \ 56 tests/rwbag-null-input.pl \ 57 tests/rwbag-sip-flo.pl \ 58 tests/rwbag-sip-pkt.pl \ 59 tests/rwbag-sip-byt.pl \ 60 tests/rwbag-sip-flo-pkt.pl \ 61 tests/rwbag-sip-pkt-byt.pl \ 62 tests/rwbag-dip-flo.pl \ 63 tests/rwbag-dip-pkt.pl \ 64 tests/rwbag-dip-byt.pl \ 65 tests/rwbag-sport-flo.pl \ 66 tests/rwbag-sport-pkt.pl \ 67 tests/rwbag-sport-byt.pl \ 68 tests/rwbag-dport-flo.pl \ 69 tests/rwbag-dport-pkt.pl \ 70 tests/rwbag-dport-byt.pl \ 71 tests/rwbag-proto-flo.pl \ 72 tests/rwbag-proto-pkt.pl \ 73 tests/rwbag-proto-byt.pl \ 74 tests/rwbag-dport-flow.pl \ 75 tests/rwbag-empty-input.pl \ 76 tests/rwbag-empty-input-proto.pl \ 77 tests/rwbag-multiple-inputs.pl \ 78 tests/rwbag-multiple-inputs-v6.pl \ 79 tests/rwbag-multiple-inputs-v4v6.pl \ 80 tests/rwbag-stdin.pl \ 81 tests/rwbag-copy-input.pl \ 82 tests/rwbag-sip-flo-v6.pl \ 83 tests/rwbag-sip-pkt-v6.pl \ 84 tests/rwbag-sip-byt-v6.pl \ 85 tests/rwbag-sip-flo-pkt-v6.pl \ 86 tests/rwbag-sip-pkt-byt-v6.pl \ 87 tests/rwbag-dip-flo-v6.pl \ 88 tests/rwbag-dip-pkt-v6.pl \ 89 tests/rwbag-dip-byt-v6.pl \ 90 tests/rwbag-stime-byt.pl \ 91 tests/rwbag-sensor-pkt.pl \ 92 tests/rwbag-flags-flo.pl \ 93 tests/rwbag-scc-byt.pl \ 94 tests/rwbag-dcc-pkt-v6.pl \ 95 tests/rwbag-sippmap-flo.pl \ 96 tests/rwbag-dippmap-byt-v6.pl \ 97 tests/rwbag-dportpmap-pkt.pl \ 98 tests/rwbagcat-null-input.pl \ 99 tests/rwbagcat-bad-range-key.pl \ 100 tests/rwbagcat-bad-range-counter.pl \ 101 tests/rwbagcat-sport-mn-flo.pl \ 102 tests/rwbagcat-sport-mn-pkt.pl \ 103 tests/rwbagcat-sport-mn-byt.pl \ 104 tests/rwbagcat-sport-mx-flo.pl \ 105 tests/rwbagcat-sport-mx-pkt.pl \ 106 tests/rwbagcat-sport-mx-byt.pl \ 107 tests/rwbagcat-net-struct.pl \ 108 tests/rwbagcat-net-struct-ATS.pl \ 109 tests/rwbagcat-net-struct-12.pl \ 110 tests/rwbagcat-net-struct-b1-v4.pl \ 111 tests/rwbagcat-net-struct-b2-v4.pl \ 112 tests/rwbagcat-net-struct-14-b2-v4.pl \ 113 tests/rwbagcat-net-struct-v6.pl \ 114 tests/rwbagcat-net-struct-48-v6.pl \ 115 tests/rwbagcat-net-struct-60.pl \ 116 tests/rwbagcat-net-struct-b1-v6.pl \ 117 tests/rwbagcat-net-struct-b2-v6.pl \ 118 tests/rwbagcat-net-struct-b2-61-v6.pl \ 119 tests/rwbagcat-net-struct-b1-v4-b1-v6.pl \ 120 tests/rwbagcat-net-struct-v4-b3-v6.pl \ 121 tests/rwbagcat-bin-ips-linear.pl \ 122 tests/rwbagcat-bin-ips-binary.pl \ 123 tests/rwbagcat-bin-ips-decimal.pl \ 124 tests/rwbagcat-bin-ips-linear-v6.pl \ 125 tests/rwbagcat-bin-ips-binary-v6.pl \ 126 tests/rwbagcat-bin-ips-decimal-v6.pl \ 127 tests/rwbagcat-sort-count-sip-byt.pl \ 128 tests/rwbagcat-sort-count-pro-pkt-inc.pl \ 129 tests/rwbagcat-sort-count-pro-pkt-dec.pl \ 130 tests/rwbagtool-null-input.pl \ 131 tests/rwbagtool-bad-range-key.pl \ 132 tests/rwbagtool-bad-range-counter.pl \ 133 tests/rwbagtool-mincounter.pl \ 134 tests/rwbagtool-maxcounter.pl \ 135 tests/rwbagtool-minkey.pl \ 136 tests/rwbagtool-maxkey.pl \ 137 tests/rwbagtool-add.pl \ 138 tests/rwbagtool-output-path.pl \ 139 tests/rwbagtool-invert.pl \ 140 tests/rwbagtool-coverset.pl \ 141 tests/rwbagtool-coverset-record-version.pl \ 142 tests/rwbagtool-invert-v6.pl \ 143 tests/rwbagtool-coverset-v6.pl \ 144 tests/rwbagtool-coverset-record-version-v6.pl \ 145 tests/rwbagtool-add-b1-b2-v4.pl \ 146 tests/rwbagtool-add-b2-b1-v4.pl \ 147 tests/rwbagtool-subtract-b1-b2-v4.pl \ 148 tests/rwbagtool-subtract-b2-b1-v4.pl \ 149 tests/rwbagtool-cmp-ge-b2-b1-v4.pl \ 150 tests/rwbagtool-cmp-le-b1-b2-v4.pl \ 151 tests/rwbagtool-cmp-eq-b1-b3-v4.pl \ 152 tests/rwbagtool-cmp-ge-b1-b3-v4.pl \ 153 tests/rwbagtool-minimize-b1-b3-v4.pl \ 154 tests/rwbagtool-maximize-b3-b1-v4.pl \ 155 tests/rwbagtool-divide-b1-b3-v4.pl \ 156 tests/rwbagtool-scalarmultiply-2-b1-v4.pl \ 157 tests/rwbagtool-intersect-b2-v4.pl \ 158 tests/rwbagtool-compl-intersect-b2-v4.pl \ 159 tests/rwbagtool-add-subtract-b1-b2-v4.pl \ 160 tests/rwbagtool-add-b1-b2-v6.pl \ 161 tests/rwbagtool-add-b2-b1-v6.pl \ 162 tests/rwbagtool-subtract-b1-b2-v6.pl \ 163 tests/rwbagtool-subtract-b2-b1-v6.pl \ 164 tests/rwbagtool-cmp-ge-b2-b1-v6.pl \ 165 tests/rwbagtool-cmp-le-b1-b2-v6.pl \ 166 tests/rwbagtool-cmp-eq-b1-b3-v6.pl \ 167 tests/rwbagtool-cmp-ge-b1-b3-v6.pl \ 168 tests/rwbagtool-minimize-b1-b3-v6.pl \ 169 tests/rwbagtool-maximize-b3-b1-v6.pl \ 170 tests/rwbagtool-divide-b1-b3-v6.pl \ 171 tests/rwbagtool-scalarmultiply-2-b1-v6.pl \ 172 tests/rwbagtool-intersect-b2-v6.pl \ 173 tests/rwbagtool-compl-intersect-b2-v6.pl \ 174 tests/rwbagtool-add-subtract-b1-b2-v6.pl \ 175 tests/rwbagbuild-null-input.pl \ 176 tests/rwbagbuild-baginput.pl \ 177 tests/rwbagbuild-baginput-delim.pl \ 178 tests/rwbagbuild-setinput.pl \ 179 tests/rwbagbuild-setinput-count.pl \ 180 tests/rwbagbuild-output-path.pl \ 181 tests/rwbagbuild-baginput-v6.pl \ 182 tests/rwbagbuild-setinput-v6.pl \ 183 tests/rwbagbuild-proto-max.pl \ 184 tests/rwbagbuild-proto-overflow.pl \ 185 tests/rwbagbuild-port-max.pl \ 186 tests/rwbagbuild-port-overflow.pl \ 187 tests/rwbagbuild-empty-v6.pl \ 188 tests/rwbagbuild-stime-byt.pl \ 189 tests/rwbagbuild-sensor-pkt.pl \ 190 tests/rwbagbuild-flags-flo.pl \ 191 tests/rwbagbuild-scc-byt.pl \ 192 tests/rwbagbuild-dcc-pkt-v6.pl \ 193 tests/rwbagbuild-sippmap-flo.pl \ 194 tests/rwbagbuild-dippmap-byt-v6.pl \ 195 tests/rwbagbuild-dportpmap-pkt.pl \ 196 tests/rwbagbuild-setinput-sippmap-flo.pl \ 197 tests/rwbagbuild-setinput-dcc-pkt-v6.pl 198