2011-04-14 20:37:47 +02:00
|
|
|
LIBDIR = ../libopenjpip
|
2011-08-27 14:53:38 +02:00
|
|
|
|
2011-04-14 20:37:47 +02:00
|
|
|
LIBFNAME = $(LIBDIR)/libopenjpip_server.a
|
2011-08-27 14:53:38 +02:00
|
|
|
CFLAGS = -O3 -Wall -m32 -DSERVER -DQUIT_SIGNAL=\"quitJPIP\" -I$(LIBDIR)
|
2011-04-14 20:37:47 +02:00
|
|
|
LDFLAGS = -L$(LIBDIR) -lm -lfcgi -lopenjpip_server
|
|
|
|
|
|
|
|
ALL = opj_server
|
|
|
|
|
|
|
|
all: $(ALL)
|
|
|
|
|
|
|
|
opj_server: opj_server.o query_parser.o channel_manager.o session_manager.o $(LIBFNAME)
|
|
|
|
$(CC) $(CFLAGS) $< query_parser.o channel_manager.o session_manager.o $(LDFLAGS) -o $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(ALL) *.o *~
|