1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../scanlogd/Makefile
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
17 CFLAGS
= -c
-Wall
-O2
-fomit-frame-pointer
20 PCAP_H
= -I
/usr
/include/pcap
23 NIDS_H
= -I
/usr
/local
/include
24 NIDS_L
= -L
/usr
/local
/lib
-lnids
-lnet
-lpcap
28 OBJS_COMMON
= scanlogd.o
29 OBJS
= $(OBJS_COMMON
) in_linux.o in_nids.o in_pcap.o
34 cp
-f scanlogd
$(ROOT
)/$(PREFIX
)/sbin
/
36 linux
: $(OBJS_COMMON
) in_linux.o
37 $(LD
) $(LDFLAGS
) $(OBJS_COMMON
) in_linux.o
-o scanlogd
39 libnids
: $(OBJS_COMMON
) in_nids.o
40 $(LD
) $(LDFLAGS
) $(OBJS_COMMON
) in_nids.o
$(NIDS_L
) -o scanlogd
42 libpcap
: $(OBJS_COMMON
) in_pcap.o
43 $(LD
) $(LDFLAGS
) $(OBJS_COMMON
) in_pcap.o
$(PCAP_L
) -o scanlogd
45 in_pcap.o
: params.h in.h
46 $(CC
) $(CFLAGS
) $(PCAP_H
) in_pcap.c
48 in_nids.o
: params.h in.h
49 $(CC
) $(CFLAGS
) $(NIDS_H
) in_nids.c
51 scanlogd.o
: params.h in.h
52 in_linux.o
: params.h in.h