Makefile.am 781 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/header.c http/header/get.c \
	 http/header/sort.c http/request/parser/get_header.c \
	 http/request/parser/parse.c http/request/parser/get_request_line.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/