annotate rogue4/Makefile.in @ 96:9fb343307b6b

Fix some 'test' failures when running 'make install'. When shell variables are unexpectedly empty, 'test' gets the wrong number of arguments and becomes unhappy. Logical AND should not be done with 'test EXPR1 -a EXPR2' in such cases, because 'test' logic does not short-circuit. Replace with 'test EXPR1 && test EXPR2'. Shell logic does short-circuit, and if the first test invocation fails, the second will never occur, and will never encounter missing arguments.
author John "Elwin" Edwards
date Tue, 27 Aug 2013 22:54:28 -0700
parents 8f7c082fde46
children fbc75509f4cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
51
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
1 #
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
2 # Makefile for rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
3 # @(#)Makefile 4.13 (Berkeley) 1/23/82
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
4 #
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
5 # Rogue: Exploring the Dungeons of Doom
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
6 # Copyright (C) 1980, 1981, 1982 Michael Toy, Ken Arnold and Glenn Wichman
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
7 # All rights reserved.
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
8 #
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
9 # See the file LICENSE.TXT for full copyright and licensing information.
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
10 #
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
11
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
12 DISTNAME=@PACKAGE_TARNAME@@PACKAGE_VERSION@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
13 PACKAGE_TARNAME = @PACKAGE_TARNAME@-@PACKAGE_VERSION@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
14 PROGRAM=@PROGRAM@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
15
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
16 CC = @CC@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
17 LIBS = @LIBS@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
18
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
19 #SCOREFILE=\"/usr/local/games/roguelike/rogue4.scr\"
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
20 SCOREFILE=@SCOREFILE@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
21 #LOGFILE=\"/usr/local/games/roguelike/rogue4.log\"
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
22 LOGFILE=@LOGFILE@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
23 #SAVEDIR=\"/usr/local/games/roguelike/rogue4save/\"
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
24 SAVEDIR=@SAVEDIR@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
25 #LOCKFILE=\"/usr/local/games/roguelike/rogue4save/rogue4.lck\"
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
26 LOCKFILE=@LOCKFILE@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
27 #GROUPOWNER=games
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
28 GROUPOWNER=@GROUPOWNER@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
29
93
8f7c082fde46 Don't set DESTDIR via configure.
John "Elwin" Edwards
parents: 51
diff changeset
30 DESTDIR=
51
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
31 prefix=@prefix@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
32 exec_prefix=@exec_prefix@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
33 datarootdir=@datarootdir@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
34 bindir=@bindir@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
35 mandir=@mandir@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
36 man6dir=$(mandir)/man6
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
37 docdir=@docdir@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
38
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
39 HDRS= rogue.h extern.h
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
40 DOBJS= vers.o extern.o armor.o chase.o command.o daemon.o daemons.o \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
41 fight.o init.o io.o list.o main.o misc.o monsters.o move.o \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
42 new_level.o options.o pack.o passages.o potions.o rings.o rip.o \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
43 rooms.o save.o scrolls.o state.o sticks.o things.o weapons.o wizard.o\
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
44 xcrypt.o mdport.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
45 OBJS= $(DOBJS) mach_dep.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
46 CFILES= vers.c extern.c armor.c chase.c command.c daemon.c daemons.c \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
47 fight.c init.c io.c list.c main.c misc.c monsters.c move.c \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
48 new_level.c options.c pack.c passages.c potions.c rings.c rip.c \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
49 rooms.c save.c scrolls.c state.c sticks.c things.c weapons.c wizard.c \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
50 mach_dep.c xcrypt.c mdport.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
51 MISC= Makefile LICENSE.TXT rogue.6 rogue.me
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
52
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
53 CFLAGS= -O3
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
54 CRLIB = -lcurses
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
55 RM = rm -f
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
56 TAR = tar
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
57 TOUCH=touch
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
58 MKDIR=mkdir
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
59 CHGRP=chgrp
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
60 CHMOD=chmod
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
61 INSTALL=@INSTALL@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
62
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
63 SF=
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
64 NAMELIST=
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
65 NL=
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
66 #MACHDEP= -DMAXLOAD=40 -DLOADAV -DCHECKTIME=4
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
67 MACHDEP=
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
68
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
69 .c.o:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
70 @echo $(CC) -c $(CFLAGS) $*.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
71 @$(CC) -c $(CFLAGS) $*.c -o $*.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
72 # @cpp -P $(CFLAGS) $*.c | ./xstr -v -c -
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
73 # @cc -c $(CFLAGS) x.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
74 # @mv x.o $*.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
75
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
76 @PROGRAM@: $(HDRS) $(OBJS) # xs.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
77 # @rm -f x.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
78 # $(CC) $(LDFLAGS) xs.o $(OBJS) $(CRLIB)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
79 $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
80
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
81 main.o: main.c $(HDRS)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
82 $(CC) -c $(CFLAGS) -o $@ main.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
83
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
84 vers.o:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
85 $(CC) -c $(CFLAGS) vers.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
86
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
87 mach_dep.o: mach_dep.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
88 $(CC) -c $(CFLAGS) $(SF) $(NL) $(MACHDEP) mach_dep.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
89
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
90 xs.o: strings
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
91 ./xstr
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
92 $(CC) -c $(CFLAGS) xs.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
93
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
94 xstr: xstr.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
95 $(CC) -s -O -o xstr xstr.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
96
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
97 findpw: findpw.c xcrypt.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
98 $(CC) -s -o findpw findpw.c xcrypt.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
99
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
100 prob: prob.o extern.o xs.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
101 $(CC) -O -o prob prob.o extern.o xs.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
102
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
103 prob.o: prob.c rogue.h
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
104 $(CC) -O -c prob.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
105
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
106 clean:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
107 rm -f $(POBJS) $(OBJS) core a.out p.out @PROGRAM@ strings make.out rogue.tar vgrind.* x.c x.o xs.c xs.o linterrs findpw distmod.o xs.po xstr rogue rogue.exe rogue.tar.gz rogue.cat rogue.doc xstr.exe
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
108
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
109 maintainer-clean:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
110 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
111 $(RM) Makefile config.h
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
112 $(RM) config.status config.log
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
113 $(RM) $(PROGRAM).scr $(PROGRAM).log $(PROGRAM).lck
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
114 $(RM) rogue.6 rogue.me
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
115
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
116 install: $(PROGRAM)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
117 -$(TOUCH) test
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
118 -if test ! -f $(DESTDIR)$(SCOREFILE) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
119 then $(INSTALL) -m 0664 test $(DESTDIR)$(SCOREFILE) ; fi
96
9fb343307b6b Fix some 'test' failures when running 'make install'.
John "Elwin" Edwards
parents: 93
diff changeset
120 -if test "x$(LOGFILE)" != "x" && test ! -f $(DESTDIR)$(LOGFILE) ; then \
51
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
121 $(INSTALL) -m 0664 test $(DESTDIR)$(LOGFILE) ; fi
96
9fb343307b6b Fix some 'test' failures when running 'make install'.
John "Elwin" Edwards
parents: 93
diff changeset
122 -if test "x$(SAVEDIR)" != "x" && test ! -d $(DESTDIR)$(SAVEDIR) ; then \
51
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
123 $(MKDIR) -p $(DESTDIR)$(SAVEDIR) ; fi
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
124 -$(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
125 -if test "x$(GROUPOWNER)" != "x" ; then \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
126 $(CHGRP) $(GROUPOWNER) $(DESTDIR)$(SCOREFILE) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
127 $(CHGRP) $(GROUPOWNER) $(DESTDIR)$(LOGFILE) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
128 $(CHGRP) $(GROUPOWNER) $(DESTDIR)$(bindir)/$(PROGRAM) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
129 $(CHGRP) $(GROUPOWNER) $(DESTDIR)$(SAVEDIR) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
130 $(CHMOD) 02755 $(DESTDIR)$(bindir)/$(PROGRAM) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
131 $(CHMOD) 0464 $(DESTDIR)$(SCOREFILE) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
132 $(CHMOD) 0464 $(DESTDIR)$(LOGFILE) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
133 $(CHMOD) 0775 $(DESTDIR)$(SAVEDIR) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
134 fi
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
135 -if test -d $(DESTDIR)$(man6dir) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
136 then $(INSTALL) -m 0644 rogue.6 $(DESTDIR)$(man6dir)/$(PROGRAM).6 ; fi
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
137 -if test ! -d $(DESTDIR)$(man6dir) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
138 then $(INSTALL) -m 0644 rogue.6 $(DESTDIR)$(mandir)/$(PROGRAM).6 ; fi
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
139 -if test ! -d $(DESTDIR)$(docdir) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
140 then $(MKDIR) -p $(DESTDIR)$(docdir) ; fi
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
141 -$(INSTALL) -m 0644 LICENSE.TXT $(DESTDIR)$(docdir)/LICENSE.TXT
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
142 -$(INSTALL) -m 0644 rogue.me $(DESTDIR)$(docdir)/$(PROGRAM).me
96
9fb343307b6b Fix some 'test' failures when running 'make install'.
John "Elwin" Edwards
parents: 93
diff changeset
143 -if test "x$(LOCKFILE)" != "x" && test ! -f $(DESTDIR)$(LOCKFILE) ; then \
51
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
144 $(INSTALL) -m 0666 test $(DESTDIR)$(LOCKFILE) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
145 $(RM) $(DESTDIR)$(LOCKFILE) ; \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
146 fi
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
147 -$(RM) test
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
148
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
149 uninstall:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
150 -$(RM) $(DESTDIR)$(bindir)/$(PROGRAM)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
151 -$(RM) $(DESTDIR)$(man6dir)/$(PROGRAM).6
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
152 -$(RM) $(DESTDIR)$(docdir)$(PROGRAM)/$(PROGRAM).doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
153 -$(RM) $(DESTDIR)$(LOCKFILE)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
154 -$(RMDIR) $(DESTDIR)$(docdir)$(PROGRAM)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
155
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
156 reinstall: uninstall install
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
157
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
158 dist.src:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
159 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
160 tar cf $(DISTNAME)-src.tar $(CFILES) $(HDRS) $(MISC)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
161 gzip -f $(DISTNAME)-src.tar
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
162
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
163 debug.irix:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
164 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
165 make CC=cc CFLAGS="-woff 1116 -g -DWIZARD" rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
166 dist.irix:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
167 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
168 make CC=cc CFLAGS="-woff 1116 -O3" rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
169 tbl rogue.me | nroff -me | colcrt - > rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
170 nroff -man rogue.6 | colcrt - > rogue.cat
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
171 tar cf $(DISTNAME)-irix.tar rogue LICENSE.TXT rogue.cat rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
172 gzip -f $(DISTNAME)-irix.tar
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
173
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
174 debug.aix:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
175 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
176 make CC=xlc CFLAGS="-qmaxmem=16768 -g -qstrict -DWIZARD" rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
177 dist.aix:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
178 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
179 make CC=xlc CFLAGS="-qmaxmem=16768 -O3 -qstrict" rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
180 tbl rogue.me | nroff -me | colcrt - > rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
181 nroff -man rogue.6 | colcrt - > rogue.cat
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
182 tar cf $(DISTNAME)-aix.tar rogue LICENSE.TXT rogue.cat rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
183 gzip -f $(DISTNAME)-aix.tar
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
184
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
185 debug.linux:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
186 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
187 make CFLAGS="-g3 -DWIZARD" rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
188 dist.linux:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
189 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
190 make rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
191 groff -P-c -t -me -Tascii rogue.me | sed -e 's/.\x08//g' > rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
192 groff -man rogue.6 | sed -e 's/.\x08//g' > rogue.cat
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
193 tar cf $(DISTNAME)-linux.tar rogue LICENSE.TXT rogue.cat rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
194 gzip -f $(DISTNAME)-linux.tar
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
195
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
196 debug.interix:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
197 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
198 make CFLAGS="-g3 -DWIZARD" rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
199 dist.interix:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
200 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
201 make rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
202 groff -P-b -P-u -t -me -Tascii rogue.me > rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
203 groff -P-b -P-u -man -Tascii rogue.6 > rogue.cat
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
204 tar cf $(DISTNAME)-interix.tar rogue LICENSE.TXT rogue.cat rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
205 gzip -f $(DISTNAME)-interix.tar
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
206
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
207 debug.cygwin:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
208 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
209 make CFLAGS="-g3 -DWIZARD" rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
210 dist.cygwin:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
211 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
212 make rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
213 groff -P-c -t -me -Tascii rogue.me | sed -e 's/.\x08//g' > rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
214 groff -P-c -man -Tascii rogue.6 | sed -e 's/.\x08//g' > rogue.cat
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
215 tar cf $(DISTNAME)-cygwin.tar rogue.exe LICENSE.TXT rogue.cat rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
216 gzip -f $(DISTNAME)-cygwin.tar
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
217
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
218 debug.djgpp:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
219 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
220 make CFLAGS="-g3 -DWIZARD" LDFLAGS="-L$(DJDIR)/LIB" rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
221 dist.djgpp:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
222 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
223 make CFLAGS="-O3" LDFLAGS="-L$(DJDIR)/LIB" rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
224 groff -t -me -Tascii rogue.me | sed -e 's/.\x08//g' > rogue.doc
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
225 groff -man -Tascii rogue.6 | sed -e 's/.\x08//g' > rogue.cat
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
226 rm -f $(DISTNAME)-djgpp.zip
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
227 zip $(DISTNAME)-djgpp.zip rogue.exe LICENSE.TXT rogue.cat rogue.doc