diff options
author | Nathan Binkert <binkertn@umich.edu> | 2003-10-26 22:40:03 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2003-10-26 22:40:03 -0500 |
commit | 91293e02d2cf227a8cbeb4f4bc5aaed5cc86bac4 (patch) | |
tree | bf0d0931d8b33ff45eccb87ee80c50a0a81f54bf /util/tap/Makefile | |
parent | 34adf92749a10970aaa3138912ebeab50973d24d (diff) | |
download | gem5-91293e02d2cf227a8cbeb4f4bc5aaed5cc86bac4.tar.xz |
Make the tap work work again
util/tap/Makefile:
Make this stuff compile again
util/tap/tap.cc:
clean up some of the error messages
--HG--
extra : convert_revision : 4543d946b48c9e07bf19b812db6466f80ed6b851
Diffstat (limited to 'util/tap/Makefile')
-rw-r--r-- | util/tap/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/tap/Makefile b/util/tap/Makefile index c7078158b..2618a5210 100644 --- a/util/tap/Makefile +++ b/util/tap/Makefile @@ -33,14 +33,12 @@ CXX= g++ CURDIR?= $(shell /bin/pwd) SRCDIR?= . +M5_SRCDIR?= $(SRCDIR)/../.. -BASE_SRCDIR?= $(SRCDIR)/../../base -SIM_SRCDIR?= $(SRCDIR)/../../sim +vpath % $(M5_SRCDIR)/base +vpath % $(M5_SRCDIR)/sim -vpath % $(BASE_SRCDIR) -vpath % $(SIM_SRCDIR) - -INCLDIRS= -I. -I$(BASE_SRCDIR) -I$(SIM_SRCDIR) -I- -I/usr/local/include +INCLDIRS= -I. -I$(M5_SRCDIR) -I- -I/usr/local/include CCFLAGS= -g -O0 -MMD $(INCLDIRS) default: m5tap @@ -48,6 +46,8 @@ default: m5tap m5tap: tap.o cprintf.o $(CXX) $(LFLAGS) -o $@ $^ -lpcap -L/usr/local/lib -ldnet +install: m5tap + $(SUDO) install -o root -m 555 m5tap /usr/local/bin clean: @rm -f m5tap *.o *.d *~ .#* |