]> git.ipfire.org Git - people/ms/suricata.git/blob - src/Makefile.am
a272d0a61e17f324a98f40f76e2da6c46b9fada1
[people/ms/suricata.git] / src / Makefile.am
1 bin_PROGRAMS = suricata
2 if BUILD_FUZZTARGETS
3 bin_PROGRAMS += fuzz_applayerprotodetectgetproto \
4 fuzz_applayerparserparse fuzz_siginit \
5 fuzz_confyamlloadstring fuzz_decodepcapfile \
6 fuzz_sigpcap fuzz_mimedecparseline
7 endif
8
9 noinst_HEADERS = \
10 action-globals.h \
11 alert-debuglog.h \
12 alert-fastlog.h \
13 alert-prelude.h \
14 alert-syslog.h \
15 app-layer-dcerpc-common.h \
16 app-layer-dcerpc.h \
17 app-layer-dcerpc-udp.h \
18 app-layer-detect-proto.h \
19 app-layer-dnp3.h \
20 app-layer-dnp3-objects.h \
21 app-layer-enip-common.h \
22 app-layer-enip.h \
23 app-layer-events.h \
24 app-layer-expectation.h \
25 app-layer-ftp.h \
26 app-layer.h \
27 app-layer-htp-body.h \
28 app-layer-htp-file.h \
29 app-layer-htp.h \
30 app-layer-htp-libhtp.h \
31 app-layer-htp-mem.h \
32 app-layer-htp-xff.h \
33 app-layer-http2.h \
34 app-layer-ike.h \
35 app-layer-krb5.h \
36 app-layer-modbus.h \
37 app-layer-mqtt.h \
38 app-layer-nbss.h \
39 app-layer-nfs-tcp.h \
40 app-layer-nfs-udp.h \
41 app-layer-ntp.h \
42 app-layer-parser.h \
43 app-layer-protos.h \
44 app-layer-rdp.h \
45 app-layer-register.h \
46 app-layer-rfb.h \
47 app-layer-sip.h \
48 app-layer-smb.h \
49 app-layer-smtp.h \
50 app-layer-snmp.h \
51 app-layer-ssh.h \
52 app-layer-ssl.h \
53 app-layer-template.h \
54 app-layer-template-rust.h \
55 app-layer-tftp.h \
56 autoconf.h \
57 build-info.h \
58 conf.h \
59 conf-yaml-loader.h \
60 counters.h \
61 datasets.h \
62 datasets-md5.h \
63 datasets-reputation.h \
64 datasets-sha256.h \
65 datasets-string.h \
66 debug.h \
67 decode-chdlc.h \
68 decode-erspan.h \
69 decode-esp.h \
70 decode-ethernet.h \
71 decode-events.h \
72 decode-geneve.h \
73 decode-gre.h \
74 decode.h \
75 decode-icmpv4.h \
76 decode-icmpv6.h \
77 decode-ipv4.h \
78 decode-ipv6.h \
79 decode-mpls.h \
80 decode-nsh.h \
81 decode-null.h \
82 decode-ppp.h \
83 decode-pppoe.h \
84 decode-raw.h \
85 decode-sctp.h \
86 decode-sll.h \
87 decode-tcp.h \
88 decode-template.h \
89 decode-teredo.h \
90 decode-udp.h \
91 decode-vlan.h \
92 decode-vxlan.h \
93 defrag-config.h \
94 defrag.h \
95 defrag-hash.h \
96 defrag-queue.h \
97 defrag-timeout.h \
98 detect-app-layer-event.h \
99 detect-app-layer-protocol.h \
100 detect-asn1.h \
101 detect-base64-data.h \
102 detect-base64-decode.h \
103 detect-bsize.h \
104 detect-bypass.h \
105 detect-byte-extract.h \
106 detect-byte.h \
107 detect-bytejump.h \
108 detect-bytemath.h \
109 detect-bytetest.h \
110 detect-cipservice.h \
111 detect-classtype.h \
112 detect-config.h \
113 detect-content.h \
114 detect-csum.h \
115 detect-datarep.h \
116 detect-dataset.h \
117 detect-dce-iface.h \
118 detect-dce-opnum.h \
119 detect-dce-stub-data.h \
120 detect-depth.h \
121 detect-detection-filter.h \
122 detect-distance.h \
123 detect-dnp3.h \
124 detect-dns-opcode.h \
125 detect-dns-query.h \
126 detect-dsize.h \
127 detect-engine-address.h \
128 detect-engine-address-ipv4.h \
129 detect-engine-address-ipv6.h \
130 detect-engine-alert.h \
131 detect-engine-analyzer.h \
132 detect-engine-build.h \
133 detect-engine-content-inspection.h \
134 detect-engine-dcepayload.h \
135 detect-engine-dns.h \
136 detect-engine-enip.h \
137 detect-engine-event.h \
138 detect-engine-file.h \
139 detect-engine.h \
140 detect-engine-iponly.h \
141 detect-engine-loader.h \
142 detect-engine-modbus.h \
143 detect-engine-mpm.h \
144 detect-engine-payload.h \
145 detect-engine-port.h \
146 detect-engine-prefilter-common.h \
147 detect-engine-prefilter.h \
148 detect-engine-profile.h \
149 detect-engine-proto.h \
150 detect-engine-register.h \
151 detect-engine-siggroup.h \
152 detect-engine-sigorder.h \
153 detect-engine-state.h \
154 detect-engine-tag.h \
155 detect-engine-threshold.h \
156 detect-engine-uint.h \
157 detect-fast-pattern.h \
158 detect-file-data.h \
159 detect-fileext.h \
160 detect-file-hash-common.h \
161 detect-filemagic.h \
162 detect-filemd5.h \
163 detect-filename.h \
164 detect-filesha1.h \
165 detect-filesha256.h \
166 detect-filesize.h \
167 detect-filestore.h \
168 detect-flowbits.h \
169 detect-flow.h \
170 detect-flowint.h \
171 detect-flowvar.h \
172 detect-fragbits.h \
173 detect-fragoffset.h \
174 detect-ftpbounce.h \
175 detect-ftpdata.h \
176 detect-geoip.h \
177 detect-gid.h \
178 detect.h \
179 detect-hostbits.h \
180 detect-http2.h \
181 detect-http-accept-enc.h \
182 detect-http-accept.h \
183 detect-http-accept-lang.h \
184 detect-http-client-body.h \
185 detect-http-connection.h \
186 detect-http-content-len.h \
187 detect-http-content-type.h \
188 detect-http-cookie.h \
189 detect-http-header-common.h \
190 detect-http-header.h \
191 detect-http-header-names.h \
192 detect-http-headers.h \
193 detect-http-headers-stub.h \
194 detect-http-host.h \
195 detect-http-location.h \
196 detect-http-method.h \
197 detect-http-protocol.h \
198 detect-http-raw-header.h \
199 detect-http-referer.h \
200 detect-http-request-line.h \
201 detect-http-response-line.h \
202 detect-http-server-body.h \
203 detect-http-server.h \
204 detect-http-start.h \
205 detect-http-stat-code.h \
206 detect-http-stat-msg.h \
207 detect-http-ua.h \
208 detect-http-uri.h \
209 detect-icmp-id.h \
210 detect-icmp-seq.h \
211 detect-icmpv4hdr.h \
212 detect-icmpv6hdr.h \
213 detect-icmpv6-mtu.h \
214 detect-icode.h \
215 detect-id.h \
216 detect-ipopts.h \
217 detect-ipproto.h \
218 detect-iprep.h \
219 detect-ipv4hdr.h \
220 detect-ipv6hdr.h \
221 detect-isdataat.h \
222 detect-itype.h \
223 detect-krb5-cname.h \
224 detect-krb5-errcode.h \
225 detect-krb5-msgtype.h \
226 detect-krb5-sname.h \
227 detect-l3proto.h \
228 detect-lua-extensions.h \
229 detect-lua.h \
230 detect-mark.h \
231 detect-metadata.h \
232 detect-modbus.h \
233 detect-mqtt-connack-sessionpresent.h \
234 detect-mqtt-connect-clientid.h \
235 detect-mqtt-connect-flags.h \
236 detect-mqtt-connect-password.h \
237 detect-mqtt-connect-username.h \
238 detect-mqtt-connect-willmessage.h \
239 detect-mqtt-connect-willtopic.h \
240 detect-mqtt-flags.h \
241 detect-mqtt-protocol-version.h \
242 detect-mqtt-publish-message.h \
243 detect-mqtt-publish-topic.h \
244 detect-mqtt-qos.h \
245 detect-mqtt-reason-code.h \
246 detect-mqtt-subscribe-topic.h \
247 detect-mqtt-type.h \
248 detect-mqtt-unsubscribe-topic.h \
249 detect-msg.h \
250 detect-nfs-procedure.h \
251 detect-nfs-version.h \
252 detect-noalert.h \
253 detect-nocase.h \
254 detect-offset.h \
255 detect-parse.h \
256 detect-pcre.h \
257 detect-pkt-data.h \
258 detect-pktvar.h \
259 detect-prefilter.h \
260 detect-priority.h \
261 detect-rawbytes.h \
262 detect-reference.h \
263 detect-replace.h \
264 detect-rev.h \
265 detect-rfb-name.h \
266 detect-rfb-secresult.h \
267 detect-rfb-sectype.h \
268 detect-rpc.h \
269 detect-sameip.h \
270 detect-sid.h \
271 detect-sip-method.h \
272 detect-sip-protocol.h \
273 detect-sip-request-line.h \
274 detect-sip-response-line.h \
275 detect-sip-stat-code.h \
276 detect-sip-stat-msg.h \
277 detect-sip-uri.h \
278 detect-smb-share.h \
279 detect-snmp-community.h \
280 detect-snmp-pdu_type.h \
281 detect-snmp-version.h \
282 detect-ssh-hassh.h \
283 detect-ssh-hassh-server.h \
284 detect-ssh-hassh-server-string.h \
285 detect-ssh-hassh-string.h \
286 detect-ssh-proto.h \
287 detect-ssh-proto-version.h \
288 detect-ssh-software.h \
289 detect-ssh-software-version.h \
290 detect-ssl-state.h \
291 detect-ssl-version.h \
292 detect-stream_size.h \
293 detect-tag.h \
294 detect-target.h \
295 detect-tcp-ack.h \
296 detect-tcp-flags.h \
297 detect-tcphdr.h \
298 detect-tcpmss.h \
299 detect-tcp-seq.h \
300 detect-tcp-window.h \
301 detect-template2.h \
302 detect-template-buffer.h \
303 detect-template.h \
304 detect-template-rust-buffer.h \
305 detect-threshold.h \
306 detect-tls-cert-fingerprint.h \
307 detect-tls-cert-issuer.h \
308 detect-tls-cert-serial.h \
309 detect-tls-certs.h \
310 detect-tls-cert-subject.h \
311 detect-tls-cert-validity.h \
312 detect-tls.h \
313 detect-tls-ja3-hash.h \
314 detect-tls-ja3s-hash.h \
315 detect-tls-ja3s-string.h \
316 detect-tls-ja3-string.h \
317 detect-tls-sni.h \
318 detect-tls-version.h \
319 detect-tos.h \
320 detect-transform-compress-whitespace.h \
321 detect-transform-dotprefix.h \
322 detect-transform-md5.h \
323 detect-transform-pcrexform.h \
324 detect-transform-sha1.h \
325 detect-transform-sha256.h \
326 detect-transform-strip-whitespace.h \
327 detect-transform-urldecode.h \
328 detect-ttl.h \
329 detect-udphdr.h \
330 detect-uricontent.h \
331 detect-urilen.h \
332 detect-within.h \
333 detect-xbits.h \
334 device-storage.h \
335 feature.h \
336 flow-bit.h \
337 flow-bypass.h \
338 flow.h \
339 flow-hash.h \
340 flow-manager.h \
341 flow-private.h \
342 flow-queue.h \
343 flow-spare-pool.h \
344 flow-storage.h \
345 flow-timeout.h \
346 flow-util.h \
347 flow-var.h \
348 flow-worker.h \
349 host-bit.h \
350 host.h \
351 host-queue.h \
352 host-storage.h \
353 host-timeout.h \
354 ippair-bit.h \
355 ippair.h \
356 ippair-queue.h \
357 ippair-storage.h \
358 ippair-timeout.h \
359 log-cf-common.h \
360 log-httplog.h \
361 log-pcap.h \
362 log-stats.h \
363 log-tcp-data.h \
364 log-tlslog.h \
365 log-tlsstore.h \
366 output-filedata.h \
367 output-file.h \
368 output-filestore.h \
369 output-flow.h \
370 output.h \
371 output-json-alert.h \
372 output-json-anomaly.h \
373 output-json-dcerpc.h \
374 output-json-dhcp.h \
375 output-json-dnp3.h \
376 output-json-dnp3-objects.h \
377 output-json-dns.h \
378 output-json-drop.h \
379 output-json-email-common.h \
380 output-json-file.h \
381 output-json-flow.h \
382 output-json-ftp.h \
383 output-json.h \
384 output-json-http2.h \
385 output-json-http.h \
386 output-json-ike.h \
387 output-json-krb5.h \
388 output-json-metadata.h \
389 output-json-mqtt.h \
390 output-json-netflow.h \
391 output-json-nfs.h \
392 output-json-rdp.h \
393 output-json-rfb.h \
394 output-json-sip.h \
395 output-json-smb.h \
396 output-json-smtp.h \
397 output-json-snmp.h \
398 output-json-ssh.h \
399 output-json-stats.h \
400 output-json-template.h \
401 output-json-template-rust.h \
402 output-json-tftp.h \
403 output-json-tls.h \
404 output-lua.h \
405 output-packet.h \
406 output-stats.h \
407 output-streaming.h \
408 output-tx.h \
409 packet-queue.h \
410 pkt-var.h \
411 queue.h \
412 reputation.h \
413 respond-reject.h \
414 respond-reject-libnet11.h \
415 runmode-af-packet.h \
416 runmode-erf-dag.h \
417 runmode-erf-file.h \
418 runmode-ipfw.h \
419 runmode-napatech.h \
420 runmode-netmap.h \
421 runmode-nflog.h \
422 runmode-nfq.h \
423 runmode-pcap-file.h \
424 runmode-pcap.h \
425 runmode-pfring.h \
426 runmodes.h \
427 runmode-unittests.h \
428 runmode-unix-socket.h \
429 runmode-windivert.h \
430 rust-context.h \
431 rust.h \
432 source-af-packet.h \
433 source-erf-dag.h \
434 source-erf-file.h \
435 source-ipfw.h \
436 source-napatech.h \
437 source-netmap.h \
438 source-nflog.h \
439 source-nfq.h \
440 source-nfq-prototypes.h \
441 source-pcap-file-directory-helper.h \
442 source-pcap-file.h \
443 source-pcap-file-helper.h \
444 source-pcap.h \
445 source-pfring.h \
446 source-windivert.h \
447 source-windivert-prototypes.h \
448 stream.h \
449 stream-tcp.h \
450 stream-tcp-inline.h \
451 stream-tcp-list.h \
452 stream-tcp-private.h \
453 stream-tcp-reassemble.h \
454 stream-tcp-sack.h \
455 stream-tcp-util.h \
456 suricata-common.h \
457 suricata.h \
458 suricata-plugin.h \
459 threads-debug.h \
460 threads.h \
461 threads-profile.h \
462 threadvars.h \
463 tm-modules.h \
464 tmqh-flow.h \
465 tmqh-packetpool.h \
466 tmqh-simple.h \
467 tm-queuehandlers.h \
468 tm-queues.h \
469 tm-threads-common.h \
470 tm-threads.h \
471 tree.h \
472 unix-manager.h \
473 util-action.h \
474 util-affinity.h \
475 util-atomic.h \
476 util-base64.h \
477 util-bloomfilter-counting.h \
478 util-bloomfilter.h \
479 util-bpf.h \
480 util-buffer.h \
481 util-byte.h \
482 util-checksum.h \
483 util-cidr.h \
484 util-classification-config.h \
485 util-clock.h \
486 util-conf.h \
487 util-config.h \
488 util-coredump-config.h \
489 util-cpu.h \
490 util-crypt.h \
491 util-daemon.h \
492 util-debug-filters.h \
493 util-debug.h \
494 util-decode-mime.h \
495 util-detect.h \
496 util-device.h \
497 util-ebpf.h \
498 util-enum.h \
499 util-error.h \
500 util-file-decompression.h \
501 util-file.h \
502 util-file-swf-decompression.h \
503 util-fix_checksum.h \
504 util-fmemopen.h \
505 util-hash.h \
506 util-hashlist.h \
507 util-hash-lookup3.h \
508 util-hash-string.h \
509 util-host-info.h \
510 util-host-os-info.h \
511 util-hyperscan.h \
512 util-ioctl.h \
513 util-ip.h \
514 util-ja3.h \
515 util-logopenfile.h \
516 util-log-redis.h \
517 util-lua-common.h \
518 util-lua-dnp3.h \
519 util-lua-dnp3-objects.h \
520 util-lua-dns.h \
521 util-lua.h \
522 util-lua-hassh.h \
523 util-lua-http.h \
524 util-lua-ja3.h \
525 util-luajit.h \
526 util-lua-smtp.h \
527 util-lua-ssh.h \
528 util-lua-tls.h \
529 util-macset.h \
530 util-magic.h \
531 util-memcmp.h \
532 util-memcpy.h \
533 util-mem.h \
534 util-memrchr.h \
535 util-misc.h \
536 util-mpm-ac-bs.h \
537 util-mpm-ac.h \
538 util-mpm-ac-ks.h \
539 util-mpm.h \
540 util-mpm-hs.h \
541 util-napatech.h \
542 util-optimize.h \
543 util-pages.h \
544 util-path.h \
545 util-pidfile.h \
546 util-plugin.h \
547 util-pool.h \
548 util-pool-thread.h \
549 util-prefilter.h \
550 util-print.h \
551 util-privs.h \
552 util-profiling.h \
553 util-profiling-locks.h \
554 util-proto-name.h \
555 util-radix-tree.h \
556 util-random.h \
557 util-reference-config.h \
558 util-rohash.h \
559 util-rule-vars.h \
560 util-runmodes.h \
561 util-running-modes.h \
562 util-signal.h \
563 util-spm-bm.h \
564 util-spm-bs2bm.h \
565 util-spm-bs.h \
566 util-spm.h \
567 util-spm-hs.h \
568 util-storage.h \
569 util-streaming-buffer.h \
570 util-syslog.h \
571 util-thash.h \
572 util-threshold-config.h \
573 util-time.h \
574 util-unittest.h \
575 util-unittest-helper.h \
576 util-validate.h \
577 util-var.h \
578 util-var-name.h \
579 util-vector.h \
580 win32-misc.h \
581 win32-service.h \
582 win32-syscall.h \
583 win32-syslog.h
584
585 libsuricata_c_a_SOURCES = \
586 alert-debuglog.c \
587 alert-fastlog.c \
588 alert-prelude.c \
589 alert-syslog.c \
590 app-layer.c \
591 app-layer-dcerpc.c \
592 app-layer-dcerpc-udp.c \
593 app-layer-detect-proto.c \
594 app-layer-dnp3.c \
595 app-layer-dnp3-objects.c \
596 app-layer-enip.c \
597 app-layer-enip-common.c \
598 app-layer-events.c \
599 app-layer-expectation.c \
600 app-layer-ftp.c \
601 app-layer-htp-body.c \
602 app-layer-htp.c \
603 app-layer-htp-file.c \
604 app-layer-htp-libhtp.c \
605 app-layer-htp-mem.c \
606 app-layer-htp-xff.c \
607 app-layer-http2.c \
608 app-layer-ike.c \
609 app-layer-krb5.c \
610 app-layer-modbus.c \
611 app-layer-mqtt.c \
612 app-layer-nfs-tcp.c \
613 app-layer-nfs-udp.c \
614 app-layer-ntp.c \
615 app-layer-parser.c \
616 app-layer-protos.c \
617 app-layer-rdp.c \
618 app-layer-register.c \
619 app-layer-rfb.c \
620 app-layer-sip.c \
621 app-layer-smb.c \
622 app-layer-smtp.c \
623 app-layer-snmp.c \
624 app-layer-ssh.c \
625 app-layer-ssl.c \
626 app-layer-template.c \
627 app-layer-template-rust.c \
628 app-layer-tftp.c \
629 conf.c \
630 conf-yaml-loader.c \
631 counters.c \
632 datasets.c \
633 datasets-md5.c \
634 datasets-sha256.c \
635 datasets-string.c \
636 decode.c \
637 decode-chdlc.c \
638 decode-erspan.c \
639 decode-esp.c \
640 decode-ethernet.c \
641 decode-events.c \
642 decode-geneve.c \
643 decode-gre.c \
644 decode-icmpv4.c \
645 decode-icmpv6.c \
646 decode-ipv4.c \
647 decode-ipv6.c \
648 decode-mpls.c \
649 decode-nsh.c \
650 decode-null.c \
651 decode-ppp.c \
652 decode-pppoe.c \
653 decode-raw.c \
654 decode-sctp.c \
655 decode-sll.c \
656 decode-tcp.c \
657 decode-template.c \
658 decode-teredo.c \
659 decode-udp.c \
660 decode-vlan.c \
661 decode-vxlan.c \
662 defrag.c \
663 defrag-config.c \
664 defrag-hash.c \
665 defrag-queue.c \
666 defrag-timeout.c \
667 detect-app-layer-event.c \
668 detect-app-layer-protocol.c \
669 detect-asn1.c \
670 detect-base64-data.c \
671 detect-base64-decode.c \
672 detect-bsize.c \
673 detect-bypass.c \
674 detect-byte.c \
675 detect-byte-extract.c \
676 detect-bytejump.c \
677 detect-bytemath.c \
678 detect-bytetest.c \
679 detect.c \
680 detect-cipservice.c \
681 detect-classtype.c \
682 detect-config.c \
683 detect-content.c \
684 detect-csum.c \
685 detect-datarep.c \
686 detect-dataset.c \
687 detect-dce-iface.c \
688 detect-dce-opnum.c \
689 detect-dce-stub-data.c \
690 detect-depth.c \
691 detect-detection-filter.c \
692 detect-distance.c \
693 detect-dnp3.c \
694 detect-dns-opcode.c \
695 detect-dns-query.c \
696 detect-dsize.c \
697 detect-engine-address.c \
698 detect-engine-address-ipv4.c \
699 detect-engine-address-ipv6.c \
700 detect-engine-alert.c \
701 detect-engine-analyzer.c \
702 detect-engine-build.c \
703 detect-engine.c \
704 detect-engine-content-inspection.c \
705 detect-engine-dcepayload.c \
706 detect-engine-dns.c \
707 detect-engine-enip.c \
708 detect-engine-event.c \
709 detect-engine-file.c \
710 detect-engine-iponly.c \
711 detect-engine-loader.c \
712 detect-engine-modbus.c \
713 detect-engine-mpm.c \
714 detect-engine-payload.c \
715 detect-engine-port.c \
716 detect-engine-prefilter.c \
717 detect-engine-prefilter-common.c \
718 detect-engine-profile.c \
719 detect-engine-proto.c \
720 detect-engine-register.c \
721 detect-engine-siggroup.c \
722 detect-engine-sigorder.c \
723 detect-engine-state.c \
724 detect-engine-tag.c \
725 detect-engine-threshold.c \
726 detect-engine-uint.c \
727 detect-fast-pattern.c \
728 detect-file-data.c \
729 detect-fileext.c \
730 detect-file-hash-common.c \
731 detect-filemagic.c \
732 detect-filemd5.c \
733 detect-filename.c \
734 detect-filesha1.c \
735 detect-filesha256.c \
736 detect-filesize.c \
737 detect-filestore.c \
738 detect-flowbits.c \
739 detect-flow.c \
740 detect-flowint.c \
741 detect-flowvar.c \
742 detect-fragbits.c \
743 detect-fragoffset.c \
744 detect-ftpbounce.c \
745 detect-ftpdata.c \
746 detect-geoip.c \
747 detect-gid.c \
748 detect-hostbits.c \
749 detect-http2.c \
750 detect-http-accept.c \
751 detect-http-accept-enc.c \
752 detect-http-accept-lang.c \
753 detect-http-client-body.c \
754 detect-http-connection.c \
755 detect-http-content-len.c \
756 detect-http-content-type.c \
757 detect-http-cookie.c \
758 detect-http-header.c \
759 detect-http-header-common.c \
760 detect-http-header-names.c \
761 detect-http-headers.c \
762 detect-http-host.c \
763 detect-http-location.c \
764 detect-http-method.c \
765 detect-http-protocol.c \
766 detect-http-raw-header.c \
767 detect-http-referer.c \
768 detect-http-request-line.c \
769 detect-http-response-line.c \
770 detect-http-server-body.c \
771 detect-http-server.c \
772 detect-http-start.c \
773 detect-http-stat-code.c \
774 detect-http-stat-msg.c \
775 detect-http-ua.c \
776 detect-http-uri.c \
777 detect-icmp-id.c \
778 detect-icmp-seq.c \
779 detect-icmpv4hdr.c \
780 detect-icmpv6hdr.c \
781 detect-icmpv6-mtu.c \
782 detect-icode.c \
783 detect-id.c \
784 detect-ipopts.c \
785 detect-ipproto.c \
786 detect-iprep.c \
787 detect-ipv4hdr.c \
788 detect-ipv6hdr.c \
789 detect-isdataat.c \
790 detect-itype.c \
791 detect-krb5-cname.c \
792 detect-krb5-errcode.c \
793 detect-krb5-msgtype.c \
794 detect-krb5-sname.c \
795 detect-l3proto.c \
796 detect-lua.c \
797 detect-lua-extensions.c \
798 detect-mark.c \
799 detect-metadata.c \
800 detect-modbus.c \
801 detect-mqtt-connack-sessionpresent.c \
802 detect-mqtt-connect-clientid.c \
803 detect-mqtt-connect-flags.c \
804 detect-mqtt-connect-password.c \
805 detect-mqtt-connect-username.c \
806 detect-mqtt-connect-willmessage.c \
807 detect-mqtt-connect-willtopic.c \
808 detect-mqtt-flags.c \
809 detect-mqtt-protocol-version.c \
810 detect-mqtt-publish-message.c \
811 detect-mqtt-publish-topic.c \
812 detect-mqtt-qos.c \
813 detect-mqtt-reason-code.c \
814 detect-mqtt-subscribe-topic.c \
815 detect-mqtt-type.c \
816 detect-mqtt-unsubscribe-topic.c \
817 detect-msg.c \
818 detect-nfs-procedure.c \
819 detect-nfs-version.c \
820 detect-noalert.c \
821 detect-nocase.c \
822 detect-offset.c \
823 detect-parse.c \
824 detect-pcre.c \
825 detect-pkt-data.c \
826 detect-pktvar.c \
827 detect-prefilter.c \
828 detect-priority.c \
829 detect-rawbytes.c \
830 detect-reference.c \
831 detect-replace.c \
832 detect-rev.c \
833 detect-rfb-name.c \
834 detect-rfb-secresult.c \
835 detect-rfb-sectype.c \
836 detect-rpc.c \
837 detect-sameip.c \
838 detect-sid.c \
839 detect-sip-method.c \
840 detect-sip-protocol.c \
841 detect-sip-request-line.c \
842 detect-sip-response-line.c \
843 detect-sip-stat-code.c \
844 detect-sip-stat-msg.c \
845 detect-sip-uri.c \
846 detect-smb-share.c \
847 detect-snmp-community.c \
848 detect-snmp-pdu_type.c \
849 detect-snmp-version.c \
850 detect-ssh-hassh.c \
851 detect-ssh-hassh-server.c \
852 detect-ssh-hassh-server-string.c \
853 detect-ssh-hassh-string.c \
854 detect-ssh-proto.c \
855 detect-ssh-proto-version.c \
856 detect-ssh-software.c \
857 detect-ssh-software-version.c \
858 detect-ssl-state.c \
859 detect-ssl-version.c \
860 detect-stream_size.c \
861 detect-tag.c \
862 detect-target.c \
863 detect-tcp-ack.c \
864 detect-tcp-flags.c \
865 detect-tcphdr.c \
866 detect-tcpmss.c \
867 detect-tcp-seq.c \
868 detect-tcp-window.c \
869 detect-template2.c \
870 detect-template-buffer.c \
871 detect-template.c \
872 detect-template-rust-buffer.c \
873 detect-threshold.c \
874 detect-tls.c \
875 detect-tls-cert-fingerprint.c \
876 detect-tls-cert-issuer.c \
877 detect-tls-certs.c \
878 detect-tls-cert-serial.c \
879 detect-tls-cert-subject.c \
880 detect-tls-cert-validity.c \
881 detect-tls-ja3-hash.c \
882 detect-tls-ja3s-hash.c \
883 detect-tls-ja3s-string.c \
884 detect-tls-ja3-string.c \
885 detect-tls-sni.c \
886 detect-tls-version.c \
887 detect-tos.c \
888 detect-transform-compress-whitespace.c \
889 detect-transform-dotprefix.c \
890 detect-transform-md5.c \
891 detect-transform-pcrexform.c \
892 detect-transform-sha1.c \
893 detect-transform-sha256.c \
894 detect-transform-strip-whitespace.c \
895 detect-transform-urldecode.c \
896 detect-ttl.c \
897 detect-udphdr.c \
898 detect-uricontent.c \
899 detect-urilen.c \
900 detect-within.c \
901 detect-xbits.c \
902 device-storage.c \
903 feature.c \
904 flow-bit.c \
905 flow-bypass.c \
906 flow.c \
907 flow-hash.c \
908 flow-manager.c \
909 flow-queue.c \
910 flow-spare-pool.c \
911 flow-storage.c \
912 flow-timeout.c \
913 flow-util.c \
914 flow-var.c \
915 flow-worker.c \
916 host-bit.c \
917 host.c \
918 host-queue.c \
919 host-storage.c \
920 host-timeout.c \
921 ippair-bit.c \
922 ippair.c \
923 ippair-queue.c \
924 ippair-storage.c \
925 ippair-timeout.c \
926 log-cf-common.c \
927 log-httplog.c \
928 log-pcap.c \
929 log-stats.c \
930 log-tcp-data.c \
931 log-tlslog.c \
932 log-tlsstore.c \
933 output.c \
934 output-file.c \
935 output-filedata.c \
936 output-filestore.c \
937 output-flow.c \
938 output-json-alert.c \
939 output-json-anomaly.c \
940 output-json.c \
941 output-json-common.c \
942 output-json-dcerpc.c \
943 output-json-dhcp.c \
944 output-json-dnp3.c \
945 output-json-dnp3-objects.c \
946 output-json-dns.c \
947 output-json-drop.c \
948 output-json-email-common.c \
949 output-json-file.c \
950 output-json-flow.c \
951 output-json-ftp.c \
952 output-json-http2.c \
953 output-json-http.c \
954 output-json-ike.c \
955 output-json-krb5.c \
956 output-json-metadata.c \
957 output-json-mqtt.c \
958 output-json-netflow.c \
959 output-json-nfs.c \
960 output-json-rdp.c \
961 output-json-rfb.c \
962 output-json-sip.c \
963 output-json-smb.c \
964 output-json-smtp.c \
965 output-json-snmp.c \
966 output-json-ssh.c \
967 output-json-stats.c \
968 output-json-template.c \
969 output-json-template-rust.c \
970 output-json-tftp.c \
971 output-json-tls.c \
972 output-lua.c \
973 output-packet.c \
974 output-stats.c \
975 output-streaming.c \
976 output-tx.c \
977 packet-queue.c \
978 pkt-var.c \
979 reputation.c \
980 respond-reject.c \
981 respond-reject-libnet11.c \
982 runmode-af-packet.c \
983 runmode-erf-dag.c \
984 runmode-erf-file.c \
985 runmode-ipfw.c \
986 runmode-napatech.c \
987 runmode-netmap.c \
988 runmode-nflog.c \
989 runmode-nfq.c \
990 runmode-pcap.c \
991 runmode-pcap-file.c \
992 runmode-pfring.c \
993 runmodes.c \
994 runmode-unittests.c \
995 runmode-unix-socket.c \
996 runmode-windivert.c \
997 rust-context.c \
998 source-af-packet.c \
999 source-erf-dag.c \
1000 source-erf-file.c \
1001 source-ipfw.c \
1002 source-napatech.c \
1003 source-netmap.c \
1004 source-nflog.c \
1005 source-nfq.c \
1006 source-pcap.c \
1007 source-pcap-file.c \
1008 source-pcap-file-directory-helper.c \
1009 source-pcap-file-helper.c \
1010 source-pfring.c \
1011 source-windivert.c \
1012 stream.c \
1013 stream-tcp.c \
1014 stream-tcp-inline.c \
1015 stream-tcp-list.c \
1016 stream-tcp-reassemble.c \
1017 stream-tcp-sack.c \
1018 stream-tcp-util.c \
1019 suricata.c \
1020 threads.c \
1021 tm-modules.c \
1022 tmqh-flow.c \
1023 tmqh-packetpool.c \
1024 tmqh-simple.c \
1025 tm-queuehandlers.c \
1026 tm-queues.c \
1027 tm-threads.c \
1028 unix-manager.c \
1029 util-action.c \
1030 util-affinity.c \
1031 util-atomic.c \
1032 util-base64.c \
1033 util-bloomfilter.c \
1034 util-bloomfilter-counting.c \
1035 util-bpf.c \
1036 util-buffer.c \
1037 util-byte.c \
1038 util-checksum.c \
1039 util-cidr.c \
1040 util-classification-config.c \
1041 util-conf.c \
1042 util-coredump-config.c \
1043 util-cpu.c \
1044 util-crypt.c \
1045 util-daemon.c \
1046 util-debug.c \
1047 util-debug-filters.c \
1048 util-decode-mime.c \
1049 util-detect.c \
1050 util-device.c \
1051 util-ebpf.c \
1052 util-enum.c \
1053 util-error.c \
1054 util-file.c \
1055 util-file-decompression.c \
1056 util-file-swf-decompression.c \
1057 util-fix_checksum.c \
1058 util-fmemopen.c \
1059 util-hash.c \
1060 util-hashlist.c \
1061 util-hash-lookup3.c \
1062 util-hash-string.c \
1063 util-host-info.c \
1064 util-host-os-info.c \
1065 util-hyperscan.c \
1066 util-ioctl.c \
1067 util-ip.c \
1068 util-ja3.c \
1069 util-logopenfile.c \
1070 util-log-redis.c \
1071 util-lua.c \
1072 util-lua-common.c \
1073 util-lua-dnp3.c \
1074 util-lua-dnp3-objects.c \
1075 util-lua-dns.c \
1076 util-lua-hassh.c \
1077 util-lua-http.c \
1078 util-lua-ja3.c \
1079 util-luajit.c \
1080 util-lua-smtp.c \
1081 util-lua-ssh.c \
1082 util-lua-tls.c \
1083 util-macset.c \
1084 util-magic.c \
1085 util-mem.c \
1086 util-memcmp.c \
1087 util-memrchr.c \
1088 util-misc.c \
1089 util-mpm-ac-bs.c \
1090 util-mpm-ac.c \
1091 util-mpm-ac-ks.c \
1092 util-mpm-ac-ks-small.c \
1093 util-mpm.c \
1094 util-mpm-hs.c \
1095 util-napatech.c \
1096 util-pages.c \
1097 util-path.c \
1098 util-pidfile.c \
1099 util-plugin.c \
1100 util-pool.c \
1101 util-pool-thread.c \
1102 util-prefilter.c \
1103 util-print.c \
1104 util-privs.c \
1105 util-profiling.c \
1106 util-profiling-keywords.c \
1107 util-profiling-locks.c \
1108 util-profiling-prefilter.c \
1109 util-profiling-rulegroups.c \
1110 util-profiling-rules.c \
1111 util-proto-name.c \
1112 util-radix-tree.c \
1113 util-random.c \
1114 util-reference-config.c \
1115 util-rohash.c \
1116 util-rule-vars.c \
1117 util-runmodes.c \
1118 util-running-modes.c \
1119 util-signal.c \
1120 util-spm-bm.c \
1121 util-spm-bs2bm.c \
1122 util-spm-bs.c \
1123 util-spm.c \
1124 util-spm-hs.c \
1125 util-storage.c \
1126 util-streaming-buffer.c \
1127 util-strlcatu.c \
1128 util-strlcpyu.c \
1129 util-strptime.c \
1130 util-syslog.c \
1131 util-thash.c \
1132 util-threshold-config.c \
1133 util-time.c \
1134 util-unittest.c \
1135 util-unittest-helper.c \
1136 util-var.c \
1137 util-var-name.c \
1138 win32-misc.c \
1139 win32-service.c \
1140 win32-syscall.c
1141
1142 EXTRA_DIST = tests
1143
1144 install-headers:
1145 mkdir -p $(DESTDIR)${includedir}/suricata
1146 for header in $(noinst_HEADERS); do \
1147 $(INSTALL_DATA) $$header "$(DESTDIR)${includedir}/suricata"; \
1148 done
1149
1150 # set the include path found by configure
1151 AM_CPPFLAGS = $(all_includes)
1152
1153 noinst_LIBRARIES = libsuricata_c.a
1154
1155 suricata_SOURCES = main.c
1156
1157 # the library search path.
1158 suricata_LDFLAGS = $(all_libraries) ${SECLDFLAGS}
1159 suricata_LDADD = libsuricata_c.a $(RUST_SURICATA_LIB) $(HTP_LDADD) $(RUST_LDADD)
1160 suricata_DEPENDENCIES = libsuricata_c.a
1161
1162 if BUILD_SHARED_LIBRARY
1163 libsuricata.so.$(VERSION): libsuricata_c.a
1164 $(CC) -shared -o $@ -Wl,-soname,$@ -Wl,--whole-archive \
1165 libsuricata_c.a \
1166 $(RUST_SURICATA_LIB) \
1167 -Wl,--no-whole-archive
1168 libsuricata.so: libsuricata.so.$(VERSION)
1169 else
1170 libsuricata.so:
1171 @echo "shared library support not enabled"
1172 @exit 1
1173 endif
1174
1175 if BUILD_SHARED_LIBRARY
1176 install-library: libsuricata.so.$(VERSION)
1177 else
1178 install-library:
1179 endif
1180 $(MKDIR_P) "$(DESTDIR)$(libdir)"
1181 $(INSTALL_DATA) libsuricata_c.a "$(DESTDIR)$(libdir)"
1182 if BUILD_SHARED_LIBRARY
1183 $(INSTALL) libsuricata.so.$(VERSION) "$(DESTDIR)$(libdir)"
1184 ln -sf libsuricata.so.$(VERSION) "$(DESTDIR)$(libdir)/libsuricata.so"
1185 endif
1186
1187 uninstall-local:
1188 rm -f "$(DESTDIR)$(libdir)/libsuricata_c.a"
1189 rm -f "$(DESTDIR)$(libdir)/libsuricata.so"
1190 rm -f "$(DESTDIR)$(libdir)/libsuricata.$(VERSION)"
1191
1192 if BUILD_FUZZTARGETS
1193
1194 LDFLAGS_FUZZ = $(all_libraries) $(SECLDFLAGS)
1195 LDADD_FUZZ = libsuricata_c.a $(RUST_SURICATA_LIB) $(HTP_LDADD) $(RUST_LDADD)
1196
1197 nodist_fuzz_applayerprotodetectgetproto_SOURCES = tests/fuzz/fuzz_applayerprotodetectgetproto.c
1198 fuzz_applayerprotodetectgetproto_LDFLAGS = $(LDFLAGS_FUZZ)
1199 fuzz_applayerprotodetectgetproto_LDADD = $(LDADD_FUZZ)
1200 if HAS_FUZZLDFLAGS
1201 fuzz_applayerprotodetectgetproto_LDFLAGS += $(LIB_FUZZING_ENGINE)
1202 else
1203 nodist_fuzz_applayerprotodetectgetproto_SOURCES += tests/fuzz/onefile.c
1204 endif
1205 # force usage of CXX for linker
1206 nodist_EXTRA_fuzz_applayerprotodetectgetproto_SOURCES = force-cxx-linking.cxx
1207
1208 nodist_fuzz_applayerparserparse_SOURCES = tests/fuzz/fuzz_applayerparserparse.c
1209 fuzz_applayerparserparse_LDFLAGS = $(LDFLAGS_FUZZ)
1210 fuzz_applayerparserparse_LDADD = $(LDADD_FUZZ)
1211 if HAS_FUZZLDFLAGS
1212 fuzz_applayerparserparse_LDFLAGS += $(LIB_FUZZING_ENGINE)
1213 else
1214 nodist_fuzz_applayerparserparse_SOURCES += tests/fuzz/onefile.c
1215 endif
1216 # force usage of CXX for linker
1217 nodist_EXTRA_fuzz_applayerparserparse_SOURCES = force-cxx-linking.cxx
1218
1219 nodist_fuzz_siginit_SOURCES = tests/fuzz/fuzz_siginit.c
1220 fuzz_siginit_LDFLAGS = $(LDFLAGS_FUZZ)
1221 fuzz_siginit_LDADD = $(LDADD_FUZZ)
1222 if HAS_FUZZLDFLAGS
1223 fuzz_siginit_LDFLAGS += $(LIB_FUZZING_ENGINE)
1224 else
1225 nodist_fuzz_siginit_SOURCES += tests/fuzz/onefile.c
1226 endif
1227 # force usage of CXX for linker
1228 nodist_EXTRA_fuzz_siginit_SOURCES = force-cxx-linking.cxx
1229
1230 nodist_fuzz_confyamlloadstring_SOURCES = tests/fuzz/fuzz_confyamlloadstring.c
1231 fuzz_confyamlloadstring_LDFLAGS = $(LDFLAGS_FUZZ)
1232 fuzz_confyamlloadstring_LDADD = $(LDADD_FUZZ)
1233 if HAS_FUZZLDFLAGS
1234 fuzz_confyamlloadstring_LDFLAGS += $(LIB_FUZZING_ENGINE)
1235 else
1236 nodist_fuzz_confyamlloadstring_SOURCES += tests/fuzz/onefile.c
1237 endif
1238 # force usage of CXX for linker
1239 nodist_EXTRA_fuzz_confyamlloadstring_SOURCES = force-cxx-linking.cxx
1240
1241 nodist_fuzz_decodepcapfile_SOURCES = tests/fuzz/fuzz_decodepcapfile.c
1242 fuzz_decodepcapfile_LDFLAGS = $(LDFLAGS_FUZZ)
1243 fuzz_decodepcapfile_LDADD = $(LDADD_FUZZ)
1244 if HAS_FUZZLDFLAGS
1245 fuzz_decodepcapfile_LDFLAGS += $(LIB_FUZZING_ENGINE)
1246 else
1247 nodist_fuzz_decodepcapfile_SOURCES += tests/fuzz/onefile.c
1248 endif
1249 # force usage of CXX for linker
1250 nodist_EXTRA_fuzz_decodepcapfile_SOURCES = force-cxx-linking.cxx
1251
1252 nodist_fuzz_sigpcap_SOURCES = tests/fuzz/fuzz_sigpcap.c
1253 fuzz_sigpcap_LDFLAGS = $(LDFLAGS_FUZZ)
1254 fuzz_sigpcap_LDADD = $(LDADD_FUZZ)
1255 if HAS_FUZZLDFLAGS
1256 fuzz_sigpcap_LDFLAGS += $(LIB_FUZZING_ENGINE)
1257 else
1258 nodist_fuzz_sigpcap_SOURCES += tests/fuzz/onefile.c
1259 endif
1260 # force usage of CXX for linker
1261 nodist_EXTRA_fuzz_sigpcap_SOURCES = force-cxx-linking.cxx
1262
1263 nodist_fuzz_mimedecparseline_SOURCES = tests/fuzz/fuzz_mimedecparseline.c
1264 fuzz_mimedecparseline_LDFLAGS = $(LDFLAGS_FUZZ)
1265 fuzz_mimedecparseline_LDADD = $(LDADD_FUZZ)
1266 if HAS_FUZZLDFLAGS
1267 fuzz_mimedecparseline_LDFLAGS += $(LIB_FUZZING_ENGINE)
1268 else
1269 nodist_fuzz_mimedecparseline_SOURCES += tests/fuzz/onefile.c
1270 endif
1271 # force usage of CXX for linker
1272 nodist_EXTRA_fuzz_mimedecparseline_SOURCES = force-cxx-linking.cxx
1273 endif
1274
1275 # default CFLAGS
1276 AM_CFLAGS = ${OPTIMIZATION_CFLAGS} ${GCC_CFLAGS} ${CLANG_CFLAGS} \
1277 ${SECCFLAGS} ${PCAP_CFLAGS} -DLOCAL_STATE_DIR=\"$(localstatedir)\" \
1278 -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations \
1279 -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast \
1280 -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute \
1281 -funsigned-char
1282
1283 # different flags for different cases
1284 if DEBUG
1285 AM_CFLAGS += -ggdb -O0
1286 endif
1287
1288 AM_LDFLAGS = ${SECLDFLAGS}
1289
1290 if BUILD_UNITTESTS
1291 check-am:
1292 -mkdir $(top_builddir)/qa/log/
1293 $(top_builddir)/src/suricata -u -l $(top_builddir)/qa/log/
1294 -rm -rf $(top_builddir)/qa/log
1295 endif
1296
1297 distclean-local:
1298 -rm -rf $(top_builddir)/src/build-info.h