summaryrefslogtreecommitdiffstats
path: root/src/main/radsniff.mk.in
blob: 3de7ebc9b3ecb616b9e1cd86e006d5ad7724d45c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
PCAP_LIBS	:= @PCAP_LIBS@

ifneq ($(PCAP_LIBS),)
TARGET		:= radsniff
else
TARGET		:=
endif

SOURCES		:= radsniff.c collectd.c

TGT_PREREQS	:= libfreeradius-radius.a
TGT_LDLIBS	:= $(LIBS) $(PCAP_LIBS) $(COLLECTDC_LIBS)
TGT_LDFLAGS     := $(LDFLAGS) $(PCAP_LDFLAGS) $(COLLECTDC_LDFLAGS)