Makefile.am 644 Bytes
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects

CLASS  = class.c interface.c interface/class.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 interface/logger.c
HTTP   = interface/stream_reader.c http/request_parser.c http/request.c http/request_queue.c http/request/header_get.c

AM_CFLAGS = -Wall -I ../include/

bin_PROGRAMS = testserver

testserver_SOURCES = testserver.c \
		     $(CLASS) $(SOCKET) $(SERVER) $(LOGGER) $(HTTP) \
		     signalHandling.c daemonize.c
testserver_CFLAGS  = -Wall -I ../include/