link bpf_filter.c to make it work with all makes. problem reported by Rick Jones <raj@cup.hp.com>
This commit is contained in:
parent
3417c26e0c
commit
93a233db65
10
Makefile.in
10
Makefile.in
|
@ -17,7 +17,7 @@
|
||||||
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
#
|
#
|
||||||
# @(#) $Header: /tcpdump/master/libpcap/Makefile.in,v 1.75 1999-10-30 05:33:45 itojun Exp $ (LBL)
|
# @(#) $Header: /tcpdump/master/libpcap/Makefile.in,v 1.76 2000-03-31 16:59:43 assar Exp $ (LBL)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Various configurable paths (remember to edit Makefile.in, not Makefile)
|
# Various configurable paths (remember to edit Makefile.in, not Makefile)
|
||||||
|
@ -122,8 +122,12 @@ version.c: $(srcdir)/VERSION
|
||||||
@rm -f $@
|
@rm -f $@
|
||||||
sed -e 's/.*/char pcap_version[] = "&";/' $(srcdir)/VERSION > $@
|
sed -e 's/.*/char pcap_version[] = "&";/' $(srcdir)/VERSION > $@
|
||||||
|
|
||||||
bpf_filter.o: $(srcdir)/bpf/net/bpf_filter.c
|
bpf_filter.c: $(srcdir)/bpf/net/bpf_filter.c
|
||||||
$(CC) $(CFLAGS) -c $(srcdir)/bpf/net/bpf_filter.c -o bpf_filter.o
|
rm -f bpf_filter.c
|
||||||
|
ln -s $(srcdir)/bpf/net/bpf_filter.c bpf_filter.c
|
||||||
|
|
||||||
|
bpf_filter.o: bpf_filter.c
|
||||||
|
$(CC) $(CFLAGS) -c bpf_filter.c
|
||||||
|
|
||||||
install: force
|
install: force
|
||||||
$(INSTALL) -m 444 -o bin -g bin libpcap.a $(DESTDIR)$(LIBDEST)/libpcap.a
|
$(INSTALL) -m 444 -o bin -g bin libpcap.a $(DESTDIR)$(LIBDEST)/libpcap.a
|
||||||
|
|
Reference in New Issue