Commit 6fd29425 authored by Mike Hibler's avatar Mike Hibler
Browse files

Only build shared-node-monitor on Linux.

Isn't needed (and doesn't compile) under BSD.
parent 35f63709
...@@ -55,11 +55,15 @@ LIBS += -levent -lcrypto ...@@ -55,11 +55,15 @@ LIBS += -levent -lcrypto
LIBS += -lm -L/usr/local/lib -lpubsub LIBS += -lm -L/usr/local/lib -lpubsub
LDFLAGS += $(LDSTATIC) LDFLAGS += $(LDSTATIC)
ifeq ($(SYSTEM),Linux)
shared-node-monitor: shared-node-monitor.o $(TESTBED_LIBOBJDIR)/event/libevent.a shared-node-monitor: shared-node-monitor.o $(TESTBED_LIBOBJDIR)/event/libevent.a
$(CC) $(LDFLAGS) -o $@ shared-node-monitor.o $(LIBS) $(CC) $(LDFLAGS) -o $@ shared-node-monitor.o $(LIBS)
shared-node-monitor.o: shared-node-monitor.c shared-node-monitor.o: shared-node-monitor.c
$(CC) $(CFLAGS) -o $@ $< $(CC) $(CFLAGS) -o $@ $<
else
shared-node-monitor:
endif
boss-install: boss-install:
...@@ -72,7 +76,9 @@ client: shared-node-monitor ...@@ -72,7 +76,9 @@ client: shared-node-monitor
client-install: client client-install: client
-mkdir -p $(USRBINDIR) -mkdir -p $(USRBINDIR)
$(INSTALL_PROGRAM) $(SRCDIR)/geni-get $(USRBINDIR) $(INSTALL_PROGRAM) $(SRCDIR)/geni-get $(USRBINDIR)
ifeq ($(SYSTEM),Linux)
$(INSTALL_PROGRAM) shared-node-monitor $(DESTDIR)$CLIENT_BINDIR)/shared-node-monitor $(INSTALL_PROGRAM) shared-node-monitor $(DESTDIR)$CLIENT_BINDIR)/shared-node-monitor
endif
subboss: subboss:
......
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