1 $NetBSD: patch-ac,v 1.2 1998/09/13 22:31:33 garbled Exp $
2 --- Imakefile.orig Sun Mar 29 12:41:25 1992
3 +++ Imakefile Sun Sep 13 15:08:51 1998
5 - SRCS = bitmap.c bonus.c collision.c demo.c draw.c erase.c events.c\
6 +SRCS = bitmap.c bonus.c collision.c demo.c draw.c erase.c events.c\
7 gameover.c initx.c main.c maze.c message.c normal.c quitx.c scores.c\
8 setinmaze.c setup.c special.c time.c update.c windowx.c
9 - OBJS = bitmap.o bonus.o collision.o demo.o draw.o erase.o events.o\
10 +OBJS = bitmap.o bonus.o collision.o demo.o draw.o erase.o events.o\
11 gameover.o initx.o main.o maze.o message.o normal.o quitx.o scores.o\
12 setinmaze.o setup.o special.o time.o update.o windowx.o
17 - DESTDIR = /usrd/s/m/meb2
18 +BINDIR = $(PREFIX)/bin
19 +LIBDIR = $(PREFIX)/share/jetpack
20 +MANDIR = $(PREFIX)/man/man6
23 # These defines override the template defaults. Trash em if you want to
24 # use the template locations
25 - USRLIBDIR = $(DESTDIR)/lib/jetpack
26 - BINDIR = $(DESTDIR)/bin
27 - MANPATH = $(DESTDIR)/man
28 - MANDIR = $(MANSOURCEPATH)1
31 - EXTRA_LIBRARIES = $(XLIB)
32 +# LIBDIR = $(DESTDIR)/lib/jetpack
33 +# BINDIR = $(DESTDIR)/bin
34 +# MANPATH = $(DESTDIR)/man
35 +# MANDIR = $(MANSOURCEPATH)1
36 +EXTRA_LIBRARIES = $(XLIB)
38 # I like my programs optimized, stripped, and setuid. Do what you like.
39 - INSTPGMFLAGS = $(INSTUIDFLAGS) -s
44 # Since my programs are setuid, I make the data files readable only by me.
45 - INSTDATFLAGS = -m 0600
46 +INSTDATFLAGS = -m 0644
48 # These defines are needed by jetpack. Delete the -DBLIT if you don't want
49 # the game to do all the drawing to an offscreen pixmap. (This is good for
50 # machines that don't have hardware blitting -- if you have an xterm or a
51 # graphics workhorse, leave it in, there will be no flicker)
52 - DEFINES = -DBLIT -DSCOREPATH=\"$(SCOREFILE)\" -DLEVELPATH=\"$(LEVELFILE)\"
53 +# DEFINES = -DBLIT -DSCOREPATH=\"$(SCOREFILE)\" -DLEVELPATH=\"$(LEVELFILE)\"
54 +DEFINES = -DSCOREPATH=\"$(SCOREFILE)\" -DLEVELPATH=\"$(LEVELFILE)\"
56 # The score file can be any name you like, just make sure the directory
57 # it's supposed to reside in exists, or jetpack will start creating score
58 # files in the directories it is run from. Same for the level files, only
59 # the filename you give here is only a prefix -- the complete filename has
60 # the level number appended to it.
61 - SCOREFILE = $(USRLIBDIR)/jetpack.scores
62 - LEVELFILE = $(USRLIBDIR)/jetpack.lev
63 +SCOREFILE = /var/games/jetpack.scores
64 +LEVELFILE = $(LIBDIR)/jetpack.lev
66 ComplexProgramTarget(jetpack)
71 -InstallNonExec(levels/000,$(LEVELFILE)000)
75 -# oops, I can't figure how to override the template default to install the
76 -# man page as jetpack.1, so I install both and remove the bad one.
77 -install.man:: jetpack.man
78 - $(INSTALL) -c $(INSTMANFLAGS) jetpack.man $(MANDIR)/jetpack.1
79 - @rm -f $(MANDIR)/jetpack.n
80 +InstallNonExec(levels/000,$(LEVELFILE)000)