Mercurial > hg > early-roguelike
annotate xrogue/Makefile @ 143:7faf4568c295
Advanced Rogue family: overhaul privilege handling.
Advanced Rogue 5 and 7, and XRogue, now open the scorefile and logfile
at startup and then drop any set[ug]id privileges if the savedir is not
being used.
| author | John "Elwin" Edwards | 
|---|---|
| date | Sat, 16 May 2015 13:39:26 -0400 | 
| parents | e6179860cb76 | 
| children | 
| 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 | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
15 DISTNAME=xrogue8.0.3 | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
16 PROGRAM=xrogue | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
17 | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
18 O=o | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
19 | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
20 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
 | 
21 | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
22 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
 | 
23 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
 | 
24 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
 | 
25 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
 | 
26 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
 | 
27 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
 | 
28 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
 | 
29 OBJS = $(OBJS1) $(OBJS2) | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
30 | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
31 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
 | 
32 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
 | 
33 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
 | 
34 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
 | 
35 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
 | 
36 rogue.c state.c xcrypt.c | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
37 | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
38 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
 | 
39 | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
40 CC = gcc | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
41 CFLAGS= -O3 | 
| 
 
e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
 
John "Elwin" Edwards 
parents:  
diff
changeset
 | 
