Makefile.am
1.02 KB
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects
IFACE = interface/class.c interface/stream_reader.c interface/logger.c
CLASS = class.c interface.c
SOCKET = socket.c socket/accept.c socket/connect.c socket/listen.c
SERVER = server.c server/run.c server/close_conn.c
LOGGER = logger.c logger/stderr.c logger/syslog.c
REQ = http/request.c http/request/queue.c http/request/has_keep_alive.c
RESP = http/response.c http/response/404.c http/response/size_get.c \
http/response/to_string.c
HEADER = http/header.c http/header/get.c http/header/add.c \
http/header/size_get.c http/header/to_string.c
PARSER = http/request/parser.c http/request/parser/get_header.c \
http/request/parser/parse.c http/request/parser/get_request_line.c \
http/request/parser/read.c
AM_CFLAGS = -Wall -I ../include/
bin_PROGRAMS = testserver
testserver_SOURCES = testserver.c \
$(IFACE) $(CLASS) $(SOCKET) $(SERVER) $(LOGGER) $(REQ) \
$(RESP) $(HEADER) $(PARSER) signalHandling.c daemonize.c
testserver_CFLAGS = -Wall -I ../include/