Commit 6e910597 authored by Mike Hibler's avatar Mike Hibler

Make subboss install do the right thing.

parent 74e493e8
......@@ -49,13 +49,13 @@ endif
$(MAKE) -C frisbee.redux client-install
subboss: client
$(MAKE) -C frisbee.redux all
$(MAKE) -C frisbee.redux subboss
subboss-install: subboss client-install
ifeq ($(SYSTEM),FreeBSD)
CLIENT_BINDIR=/etc/testbed $(MAKE) -e -C frisbee.redux install
CLIENT_BINDIR=/etc/testbed $(MAKE) -e -C frisbee.redux subboss-install
else
CLIENT_BINDIR=/usr/local/bin $(MAKE) -e -C frisbee.redux install
CLIENT_BINDIR=/usr/local/bin $(MAKE) -e -C frisbee.redux subboss-install
endif
mfs:
......
......@@ -42,13 +42,20 @@ endif
endif
endif
#ifndef WITH_MSERVER_NULL
WITH_MSERVER_NULL = 1
#endif
#ifndef WITH_MSERVER_EMULAB
WITH_MSERVER_EMULAB = 1
#endif
include $(OBJDIR)/Makeconf
all: frisbee frisbeed mfrisbeed frisupload frisuploadd
subboss:
$(MAKE) WITH_MSERVER_EMULAB=0 all
include $(TESTBED_SRCDIR)/GNUmakerules
FRISBEEDIR = $(OBJDIR)/os/imagezip
......@@ -188,10 +195,8 @@ frisuploadd-debug: $(UPLOADDOBJS)
# cp frisuploadd frisuploadd.debug
# strip frisuploadd
mfrisbeed: $(MSERVEROBJS)
$(CC) $(LDFLAGS) $(MSERVERFLAGS) $(MSERVEROBJS) $(MSERVERLIBS) -o mfrisbeed
cp mfrisbeed mfrisbeed.debug
strip mfrisbeed
mfrisbeed-debug: $(MSERVEROBJS)
$(CC) $(LDFLAGS) $(MSERVERFLAGS) $(MSERVEROBJS) $(MSERVERLIBS) -o $@
frisuploader.o: $(SRCDIR)/frisuploader.c decls.h uploadio.h
$(CC) -c $(UPLOADDFLAGS) $(SRCDIR)/frisuploader.c
......@@ -234,6 +239,9 @@ trace.o: decls.h trace.h log.h
install: $(INSTALL_SBINDIR)/mfrisbeed $(INSTALL_SBINDIR)/frisbeed $(INSTALL_SBINDIR)/frisbee $(INSTALL_SBINDIR)/frisuploadd
subboss-install: subboss
$(MAKE) WITH_MSERVER_EMULAB=0 install
client: frisbee frisupload
client-install: client
......
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