1 --- driftnet-0.1.6/Makefile~ 2002-07-09 19:26:41.000000000 +0000
2 +++ driftnet-0.1.6/Makefile 2004-10-20 21:51:48.000000000 +0000
10 # Basic compiler, linker flags; should not need any changes.
14 # You might need these if libpcap is installed somewhere random.
15 -CFLAGS += -I/usr/include/pcap
16 +#CFLAGS += -I/usr/include/pcap
17 #LDFLAGS += -L/path/to/libpcap.so
19 # Required on Linux to get BSDish definitions of the TCP/IP structs.
22 # Optional C compiler and linker flags. Typical driftnet builds have support
23 # for displaying captured images in an X window, and need the following flags:
24 -CFLAGS += `gtk-config --cflags`
25 -LDLIBS += -ljpeg -lungif `gtk-config --libs`
26 +#CFLAGS += `gtk-config --cflags`
27 +#LDLIBS += -ljpeg -lungif `gtk-config --libs`
29 # Alternatively, you can build a version of driftnet which can only be used
30 # in `adjunct' mode as the back end for some other image-processing program. To
31 # use this, comment out the two preceding CFLAGS and LDLIBS lines and uncomment
33 -#CFLAGS += -DNO_DISPLAY_WINDOW
34 +CFLAGS += -DNO_DISPLAY_WINDOW
36 # On systems with a C99 compiler, driftnet will use <stdint.h> for the
37 # definitions of types such as uint8_t. On other systems like Solaris, these
39 ( echo '.\" DO NOT EDIT THIS FILE-- edit driftnet.1.in instead' ; sed s/@@@VERSION@@@/$(VERSION)/ ) < driftnet.1.in > driftnet.1
42 - ./endian > endianness
46 $(CC) $(CFLAGS) -o endian endian.c
48 mv driftnet-$(VERSION).tar.gz ..
51 - makedepend -- $(CFLAGS) `cat endianness` -- $(SRCS)
52 + makedepend -- $(CFLAGS) -DDRIFTNET_LITTLE_ENDIAN -- $(SRCS)