|
|
1.1 root 1: #
2: # Copyright (c) 1987 Regents of the University of California.
3: # All rights reserved. The Berkeley software License Agreement
4: # specifies the terms and conditions for redistribution.
5: #
6: # @(#)Makefile 4.6 (Berkeley) 7/30/87
7: #
8: DESTDIR=
9: CFLAGS=-O
10: SRCS= compact.c tree.c uncompact.c
11: OBJS= compact.o tree.o uncompact.o
12: MDIR= /usr/man/cat.old
13: LINKS=
14:
15: .SUFFIXES: .1 .0
16:
17: .1.0:
18: /usr/man/manroff $*.1 > $*.0
19:
20: all: compact uncompact
21:
22: compact: compact.o tree.o
23: ${CC} ${LDFLAGS} compact.o tree.o -o $@
24:
25: uncompact: uncompact.o tree.o
26: ${CC} ${LDFLAGS} uncompact.o tree.o -o $@
27:
28: install: compact.0
29: # install -s -o bin -g bin -m 755 compact ${DESTDIR}/usr/old/compact
30: install -s -o bin -g bin -m 755 uncompact ${DESTDIR}/usr/old/uncompact
31: install -c -o bin -g bin -m 755 ccat.sh ${DESTDIR}/usr/old/ccat
32: install -c -o bin -g bin -m 755 compact.0 ${DESTDIR}${MDIR}/compact.0
33: (cd ${DESTDIR}${MDIR};rm -f ccat.0 uncompact.0)
34: ln ${DESTDIR}${MDIR}/compact.0 ${DESTDIR}${MDIR}/ccat.0
35: ln ${DESTDIR}${MDIR}/compact.0 ${DESTDIR}${MDIR}/uncompact.0
36:
37: clean:
38: rm -f compact uncompact ${OBJS}
39:
40: depend:
41: mkdep ${SRCS}
42:
43: tags:
44: ctags ${SRCS}
45:
46: # DO NOT DELETE THIS LINE -- mkdep uses it.
47: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
48:
49: compact.o: compact.c /usr/include/strings.h compact.h /usr/include/sys/param.h
50: compact.o: /usr/include/sys/types.h /usr/include/signal.h
51: compact.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
52: compact.o: /usr/include/machine/endian.h /usr/include/sys/stat.h
53: compact.o: /usr/include/sys/dir.h /usr/include/stdio.h
54: tree.o: tree.c compact.h /usr/include/sys/param.h /usr/include/sys/types.h
55: tree.o: /usr/include/signal.h /usr/include/machine/trap.h
56: tree.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
57: tree.o: /usr/include/sys/stat.h /usr/include/sys/dir.h /usr/include/stdio.h
58: uncompact.o: uncompact.c compact.h /usr/include/sys/param.h
59: uncompact.o: /usr/include/sys/types.h /usr/include/signal.h
60: uncompact.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
61: uncompact.o: /usr/include/machine/endian.h /usr/include/sys/stat.h
62: uncompact.o: /usr/include/sys/dir.h /usr/include/stdio.h /usr/include/strings.h
63:
64: # 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.