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

Install tip and capture on both boss and users.

parent 0bdefd2f
...@@ -23,8 +23,7 @@ capture: capture.c ...@@ -23,8 +23,7 @@ capture: capture.c
# #
# Do not install by default. # Do not install by default.
# #
install: install: all
real-install: all
install -s capture $(DESTDIR)/usr/site/bin install -s capture $(DESTDIR)/usr/site/bin
clean: clean:
......
...@@ -5,13 +5,7 @@ SUBDIR = tip ...@@ -5,13 +5,7 @@ SUBDIR = tip
include $(OBJDIR)/Makeconf include $(OBJDIR)/Makeconf
# all: tip
# 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.
#
all:
@echo "TIP cannot be built or installed on the ops node"
include $(TESTBED_SRCDIR)/GNUmakerules include $(TESTBED_SRCDIR)/GNUmakerules
...@@ -25,23 +19,12 @@ OBJS = cmds.o cmdtab.o hunt.o partab.o \ ...@@ -25,23 +19,12 @@ OBJS = cmds.o cmdtab.o hunt.o partab.o \
# #
LIBS= LIBS=
tip: $(OBJS) tip: $(OBJS)
$(CC) -o tip $(OBJS) $(LIBS) $(CC) -static -o tip $(OBJS) $(LIBS)
tip.static: $(OBJS)
$(CC) -static -o tip.static $(OBJS) $(LIBS)
$(OBJS): tipconf.h tip.h $(OBJS): tipconf.h tip.h
install: install: all $(INSTALL_BINDIR)/tip
@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_PROGRAM) tip.static $(INSTALL_BINDIR)/tip
clean: clean:
rm -f $(OBJS) tip tip.static rm -f $(OBJS) tip
Markdown is supported
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