forked from andbof/yastg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
86 lines (78 loc) · 1.83 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
MAINTAINERCLEANFILES = Makefile.in \
aclocal.m4 \
config.h.in \
configure \
depcomp \
missing \
install-sh \
config.guess \
config.h.in~ \
config.sub \
ltmain.sh \
libtool \
m4/*.m4
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -g -O0 -Wall -Werror -Wformat -Wformat-security -Wformat-nonliteral -Wformat=2 -ftrapv -Wno-unused-variable -Wno-unused-parameter -Wtype-limits -fstack-protector-all -fno-strict-aliasing -Wno-format-y2k
TESTS = test/stringtree_test
bin_PROGRAMS = yastg
check_PROGRAMS = test/stringtree_test test/conntest
check_LTLIBRARIES = test_module.la
# optflags: -O3 -funroll-loops
yastg_SOURCES = base.c \
base.h \
civ.c \
civ.h \
cli.c \
cli.h \
common.c \
common.h \
connection.c \
connection.h \
constellation.c \
constellation.h \
data.c \
data.h \
inventory.h \
list.h \
log.c \
log.h \
main.c \
module.c \
module.h \
mt19937ar-cok.c \
mt19937ar-cok.h \
mtrandom.c \
mtrandom.h \
names.c \
names.h \
parseconfig.c \
parseconfig.h \
planet.c \
planet.h \
player.c \
player.h \
ptrarray.c \
ptrarray.h \
ptrlist.c \
ptrlist.h \
rbtree.c \
rbtree.h \
sector.c \
sector.h \
server.c \
server.h \
star.c \
star.h \
stringtree.c \
stringtree.h \
universe.c \
universe.h
test_conntest_SOURCES = test/conntest.c
test_stringtree_test_SOURCES = test/stringtree_test.c \
stringtree.c \
common.c
# The LDFLAGS for test_module are required to make a shared library without the
# 'lib' prefix (-module), without any version suffix (-avoid-version) and force
# building a shared library even though it isn't installed (-rpath /dev/null)
test_module_la_LDFLAGS = -module -avoid-version -rpath /dev/null
test_module_la_SOURCES = test/test_module.c