INCLUDES = \
-I../include \
-I../../Model/include \
- -DDEBUG \
+## -DDEBUG \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
@PACKAGE_CFLAGS@
-##bin_PROGRAMS = plaqui-server
+bin_PROGRAMS = plaqui-server
noinst_LIBRARIES = libplaquiserver.a
-libplaquiserver_a_SOURCES = \
+plaqui_server_SOURCES = \
+ main.cpp \
command.cpp \
connection.cpp \
controlclient.cpp \
httpresponse.cpp \
plant.cpp \
receiver.cpp \
+ response.cpp \
+ response_parser.cpp \
runnable.cpp \
server.cpp \
string.cpp \
httpresponse.h \
plant.h \
receiver.h \
+ response.h \
runnable.h \
server.h \
string.h \
tcpserver.h \
transmitter.h
-##plaqui_server_LDADD = @PACKAGE_LIBS@
+libplaquiserver_a_SOURCES = \
+ command.cpp \
+ connection.cpp \
+ controlclient.cpp \
+ controlserver.cpp \
+ httperror.cpp \
+ httpheaders.cpp \
+ httpmessage.cpp \
+ httprequest.cpp \
+ httpresponse.cpp \
+ plant.cpp \
+ receiver.cpp \
+ response.cpp \
+ response_parser.cpp \
+ runnable.cpp \
+ server.cpp \
+ string.cpp \
+ tcpserver.cpp \
+ transmitter.cpp
+
+plaqui_server_LDADD = \
+ @PACKAGE_LIBS@ \
+ -lsocket++ \
+ ../src/libplaquiserver.a \
+ ../../Model/src/libplaquimodel.a