|
|
1.1 root 1: .\" Copyright (c) 1988 Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted
5: .\" provided that the above copyright notice and this paragraph are
6: .\" duplicated in all such forms and that any documentation,
7: .\" advertising materials, and other materials related to such
8: .\" distribution and use acknowledge that the software was developed
9: .\" by the University of California, Berkeley. The name of the
10: .\" University may not be used to endorse or promote products derived
11: .\" from this software without specific prior written permission.
12: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14: .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15: .\"
16: .\" @(#)Makefile 5.1 (Berkeley) 5/11/90
17: .\"
18: CFLAGS+=-O
19: SRCS= bang.c init.c intrp.c move.c object.c play.c score.c sig.c term.c \
20: them.c us.c util.c version.c warp.c weapon.c
21: OBJS= bang.o init.o intrp.o move.o object.o play.o score.o sig.o term.o \
22: them.o us.o util.o version.o warp.o weapon.o
23:
24: warp: ${OBJS}
25: ${CC} ${OBJS} -o $@ -ltermlib -lm
26:
27: install: warp
28: export PATH || exit 1
29: - mv $(bin)/warp $(bin)/warp.old
30: - if test `pwd` != $(bin); then cp $(public) $(bin); fi
31: - cd $(bin); chmod 755 $(public); chown '$(CHOWNER)' $(public)
32: - chmod 4711 $(bin)/warp
33: - chmod 755 makedir
34: - ./makedir `./filexp $(privlib)`
35: - \
36: if test `pwd` != `./filexp $(privlib)`; then \
37: cp $(private) `./filexp $(privlib)`; \
38: fi
39: - \
40: cd `./filexp $(privlib)`; \
41: chmod 755 $(private); \
42: chown '$(CHOWNER)' . $(private); \
43: cp /dev/null save.blurfl
44: - \
45: if test ! -f `./filexp $(privlib)/warp.news`; then \
46: cp warp.news `./filexp $(privlib)`; \
47: fi
48: - \
49: if test `pwd` != $(mansrc); then \
50: for page in $(manpages); do \
51: cp $$page $(mansrc)/`basename $$page .man`.$(manext); \
52: done; \
53: fi
54:
55: clean:
56: rm -f warp core ${OBJS}
57:
58: smap.0: smp.0 sm
59: sm <smp.0 >smap.0
60: smap.1: smp.1 sm
61: sm <smp.1 >smap.1
62: smap.2: smp.2 sm
63: sm <smp.2 >smap.2
64: smap.3: smp.3 sm
65: sm <smp.3 >smap.3
66: smap.4: smp.4 sm
67: sm <smp.4 >smap.4
68: smap.5: smp.5 sm
69: sm <smp.5 >smap.5
70: smap.6: smp.6 sm
71: sm <smp.6 >smap.6
72: smap.7: smp.7 sm
73: sm <smp.7 >smap.7
74: sm: sm.c
75: ${CC} sm.c -o $@
76:
77: depend: ${SRCS}
78: mkdep ${SRCS}
79:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.