Makefile.in (39291) | Makefile.in (56889) |
---|---|
1# Copyright (c) 1993, 1994, 1995, 1996 2# The Regents of the University of California. All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that: (1) source code distributions 6# retain the above copyright notice and this paragraph in its entirety, (2) 7# distributions including binary code include the above copyright notice and 8# this paragraph in its entirety in the documentation or other materials 9# provided with the distribution, and (3) all advertising materials mentioning 10# features or use of this software display the following acknowledgement: 11# ``This product includes software developed by the University of California, 12# Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 13# the University nor the names of its contributors may be used to endorse 14# or promote products derived from this software without specific prior 15# written permission. 16# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 17# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 18# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19# | 1# Copyright (c) 1993, 1994, 1995, 1996 2# The Regents of the University of California. All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that: (1) source code distributions 6# retain the above copyright notice and this paragraph in its entirety, (2) 7# distributions including binary code include the above copyright notice and 8# this paragraph in its entirety in the documentation or other materials 9# provided with the distribution, and (3) all advertising materials mentioning 10# features or use of this software display the following acknowledgement: 11# ``This product includes software developed by the University of California, 12# Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 13# the University nor the names of its contributors may be used to endorse 14# or promote products derived from this software without specific prior 15# written permission. 16# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 17# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 18# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19# |
20# @(#) $Header: Makefile.in,v 1.72 97/06/30 13:56:14 leres Exp $ (LBL) | 20# @(#) $Header: /tcpdump/master/libpcap/Makefile.in,v 1.75 1999/10/30 05:33:45 itojun Exp $ (LBL) |
21 22# 23# Various configurable paths (remember to edit Makefile.in, not Makefile) 24# 25 26# Top level hierarchy 27prefix = @prefix@ 28exec_prefix = @exec_prefix@ --- 68 unchanged lines hidden (view full) --- 97 ar rc $@ $(OBJ) 98 $(RANLIB) $@ 99 100scanner.c: $(srcdir)/scanner.l 101 @rm -f $@ 102 $(LEX) -t $< > $$$$.$@; mv $$$$.$@ $@ 103 104scanner.o: scanner.c tokdefs.h | 21 22# 23# Various configurable paths (remember to edit Makefile.in, not Makefile) 24# 25 26# Top level hierarchy 27prefix = @prefix@ 28exec_prefix = @exec_prefix@ --- 68 unchanged lines hidden (view full) --- 97 ar rc $@ $(OBJ) 98 $(RANLIB) $@ 99 100scanner.c: $(srcdir)/scanner.l 101 @rm -f $@ 102 $(LEX) -t $< > $$$$.$@; mv $$$$.$@ $@ 103 104scanner.o: scanner.c tokdefs.h |
105 $(CC) $(CFLAGS) -c scanner.c 106 |
|
105tokdefs.h: grammar.c 106grammar.c: $(srcdir)/grammar.y 107 @rm -f grammar.c tokdefs.h 108 $(YACC) -d $< 109 mv y.tab.c grammar.c 110 mv y.tab.h tokdefs.h 111 112grammar.o: grammar.c 113 @rm -f $@ 114 $(CC) $(CFLAGS) -Dyylval=pcap_lval -c grammar.c 115 116version.o: version.c | 107tokdefs.h: grammar.c 108grammar.c: $(srcdir)/grammar.y 109 @rm -f grammar.c tokdefs.h 110 $(YACC) -d $< 111 mv y.tab.c grammar.c 112 mv y.tab.h tokdefs.h 113 114grammar.o: grammar.c 115 @rm -f $@ 116 $(CC) $(CFLAGS) -Dyylval=pcap_lval -c grammar.c 117 118version.o: version.c |
119 $(CC) $(CFLAGS) -c version.c 120 |
|
117version.c: $(srcdir)/VERSION 118 @rm -f $@ 119 sed -e 's/.*/char pcap_version[] = "&";/' $(srcdir)/VERSION > $@ 120 | 121version.c: $(srcdir)/VERSION 122 @rm -f $@ 123 sed -e 's/.*/char pcap_version[] = "&";/' $(srcdir)/VERSION > $@ 124 |
125bpf_filter.o: $(srcdir)/bpf/net/bpf_filter.c 126 $(CC) $(CFLAGS) -c $(srcdir)/bpf/net/bpf_filter.c -o bpf_filter.o 127 |
|
121install: force 122 $(INSTALL) -m 444 -o bin -g bin libpcap.a $(DESTDIR)$(LIBDEST)/libpcap.a 123 $(RANLIB) $(DESTDIR)$(LIBDEST)/libpcap.a 124 125install-incl: force 126 $(INSTALL) -m 444 -o bin -g bin $(srcdir)/pcap.h \ 127 $(DESTDIR)$(INCLDEST)/pcap.h 128 $(INSTALL) -m 444 -o bin -g bin $(srcdir)/pcap-namedb.h \ 129 $(DESTDIR)$(INCLDEST)/pcap-namedb.h | 128install: force 129 $(INSTALL) -m 444 -o bin -g bin libpcap.a $(DESTDIR)$(LIBDEST)/libpcap.a 130 $(RANLIB) $(DESTDIR)$(LIBDEST)/libpcap.a 131 132install-incl: force 133 $(INSTALL) -m 444 -o bin -g bin $(srcdir)/pcap.h \ 134 $(DESTDIR)$(INCLDEST)/pcap.h 135 $(INSTALL) -m 444 -o bin -g bin $(srcdir)/pcap-namedb.h \ 136 $(DESTDIR)$(INCLDEST)/pcap-namedb.h |
130 $(INSTALL) -m 444 -o bin -g bin $(srcdir)/net/bpf.h \ | 137 $(INSTALL) -m 444 -o bin -g bin $(srcdir)/bpf/net/bpf.h \ |
131 $(DESTDIR)$(INCLDEST)/net/bpf.h 132 133install-man: force 134 $(INSTALL) -m 444 -o bin -g bin $(srcdir)/pcap.3 \ 135 $(DESTDIR)$(MANDEST)/man3/pcap.3 136 137clean: 138 rm -f $(CLEANFILES) 139 140distclean: 141 rm -f $(CLEANFILES) Makefile config.cache config.log config.status \ | 138 $(DESTDIR)$(INCLDEST)/net/bpf.h 139 140install-man: force 141 $(INSTALL) -m 444 -o bin -g bin $(srcdir)/pcap.3 \ 142 $(DESTDIR)$(MANDEST)/man3/pcap.3 143 144clean: 145 rm -f $(CLEANFILES) 146 147distclean: 148 rm -f $(CLEANFILES) Makefile config.cache config.log config.status \ |
142 gnuc.h os-proto.h bpf_filter.c net | 149 gnuc.h os-proto.h net |
143 144tags: $(TAGFILES) 145 ctags -wtd $(TAGFILES) 146 147tar: force 148 @cwd=`pwd` ; dir=`basename $$cwd` ; name=libpcap-`cat VERSION` ; \ 149 list="" ; tar="tar chFFf" ; \ 150 for i in `cat FILES` ; do list="$$list $$name/$$i" ; done; \ --- 13 unchanged lines hidden --- | 150 151tags: $(TAGFILES) 152 ctags -wtd $(TAGFILES) 153 154tar: force 155 @cwd=`pwd` ; dir=`basename $$cwd` ; name=libpcap-`cat VERSION` ; \ 156 list="" ; tar="tar chFFf" ; \ 157 for i in `cat FILES` ; do list="$$list $$name/$$i" ; done; \ --- 13 unchanged lines hidden --- |