Debian Codegraph @

Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 4 — not the installed (fully patched) source.
4 Debian patches touch this file
1 # Seems that RedHat keeps the pcap headers elsewhere...
2 # Uncomment the below line for RH systems.
3 #CFLAGS=-Wall -ggdb -lpcap -I/usr/include/pcap
4
5 # Standard build with pcap installed on the system
6 CFLAGS = -Wall -W -O2
7 #CFLAGS = -Wall -W -ggdb
8
9 # Build for the Zaurus with the pcap headers/libs one dir up
10 #CFLAGS = -DZAURUS -Wall -I. -I../libpcap-0.7.1 -L../libpcap-0.7.1 -ggdb
11
12 # Build for Solaris with the pcap headers/libs one dir up
13 #CFLAGS = -DSOLARIS -Wall -I. -I../libpcap-0.7.1 -L../libpcap-0.7.1 -ggdb
14
15 LDFLAGS = -lpcap
16
17 # Build for Solaris
18 #LDFLAGS = -lsocket -lnsl -lpcap
19
20 cdpr: cdpr.c cdprs.c conffile.c cdp.h cdpr.h
21 gcc $(CFLAGS) cdpr.c cdprs.c conffile.c $(LDFLAGS) -o cdpr
22
23 clean:
24 rm -f cdpr
25