1 diff -ruN libpcap-0.8.3.old/Makefile.in libpcap-0.8.3/Makefile.in
2 --- libpcap-0.8.3.old/Makefile.in 2001-01-18 05:05:12.000000000 +0100
3 +++ libpcap-0.8.3/Makefile.in 2004-01-25 14:40:47.000000000 +0100
6 # Various configurable paths (remember to edit Makefile.in, not Makefile)
11 +VERSION = $(MAJOR).$(MINOR).$(SUBMINOR)
19 -CFLAGS = $(CCOPT) $(INCLS) $(DEFS)
20 +CFLAGS = $(CCOPT) $(INCLS) $(DEFS) -fPIC -DPIC
23 INSTALL_PROGRAM = @INSTALL_PROGRAM@
26 $(SRC) $(HDR) $(TAGHDR)
28 -CLEANFILES = $(OBJ) libpcap.a $(GENSRC) $(GENHDR) lex.yy.c
32 +CLEANFILES = $(OBJ) libpcap.a $(GENSRC) $(GENHDR) lex.yy.c libpcap.so.$(VERSION)
34 +all: libpcap.a libpcap.so.$(VERSION)
36 +libpcap.so.$(VERSION):
37 + gcc -shared -Wl,-soname -Wl,libpcap.so.$(VERSION) -o libpcap.so.$(VERSION) $(OBJ) -lc
42 [ -d $(DESTDIR)$(libdir) ] || \
43 (mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir))
44 $(INSTALL_DATA) libpcap.a $(DESTDIR)$(libdir)/libpcap.a
45 + $(INSTALL_DATA) libpcap.so.$(VERSION) $(DESTDIR)$(libdir)/libpcap.so.$(VERSION)
46 + ln -sf libpcap.so.$(VERSION) $(DESTDIR)$(libdir)/libpcap.so
47 + ln -sf libpcap.so.$(VERSION) $(DESTDIR)$(libdir)/libpcap.so.$(MAJOR)
48 + ln -sf libpcap.so.$(VERSION) $(DESTDIR)$(libdir)/libpcap.so.$(MAJOR).$(MINOR)
49 $(RANLIB) $(DESTDIR)$(libdir)/libpcap.a
50 [ -d $(DESTDIR)$(includedir) ] || \
51 (mkdir -p $(DESTDIR)$(includedir); chmod 755 $(DESTDIR)$(includedir))