Commit 10f00ec3d3d7fdd4d0fa2979ac3e41f34ba5c099
1 parent
1d238aa5
some changes on the build system to create the first distribution
Showing
4 changed files
with
14 additions
and
13 deletions
... | ... | @@ -2,11 +2,11 @@ |
2 | 2 | # Process this file with autoconf to produce a configure script. |
3 | 3 | |
4 | 4 | AC_PREREQ([2.68]) |
5 | -AC_INIT([cclass], [0.0.1], [Georg Hopp <georg@steffers.org>]) | |
5 | +AC_INIT([webgameserver], [0.0.1], [Georg Hopp <georg@steffers.org>]) | |
6 | 6 | AM_INIT_AUTOMAKE |
7 | 7 | AC_COPYRIGHT([Copyright (C) 2012 Georg Hopp]) |
8 | 8 | AC_REVISION([$Revision: 0.01 $]) |
9 | -AC_CONFIG_SRCDIR([src/testserver.c]) | |
9 | +AC_CONFIG_SRCDIR([src/webgameserver.c]) | |
10 | 10 | AC_CONFIG_HEADERS([config.h]) |
11 | 11 | AC_CONFIG_MACRO_DIR([m4]) |
12 | 12 | ... | ... |
... | ... | @@ -55,11 +55,11 @@ UTILS = utils/hash.c \ |
55 | 55 | |
56 | 56 | AM_CFLAGS = -Wall -I ../include/ |
57 | 57 | |
58 | -bin_PROGRAMS = testserver | |
58 | +bin_PROGRAMS = webgameserver | |
59 | 59 | |
60 | -testserver_SOURCES = testserver.c \ | |
61 | - $(IFACE) $(SOCKET) $(SERVER) $(LOGGER) $(MSG) $(REQ) \ | |
62 | - $(WRITER) $(RESP) $(HEADER) $(PARSER) $(WORKER) $(CB) \ | |
63 | - $(UTILS) $(MSGQ) $(SESSION) | |
64 | -testserver_CFLAGS = -Wall -I ../include/ | |
65 | -testserver_LDFLAGS = -lrt | |
60 | +webgameserver_SOURCES = webgameserver.c \ | |
61 | + $(IFACE) $(SOCKET) $(SERVER) $(LOGGER) $(MSG) $(REQ) \ | |
62 | + $(WRITER) $(RESP) $(HEADER) $(PARSER) $(WORKER) $(CB) \ | |
63 | + $(UTILS) $(MSGQ) $(SESSION) | |
64 | +webgameserver_CFLAGS = -Wall -I ../include/ | |
65 | +webgameserver_LDFLAGS = -lrt | ... | ... |
1 | 1 | ACLOCAL_AMFLAGS = -I m4 |
2 | +AUTOMAKE_OPTIONS = subdir-objects | |
2 | 3 | |
3 | 4 | TESTS_ENVIRONMENT = valgrind --error-exitcode=123 --leak-check=full --quiet |
4 | 5 | TESTS = cclassTest loggerTest socketTest serverTest |
5 | 6 | check_PROGRAMS = cclassTest loggerTest socketTest serverTest |
6 | 7 | |
7 | -COMMON = runtest.c ../src/cclass.c | |
8 | +COMMON = runtest.c ../src/interface/class.c | |
8 | 9 | CCLASS = $(COMMON) mock/class.c |
9 | -LOGGER = $(COMMON) ../src/logger.c ../src/logger/add.c \ | |
10 | - ../src/logger/log.c ../src/logger/syslog.c | |
10 | +LOGGER = $(COMMON) ../src/logger.c ../src/interface/logger.c \ | |
11 | + ../src/logger/stderr.c ../src/logger/syslog.c | |
11 | 12 | SOCKET = $(LOGGER) ../src/socket.c ../src/socket/listen.c \ |
12 | 13 | ../src/socket/accept.c ../src/socket/connect.c |
13 | 14 | SERVER = $(SOCKET) ../src/server.c ../src/server/run.c \ |
14 | - ../src/server/close_conn.c ../src/signalHandling.c | |
15 | + ../src/server/close_conn.c ../src/utils/signalHandling.c | |
15 | 16 | |
16 | 17 | cclassTest_SOURCES = $(CCLASS) cclassTest.c |
17 | 18 | cclassTest_CFLAGS = -Wall -ggdb -O0 -finline-functions -I ../include -I .. -I . | ... | ... |
Please
register
or
login
to post a comment