Commit a6f1beaa authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Install tip and capture on both boss and users.

parent 0bdefd2f
......@@ -23,8 +23,7 @@ capture: capture.c
# Do not install by default.
real-install: all
install: all
install -s capture $(DESTDIR)/usr/site/bin
......@@ -5,13 +5,7 @@ SUBDIR = tip
include $(OBJDIR)/Makeconf
# Do not build tip in general build. All this kludgery is to make sure
# that if we build on paper but install it on plastic, tip will get
# built over there and not here. 3.4 vs 4.1 problems. Big Sigh.
@echo "TIP cannot be built or installed on the ops node"
all: tip
include $(TESTBED_SRCDIR)/GNUmakerules
......@@ -25,23 +19,12 @@ OBJS = cmds.o cmdtab.o hunt.o partab.o \
tip: $(OBJS)
$(CC) -o tip $(OBJS) $(LIBS)
tip.static: $(OBJS)
$(CC) -static -o tip.static $(OBJS) $(LIBS)
tip: $(OBJS)
$(CC) -static -o tip $(OBJS) $(LIBS)
$(OBJS): tipconf.h tip.h
@echo "TIP cannot be built or installed on the ops node"
# Control node installation (okay, plastic)
control-install: tip.static
-mkdir -p $(INSTALL_BINDIR)
install: all $(INSTALL_BINDIR)/tip
rm -f $(OBJS) tip tip.static
rm -f $(OBJS) tip
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment