-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
89 lines (76 loc) · 1.62 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
bin_PROGRAMS = Maelstrom Maelstrom-netd
Maelstrom_SOURCES = \
Maelstrom.h \
Maelstrom_Globals.h \
buttonlist.h \
checksum.cpp \
checksum.h \
colortable.h \
controls.cpp \
controls.h \
dialog.cpp \
dialog.h \
fastrand.cpp \
fastrand.h \
init.cpp \
load.cpp \
load.h \
logic.h \
main.cpp \
myerror.cpp \
myerror.h \
netscore.cpp \
netscore.h \
public_key.h \
rect.cpp \
rect.h \
scores.cpp \
scores.h
LOGIC = netlogic
Maelstrom_LDADD = \
$(LOGIC)/liblogic.a \
screenlib/libSDLscreen.a \
maclib/libSDLmac.a \
@MATHLIB@ @INETLIB@ @ICONOBJ@
SUBDIRS = $(LOGIC) screenlib maclib
EXTRA_DIST = \
autogen.sh \
VisualC.zip \
PBProjects.tar.gz \
MPWmake.sea.bin \
CREDITS \
Changelog \
README.joystick \
README.network \
README.options \
COPYING \
COPYING.GPL \
Images \
Maelstrom_Fonts \
Maelstrom_Sounds \
Maelstrom_Sprites \
Maelstrom-Scores \
ico_o \
icon.bmp icon.xpm \
Maelstrom.spec
DIST_SUBDIRS = $(SUBDIRS) Images Docs
# Special install rule for the game
install:
make install_gamedata target=@GAME_INSTALLDIR@
install_gamedata:
sh mkinstalldirs $(target)/
cp -rv Images \
Maelstrom_Fonts \
Maelstrom_Sounds \
Maelstrom_Sprites \
Maelstrom-Scores \
icon.bmp icon.xpm $(target)/
chmod 666 $(target)/Maelstrom-Scores
install_gamedocs:
sh mkinstalldirs $(target)/
cp -rv README* COPYING* Docs* $(target)/
# Rule to build tar-gzipped distribution package
$(PACKAGE)-$(VERSION).tar.gz: dist
# Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz
rpm -ta $(PACKAGE)-$(VERSION).tar.gz