aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Bell <csbell@myri.com>2010-01-08 12:38:56 -0800
committerGuy Harris <guy@alum.mit.edu>2010-01-08 12:38:56 -0800
commitdf6ab8d1a6164bee41c4e43abf2942cc7b49dfd4 (patch)
treeb248aba1835e6aa194b159b0613fbabbbbeaf38b
parent25b78e4fe34b2e144794fbd4b467af998e9594e9 (diff)
Minor VPATH build fixes in top-level Makefile.
Signed-off-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 53801c1..96d5d47 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -126,7 +126,7 @@ TAGFILES = \
$(SRC) $(HDR)
CLEANFILES = $(OBJ) libpcap.* filtertest findalldevstest selpolltest \
- opentest $(PROG)-`cat VERSION`.tar.gz $(GENSRC) $(GENHDR) \
+ opentest $(PROG)-`cat $(srcdir)/VERSION`.tar.gz $(GENSRC) $(GENHDR) \
lex.yy.c pcap-config
MAN1 = pcap-config.1
@@ -468,16 +468,16 @@ pcap-config: $(srcdir)/pcap-config.in
# Test programs - not built by default, and not installed.
#
filtertest: filtertest.c libpcap.a
- $(CC) $(CFLAGS) -I. -L. -o filtertest filtertest.c libpcap.a $(LIBS)
+ $(CC) $(CFLAGS) -I. -L. -o filtertest $(srcdir)/filtertest.c libpcap.a $(LIBS)
findalldevstest: findalldevstest.c libpcap.a
- $(CC) $(CFLAGS) -I. -L. -o findalldevstest findalldevstest.c libpcap.a $(LIBS)
+ $(CC) $(CFLAGS) -I. -L. -o findalldevstest $(srcdir)/findalldevstest.c libpcap.a $(LIBS)
selpolltest: selpolltest.c libpcap.a
- $(CC) $(CFLAGS) -I. -L. -o selpolltest selpolltest.c libpcap.a $(LIBS)
+ $(CC) $(CFLAGS) -I. -L. -o selpolltest $(srcdir)/selpolltest.c libpcap.a $(LIBS)
opentest: opentest.c libpcap.a
- $(CC) $(CFLAGS) -I. -L. -o opentest opentest.c libpcap.a $(LIBS)
+ $(CC) $(CFLAGS) -I. -L. -o opentest $(srcdir)/opentest.c libpcap.a $(LIBS)
install: install-shared install-archive pcap-config
[ -d $(DESTDIR)$(libdir) ] || \