Mercurial > hg > early-roguelike
annotate xrogue/Makefile.in @ 239:837044d2c362
Merge the GCC5 and build fix branches.
This fixes all warnings produced by GCC 5, except the ones related to
system functions. Those could be fixed by including the proper headers,
but it would be better to replace the system-dependent code with
functions from mdport.c.
author | John "Elwin" Edwards |
---|---|
date | Fri, 11 Mar 2016 19:47:52 -0500 |
parents | bac2c81fec78 |
children | 0b3d1b38998f |
rev | line source |
---|---|
133
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
1 # XRogue: Expeditions into the Dungeons of Doom |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
2 # Copyright (C) 1991 Robert Pietkivitch |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
3 # All rights reserved. |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
4 # |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
5 # Based on "Advanced Rogue" |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
6 # Copyright (C) 1984, 1985 Michael Morgan, Ken Dalka and AT&T |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
7 # All rights reserved. |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
8 # |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
9 # Based on "Rogue: Exploring the Dungeons of Doom" |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
10 # Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
11 # All rights reserved. |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
12 # |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
13 # See the file LICENSE.TXT for full copyright and licensing information. |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
14 |
156
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
15 DISTNAME=@PACKAGE_TARNAME@@PACKAGE_VERSION@ |
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
16 PROGRAM=@PROGRAM@ |
158
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
17 PACKAGE_TARNAME=@PACKAGE_TARNAME@-@PACKAGE_VERSION@ |
156
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
18 |
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
19 SAVEDIR=@SAVEDIR@ |
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
20 SCOREFILE=@SCOREFILE@ |
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
21 LOGFILE=@LOGFILE@ |
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
22 GROUPOWNER=@GROUPOWNER@ |
133
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
23 |
158
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
24 DESTDIR= |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
25 prefix=@prefix@ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
26 exec_prefix=@exec_prefix@ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
27 datarootdir=@datarootdir@ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
28 bindir=@bindir@ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
29 docdir=@docdir@ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
30 |
133
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
31 O=o |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
32 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
33 HDRS = rogue.h mach_dep.h network.h |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
34 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
35 OBJS1 = vers.$(O) actions.$(O) bolt.$(O) chase.$(O) command.$(O) daemon.$(O) \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
36 daemons.$(O) eat.$(O) effects.$(O) fight.$(O) encumb.$(O) help.$(O) \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
37 init.$(O) io.$(O) list.$(O) main.$(O) maze.$(O) misc.$(O) monsters.$(O) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
38 OBJS2 = mons_def.$(O) move.$(O) n_level.$(O) options.$(O) outside.$(O) pack.$(O) \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
39 passages.$(O) player.$(O) potions.$(O) rings.$(O) rip.$(O) rooms.$(O) \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
40 save.$(O) scrolls.$(O) sticks.$(O) things.$(O) trader.$(O) util.$(O) \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
41 weapons.$(O) wear.$(O) wizard.$(O) rogue.$(O) state.$(O) xcrypt.$(O) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
42 OBJS = $(OBJS1) $(OBJS2) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
43 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
44 CFILES= vers.c actions.c bolt.c chase.c command.c daemon.c daemons.c eat.c \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
45 effects.c fight.c encumb.c help.c init.c io.c list.c main.c maze.c \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
46 misc.c monsters.c mons_def.c move.c n_level.c options.c outside.c \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
47 pack.c passages.c player.c potions.c rings.c rip.c rooms.c save.c \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
48 scrolls.c sticks.c things.c trader.c util.c weapons.c wear.c wizard.c \ |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
49 rogue.c state.c xcrypt.c |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
50 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
51 MISC = Makefile README.TXT LICENSE.TXT $(PROGRAM).sln $(PROGRAM).vcproj |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
52 |
231 | 53 CC = @CC@ |
156
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
54 CPPFLAGS =@DEFS@ |
160
2d221d574280
arogue7, xrogue: set CFLAGS empty by default in the Makefiles.
John "Elwin" Edwards
parents:
158
diff
changeset
|
55 CFLAGS= |
156
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
56 LIBS = @LIBS@ |
133
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
57 RM = rm -f |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
58 TAR = tar |
158
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
59 INSTALL=@INSTALL@ |
232
bac2c81fec78
Makefiles: don't rely on built-in implicit rules.
John "Elwin" Edwards
parents:
231
diff
changeset
|
60 .SUFFIXES: .obj .o .c |
133
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
61 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
62 .c.obj: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
63 $(CC) $(CFLAGS) /c $*.c |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
64 |
232
bac2c81fec78
Makefiles: don't rely on built-in implicit rules.
John "Elwin" Edwards
parents:
231
diff
changeset
|
65 .c.o: |
bac2c81fec78
Makefiles: don't rely on built-in implicit rules.
John "Elwin" Edwards
parents:
231
diff
changeset
|
66 $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c |
bac2c81fec78
Makefiles: don't rely on built-in implicit rules.
John "Elwin" Edwards
parents:
231
diff
changeset
|
67 |
133
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
68 $(PROGRAM): $(HDRS) $(OBJS) |
156
3e1146666ae5
arogue7, xrogue: begin using autoconf.
John "Elwin" Edwards
parents:
133
diff
changeset
|
69 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ |
133
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
70 |
158
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
71 install: $(PROGRAM) |
224
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
72 touch test |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
73 if test ! -f $(DESTDIR)$(SCOREFILE) ; then \ |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
74 mkdir -p `dirname $(DESTDIR)$(SCOREFILE)` ; \ |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
75 $(INSTALL) -m 0664 test $(DESTDIR)$(SCOREFILE) ; fi |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
76 if test ! -f $(DESTDIR)$(LOGFILE) ; then \ |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
77 mkdir -p `dirname $(DESTDIR)$(LOGFILE)` ; \ |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
78 $(INSTALL) -m 0664 test $(DESTDIR)$(LOGFILE) ; fi |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
79 if test "x$(SAVEDIR)" != "x" && test ! -d $(DESTDIR)$(SAVEDIR) ; then \ |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
80 mkdir -p $(DESTDIR)$(SAVEDIR) ; fi |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
81 mkdir -p $(DESTDIR)$(bindir) |
158
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
82 $(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM) |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
83 -if test "x$(GROUPOWNER)" != "x" ; then \ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
84 chgrp $(GROUPOWNER) $(DESTDIR)$(SCOREFILE) ; \ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
85 chgrp $(GROUPOWNER) $(DESTDIR)$(LOGFILE) ; \ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
86 chgrp $(GROUPOWNER) $(DESTDIR)$(bindir)/$(PROGRAM) ; \ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
87 chgrp $(GROUPOWNER) $(DESTDIR)$(SAVEDIR) ; \ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
88 chmod 02755 $(DESTDIR)$(bindir)/$(PROGRAM) ; \ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
89 chmod 0464 $(DESTDIR)$(SCOREFILE) ; \ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
90 chmod 0464 $(DESTDIR)$(LOGFILE) ; \ |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
91 chmod 0775 $(DESTDIR)$(SAVEDIR) ; \ |
224
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
92 fi |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
93 if test ! -d $(DESTDIR)$(docdir) ; \ |
158
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
94 then mkdir -p $(DESTDIR)$(docdir) ; fi |
224
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
95 $(INSTALL) -m 0644 LICENSE.TXT README.TXT $(DESTDIR)$(docdir) |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
96 $(RM) test |
158
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
97 |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
98 uninstall: |
224
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
99 $(RM) $(DESTDIR)$(bindir)/$(PROGRAM) |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
100 $(RM) -r $(DESTDIR)$(docdir) |
4d0f53998e8a
Makefile fixes related to installation.
John "Elwin" Edwards
parents:
160
diff
changeset
|
101 |
158
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
102 reinstall: uninstall install |
2515e03b2f09
arogue7, xrogue: add 'install' targets to Makefiles.
John "Elwin" Edwards
parents:
156
diff
changeset
|
103 |
133
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
104 clean: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
105 $(RM) $(OBJS1) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
106 $(RM) $(OBJS2) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
107 $(RM) core a.exe a.out a.exe.stackdump $(PROGRAM) $(PROGRAM).exe $(PROGRAM).tar $(PROGRAM).tar.gz $(PROGRAM).zip |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
108 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
109 dist.src: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
110 make clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
111 tar cf $(DISTNAME)-src.tar $(CFILES) $(HDRS) $(MISC) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
112 gzip -f $(DISTNAME)-src.tar |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
113 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
114 dist.irix: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
115 make clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
116 make CC=cc CFLAGS="-woff 1116 -O3" $(PROGRAM) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
117 tar cf $(DISTNAME)-irix.tar $(PROGRAM) README.TXT LICENSE.TXT |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
118 gzip -f $(DISTNAME)-irix.tar |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
119 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
120 dist.aix: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
121 make clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
122 make CC=xlc CFLAGS="-qmaxmem=16768 -O3 -qstrict" $(PROGRAM) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
123 tar cf $(DISTNAME)-aix.tar $(PROGRAM) README.TXT LICENSE.TXT |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
124 gzip -f $(DISTNAME)-aix.tar |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
125 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
126 dist.linux: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
127 make clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
128 make $(PROGRAM) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
129 tar cf $(DISTNAME)-linux.tar $(PROGRAM) README.TXT LICENSE.TXT |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
130 gzip -f $(DISTNAME)-linux.tar |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
131 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
132 dist.interix: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
133 make clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
134 make $(PROGRAM) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
135 tar cf $(DISTNAME)-interix.tar $(PROGRAM) README.TXT LICENSE.TXT |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
136 gzip -f $(DISTNAME)-interix.tar |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
137 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
138 dist.cygwin: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
139 make clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
140 make $(PROGRAM) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
141 tar cf $(DISTNAME)-cygwin.tar $(PROGRAM).exe README.TXT LICENSE.TXT |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
142 gzip -f $(DISTNAME)-cygwin.tar |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
143 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
144 dist.mingw32: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
145 $(MAKE) RM="cmd /c del" clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
146 $(MAKE) CRLIB="-lpdcurses -lWs2_32" $(PROGRAM) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
147 cmd /c del $(DISTNAME)-mingw32.zip |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
148 zip $(DISTNAME)-mingw32.zip $(PROGRAM).exe README.TXT LICENSE.TXT |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
149 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
150 dist.msys: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
151 $(MAKE) clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
152 $(MAKE) CRLIB="-lcurses -lWs2_32" $(PROGRAM) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
153 tar cf $(DISTNAME)-msys.tar $(PROGRAM).exe README.TXT LICENSE.TXT |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
154 gzip -f $(DISTNAME)-msys.tar |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
155 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
156 dist.djgpp: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
157 make clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
158 make LDFLAGS="-L$(DJDIR)/LIB" CRLIB="-lpdcurses" $(PROGRAM) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
159 rm -f $(DISTNAME)-djgpp.zip |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
160 zip $(DISTNAME)-djgpp.zip $(PROGRAM) README.TXT LICENSE.TXT |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
161 |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
162 dist.win32: |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
163 nmake O="obj" RM="-del" clean |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
164 nmake O="obj" CC="CL" CRLIB="..\pdcurses.lib shell32.lib user32.lib Advapi32.lib Ws2_32.lib" CFLAGS="-DPDC_STATIC_BUILD -nologo -I.. -Ox -wd4033 -wd4716" $(PROGRAM) |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
165 -del $(DISTNAME)-win32.zip |
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
166 zip $(DISTNAME)-win32.zip $(PROGRAM).exe README.TXT LICENSE.TXT |