Commit 9f6f4008 authored by Leigh Stoller's avatar Leigh Stoller

Ug, rename everything. I chose really dumb names sometimes.

parent 50b1e4a7
......@@ -4,9 +4,9 @@ OBJDIR = ../..
SUBDIR = event/tbgen
SYSTEM := $(shell uname -s)
PROGRAMS = tbmevc
PROGRAMS = tevc
ifneq ($(SYSTEM),Linux)
PROGRAMS += tbmevd tbmevd.restart
PROGRAMS += tevd tevd.restart
endif
include $(OBJDIR)/Makeconf
......@@ -34,20 +34,20 @@ endif
#LIBS += `elvin-config --libs vin4mt`
LIBS += -L/usr/local/lib -lvin4mt -lvin4c -lvin4 -lssl -lcrypto -lm
tbmevc: tbmevc.o
$(CC) $(LDFLAGS) -static -o $@ tbmevc.o $(LIBS)
tevc: tevc.o
$(CC) $(LDFLAGS) -static -o $@ tevc.o $(LIBS)
tbmevd: tbmevd.o
$(CC) $(LDFLAGS) -o $@ tbmevd.o \
tevd: tevd.o
$(CC) $(LDFLAGS) -o $@ tevd.o \
-L/usr/local/lib/mysql -lmysqlclient $(LIBS)
$(PROGRAMS): ../lib/libevent.a ../lib/event.h
install: $(INSTALL_SBINDIR)/tbmevd \
$(INSTALL_SBINDIR)/tbmevd.restart
install: $(INSTALL_SBINDIR)/tevd \
$(INSTALL_SBINDIR)/tevd.restart
client-install:
$(INSTALL_PROGRAM) tbmevc /etc/testbed/tbmevc
$(INSTALL_PROGRAM) tevc /etc/testbed/tevc
clean:
/bin/rm -f *.o $(PROGRAMS)
......@@ -2,6 +2,6 @@
TBDIR=@prefix@
killall tbmevd
exec ${TBDIR}/sbin/tbmevd >>& $TBDIR/log/tbmevd.log
killall tevd
exec ${TBDIR}/sbin/tevd >>& $TBDIR/log/tevd.log
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