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

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
LIBS += -lm -L/usr/local/lib -lpubsub
LDFLAGS += $(LDSTATIC)
ifeq ($(SYSTEM),Linux)
shared-node-monitor: shared-node-monitor.o $(TESTBED_LIBOBJDIR)/event/libevent.a
$(CC) $(LDFLAGS) -o $@ shared-node-monitor.o $(LIBS)
shared-node-monitor.o: shared-node-monitor.c
$(CC) $(CFLAGS) -o $@ $<
else
shared-node-monitor:
endif
boss-install:
......@@ -72,7 +76,9 @@ client: shared-node-monitor
client-install: client
-mkdir -p $(USRBINDIR)
$(INSTALL_PROGRAM) $(SRCDIR)/geni-get $(USRBINDIR)
ifeq ($(SYSTEM),Linux)
$(INSTALL_PROGRAM) shared-node-monitor $(DESTDIR)$CLIENT_BINDIR)/shared-node-monitor
endif
subboss:
......
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