forked from andbof/yastg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
143 lines (133 loc) · 2.87 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -D_GNU_SOURCE ${libev_CFLAGS}
AM_CFLAGS = -g -O0 -Wall -Werror -Wformat -Wformat-security -Wformat-nonliteral -Wformat=2 -ftrapv -Wno-unused-parameter -Wtype-limits -fstack-protector-all -fno-strict-aliasing -Wno-format-y2k
AM_YFLAGS = -d
TESTS = test/cli_test \
test/config_test \
test/ptrlist_test \
test/stringtree_test
BUILT_SOURCES = parseconfig-yacc.c parseconfig-lex.c
confdir = $(sysconfdir)/xdg/yastg
bin_PROGRAMS = yastg
check_PROGRAMS = test/cli_test \
test/config_test \
test/conntest \
test/ptrlist_test \
test/stringtree_test
check_LTLIBRARIES = test_module.la
dist_conf_DATA = data/constellations \
data/firstnames \
data/foociv \
data/grazny \
data/items \
data/placenames \
data/placeprefix \
data/placesuffix \
data/planets \
data/ports \
data/ships \
data/surnames \
data/terran \
data/yastg.conf
# optflags: -O3 -funroll-loops
yastg_LDADD = ${libev_LIBS}
yastg_SOURCES = asciiart.c \
asciiart.h \
buffer.c \
buffer.h \
cargo.c \
cargo.h \
civ.c \
civ.h \
cli.c \
cli.h \
common.c \
common.h \
connection.c \
connection.h \
constellation.c \
constellation.h \
console.c \
console.h \
inventory.h \
item.c \
item.h \
list.h \
loadconfig.c \
loadconfig.h \
log.c \
log.h \
main.c \
map.c \
map.h \
module.c \
module.h \
mt19937ar-cok.c \
mt19937ar-cok.h \
mtrandom.c \
mtrandom.h \
names.c \
names.h \
parseconfig-lex.l \
parseconfig-yacc.y \
parseconfig.h \
parseconfig-rename.h \
planet.c \
planet.h \
planet_type.c \
planet_type.h \
player.c \
player.h \
port.c \
port.h \
port_type.c \
port_type.h \
port_update.c \
port_update.h \
ptrarray.c \
ptrarray.h \
ptrlist.c \
ptrlist.h \
rbtree.c \
rbtree.h \
system.c \
system.h \
server.c \
server.h \
ship.c \
ship.h \
ship_type.c \
ship_type.h \
star.c \
star.h \
stringtree.c \
stringtree.h \
universe.c \
universe.h
test_conntest_SOURCES = test/conntest.c
test_cli_test_SOURCES = test/cli_test.c \
cli.c \
cli.h \
common.c \
common.h \
stringtree.c \
stringtree.h
test_ptrlist_test_SOURCES = test/ptrlist_test.c \
mt19937ar-cok.c \
mtrandom.c \
ptrlist.c
test_stringtree_test_SOURCES = test/stringtree_test.c \
stringtree.c \
common.c
test_config_test_SOURCES = test/config_test.c \
log.c \
log.h \
parseconfig.h \
parseconfig-lex.l \
parseconfig-rename.h \
parseconfig-yacc.y
# 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