|
|
1.1 root 1: #
2: # Copyright (c) 1987 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) 6/29/88
18: #
19: CFLAGS= -O
20: LIBC= /lib/libc.a
21: ASRCS= apropos.c
22: MSRCS= man.c
23:
24: all: man apropos
25:
26: apropos: ${LIBC}
27: ${CC} -o $@ ${CFLAGS} ${ASRCS}
28:
29: man: ${LIBC}
30: ${CC} -o $@ ${CFLAGS} ${MSRCS}
31:
32: clean: FRC
33: rm -f core apropos man
34:
35: depend: FRC
36: mkdep -p ${CFLAGS} ${ASRCS} ${MSRCS}
37:
38: install: FRC
39: rm -f ${DESTDIR}/usr/ucb/whatis ${DESTDIR}/usr/ucb/apropos
40: install -s -o bin -g bin -m 755 apropos ${DESTDIR}/usr/ucb/apropos
41: install -s -o bin -g bin -m 755 man ${DESTDIR}/usr/ucb/man
42: ln ${DESTDIR}/usr/ucb/apropos ${DESTDIR}/usr/ucb/whatis
43:
44: lint: FRC
45: lint ${CFLAGS} ${ASRCS}
46: lint ${CFLAGS} ${MSRCS}
47:
48: tags: FRC
49: ctags ${ASRCS}
50: ctags ${MSRCS}
51: sort -o tags tags
52:
53: FRC:
54:
55: # DO NOT DELETE THIS LINE -- mkdep uses it.
56: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
57:
58: apropos: apropos.c /usr/include/sys/param.h /usr/include/sys/types.h
59: apropos: /usr/include/signal.h /usr/include/machine/trap.h
60: apropos: /usr/include/machine/machparam.h /usr/include/machine/endian.h
61: apropos: /usr/include/stdio.h /usr/include/ctype.h /usr/include/strings.h
62: man: man.c /usr/include/sys/param.h /usr/include/sys/types.h
63: man: /usr/include/signal.h /usr/include/machine/trap.h
64: man: /usr/include/machine/machparam.h /usr/include/machine/endian.h
65: man: /usr/include/sys/file.h /usr/include/stdio.h /usr/include/ctype.h
66:
67: # 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.