Commit 0c558bb4 authored by Mike Hibler's avatar Mike Hibler

Add make lines for upload client so we can build for Linux MFS.

parent dd210486
......@@ -32,6 +32,11 @@ SERVERFLAGS = $(CFLAGS)
SERVERLIBS = $(PTHREADLIBS)
SERVEROBJS = server.o $(SHAREDOBJS)
# Master server based image uploader client
UPLOADFLAGS = $(CFLAGS)
UPLOADLIBS =
UPLOADOBJS = upload.o uploadio.o log.o network.o utils.o
ifeq ($(WITH_CRYPTO),1)
IUZFLAGS += -DWITH_CRYPTO -DSIGN_CHECKSUM
IUZLIBS += -lcrypto
......@@ -63,13 +68,18 @@ CFLAGS += -DCONDVARS_WORK
#CLIENTLIBS += `elvin-config --libs vin4c`
#EVENTFLAGS = $(CFLAGS) `elvin-config --cflags vin4c` -I$(TESTBED_SRCDIR)
all: frisbee frisbeed
all: frisbee frisupload frisbeed
frisbee: $(CLIENTOBJS)
$(CC) $(LDFLAGS) $(CLIENTFLAGS) $(CLIENTOBJS) $(CLIENTLIBS) $(IUZLIBS) -o frisbee
cp frisbee frisbee.debug
strip frisbee
frisupload: $(UPLOADOBJS)
$(CC) $(LDFLAGS) $(UPLOADFLAGS) $(UPLOADOBJS) $(UPLOADLIBS) -o frisupload
cp frisupload frisupload.debug
strip frisupload
frisbeed: $(SERVEROBJS)
$(CC) $(LDFLAGS) $(SERVERFLAGS) $(SERVEROBJS) $(SERVERLIBS) -o frisbeed
cp frisbeed frisbeed.debug
......
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