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,11 +2,11 @@ | ||
2 | # Process this file with autoconf to produce a configure script. | 2 | # Process this file with autoconf to produce a configure script. |
3 | 3 | ||
4 | AC_PREREQ([2.68]) | 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 | AM_INIT_AUTOMAKE | 6 | AM_INIT_AUTOMAKE |
7 | AC_COPYRIGHT([Copyright (C) 2012 Georg Hopp]) | 7 | AC_COPYRIGHT([Copyright (C) 2012 Georg Hopp]) |
8 | AC_REVISION([$Revision: 0.01 $]) | 8 | AC_REVISION([$Revision: 0.01 $]) |
9 | -AC_CONFIG_SRCDIR([src/testserver.c]) | 9 | +AC_CONFIG_SRCDIR([src/webgameserver.c]) |
10 | AC_CONFIG_HEADERS([config.h]) | 10 | AC_CONFIG_HEADERS([config.h]) |
11 | AC_CONFIG_MACRO_DIR([m4]) | 11 | AC_CONFIG_MACRO_DIR([m4]) |
12 | 12 |
@@ -55,11 +55,11 @@ UTILS = utils/hash.c \ | @@ -55,11 +55,11 @@ UTILS = utils/hash.c \ | ||
55 | 55 | ||
56 | AM_CFLAGS = -Wall -I ../include/ | 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 | ACLOCAL_AMFLAGS = -I m4 | 1 | ACLOCAL_AMFLAGS = -I m4 |
2 | +AUTOMAKE_OPTIONS = subdir-objects | ||
2 | 3 | ||
3 | TESTS_ENVIRONMENT = valgrind --error-exitcode=123 --leak-check=full --quiet | 4 | TESTS_ENVIRONMENT = valgrind --error-exitcode=123 --leak-check=full --quiet |
4 | TESTS = cclassTest loggerTest socketTest serverTest | 5 | TESTS = cclassTest loggerTest socketTest serverTest |
5 | check_PROGRAMS = cclassTest loggerTest socketTest serverTest | 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 | CCLASS = $(COMMON) mock/class.c | 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 | SOCKET = $(LOGGER) ../src/socket.c ../src/socket/listen.c \ | 12 | SOCKET = $(LOGGER) ../src/socket.c ../src/socket/listen.c \ |
12 | ../src/socket/accept.c ../src/socket/connect.c | 13 | ../src/socket/accept.c ../src/socket/connect.c |
13 | SERVER = $(SOCKET) ../src/server.c ../src/server/run.c \ | 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 | cclassTest_SOURCES = $(CCLASS) cclassTest.c | 17 | cclassTest_SOURCES = $(CCLASS) cclassTest.c |
17 | cclassTest_CFLAGS = -Wall -ggdb -O0 -finline-functions -I ../include -I .. -I . | 18 | cclassTest_CFLAGS = -Wall -ggdb -O0 -finline-functions -I ../include -I .. -I . |
Please
register
or
login
to post a comment