|
|
1.1 root 1: #
2: # Copyright (c) 1988 Regents of the University of California.
3: # All rights reserved.
4: #
5: # Redistribution and use in source and binary forms are permitted
6: # provided that the above copyright notice and this paragraph are
7: # duplicated in all such forms and that any documentation,
8: # advertising materials, and other materials related to such
9: # distribution and use acknowledge that the software was developed
10: # by the University of California, Berkeley. The name of the
11: # University may not be used to endorse or promote products derived
12: # from this software without specific prior written permission.
13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16: #
17: # @(#)Makefile 5.5 (Berkeley) 7/9/88
18: #
19:
20: CFLAGS= -O
21: HELPDIR=/usr/lib/help
22:
23: all: help
24:
25: help: help.c
26: ${CC} ${CFLAGS} -o $@ help.c
27:
28: install:
29: -mkdir ${HELPDIR} ${HELPDIR}/cat
30: tar cf - maint src | (cd ${HELPDIR}; tar xf -)
31: ./help -d ${HELPDIR}/cat -m new .
32: install -s -o bin -g bin -m 755 help ${DESTDIR}/usr/new/help
33: /usr/man/manroff help.1 > help.0
34: install -c -m 444 help.0 ${DESTDIR}/usr/new/man/cat1/help.0
35:
36: macros:
37: install -c -m 444 tmac.ayday ${DESTDIR}/usr/lib/tmac/tmac.ayday
38:
39: clean:
40: rm -f help help.0 core a.out
41:
42: depend:
43: mkdep -p ${CFLAGS} help.c
44:
45: # DO NOT DELETE THIS LINE -- mkdep uses it.
46: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
47:
48: help: help.c /usr/include/sys/types.h /usr/include/sys/stat.h
49: help: /usr/include/sys/dir.h /usr/include/setjmp.h /usr/include/signal.h
50: help: /usr/include/machine/trap.h /usr/include/ctype.h /usr/include/stdio.h
51:
52: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.