summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 5d0386759a477c842f7bb2a913dc4fd147692680 (plain)
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
144
145
146
147
148
149
150
gamesdir = $(prefix)/games

games_PROGRAMS = chocolate-doom chocolate-server

AM_CFLAGS = -I../textscreen @SDL_CFLAGS@ @SDLMIXER_CFLAGS@ @SDLNET_CFLAGS@

DEDSERV_FILES=\
d_dedicated.c                              \
i_main.c                                   \
i_timer.c            i_timer.h             \
m_argv.c             m_argv.h              \
net_common.c         net_common.h          \
net_dedicated.c      net_dedicated.h       \
net_io.c             net_io.h              \
net_packet.c         net_packet.h          \
net_sdl.c            net_sdl.h             \
net_server.c         net_server.h          \
net_structrw.c       net_structrw.h        \
z_native.c           z_zone.h

chocolate_server_SOURCES=$(DEDSERV_FILES)
chocolate_server_LDADD = @LDFLAGS@ @SDL_LIBS@ @SDLNET_LIBS@ 

SOURCE_FILES=\
am_map.c             am_map.h              \
deh_ammo.c                                 \
deh_cheat.c                                \
deh_defs.h                                 \
deh_frame.c                                \
deh_io.c             deh_io.h              \
deh_main.c           deh_main.h            \
deh_mapping.c        deh_mapping.h         \
deh_misc.c           deh_misc.h            \
deh_ptr.c                                  \
deh_sound.c                                \
deh_text.c                                 \
deh_thing.c                                \
deh_weapon.c                               \
d_englsh.h                                 \
d_event.h                                  \
d_items.c            d_items.h             \
d_main.c             d_main.h              \
d_net.c              d_net.h               \
doomdata.h                                 \
doomdef.c            doomdef.h             \
doomkeys.h                                 \
doomfeatures.h                             \
doomstat.c           doomstat.h            \
doomtype.h                                 \
d_player.h                                 \
dstrings.c           dstrings.h            \
d_textur.h                                 \
d_think.h                                  \
d_ticcmd.h                                 \
f_finale.c           f_finale.h            \
f_wipe.c             f_wipe.h              \
g_game.c             g_game.h              \
hu_lib.c             hu_lib.h              \
hu_stuff.c           hu_stuff.h            \
i_main.c                                   \
info.c               info.h                \
i_sound.c            i_sound.h             \
i_system.c           i_system.h            \
i_timer.c            i_timer.h             \
i_video.c            i_video.h             \
m_argv.c             m_argv.h              \
m_bbox.c             m_bbox.h              \
m_cheat.c            m_cheat.h             \
m_fixed.c            m_fixed.h             \
m_menu.c             m_menu.h              \
m_misc.c             m_misc.h              \
md5.c                md5.h                 \
memio.c              memio.h               \
mus2mid.c            mus2mid.h             \
m_random.c           m_random.h            \
m_swap.c             m_swap.h              \
net_client.c         net_client.h          \
net_common.c         net_common.h          \
net_dedicated.c      net_dedicated.h       \
net_defs.h                                 \
net_gui.c            net_gui.h             \
net_io.c             net_io.h              \
net_loop.c           net_loop.h            \
net_packet.c         net_packet.h          \
net_query.c          net_query.h           \
net_sdl.c            net_sdl.h             \
net_server.c         net_server.h          \
net_structrw.c       net_structrw.h        \
p_ceilng.c                                 \
p_doors.c                                  \
p_enemy.c                                  \
p_floor.c                                  \
p_inter.c            p_inter.h             \
p_lights.c                                 \
p_local.h                                  \
p_map.c                                    \
p_maputl.c                                 \
p_mobj.c             p_mobj.h              \
p_plats.c                                  \
p_pspr.c             p_pspr.h              \
p_saveg.c            p_saveg.h             \
p_setup.c            p_setup.h             \
p_sight.c                                  \
p_spec.c             p_spec.h              \
p_switch.c                                 \
p_telept.c                                 \
p_tick.c             p_tick.h              \
p_user.c                                   \
r_bsp.c              r_bsp.h               \
r_data.c             r_data.h              \
r_defs.h                                   \
r_draw.c             r_draw.h              \
r_local.h                                  \
r_main.c             r_main.h              \
r_plane.c            r_plane.h             \
r_segs.c             r_segs.h              \
r_sky.c              r_sky.h               \
r_state.h                                  \
r_things.c           r_things.h            \
sounds.c             sounds.h              \
s_sound.c            s_sound.h             \
st_lib.c             st_lib.h              \
st_stuff.c           st_stuff.h            \
tables.c             tables.h              \
v_video.c            v_video.h             \
wi_stuff.c           wi_stuff.h            \
w_checksum.c         w_checksum.h          \
w_merge.c            w_merge.h             \
w_wad.c              w_wad.h               \
z_zone.c             z_zone.h   

if HAVE_WINDRES
chocolate_doom_SOURCES=$(SOURCE_FILES) chocolate-doom-res.rc
else
chocolate_doom_SOURCES=$(SOURCE_FILES)
endif

chocolate_doom_LDADD = ../textscreen/libtextscreen.a @LDFLAGS@ @SDL_LIBS@ @SDLMIXER_LIBS@ @SDLNET_LIBS@ 

EXTRA_DIST = convert-icon chocolate_doom_icon.c

.rc.o:
	$(WINDRES) $^ -o $@
%.o : %.rc
	$(WINDRES) $^ -o $@

chocolate_doom_icon.c : ../data/chocolate-doom.png
	./convert-icon $^ $@