|
|
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.7 (Berkeley) 7/9/88
18: #
19:
20: CFLAGS= -O
21: LIBC= /lib/libc.a
22: SRCS= patch.c pch.c inp.c version.c util.c
23: OBJS= patch.o pch.o inp.o util.o version.o
24:
25: .SUFFIXES: .man .0
26:
27: .man.0:
28: ${DESTDIR}/usr/man/manroff $*.man > $*.0
29:
30: all: patch
31:
32: patch: ${OBJS} ${LIBC}
33: ${CC} -o $@ ${CFLAGS} ${OBJS}
34:
35: clean: FRC
36: rm -f ${OBJS} core patch Makefile.old bsd config.sh \
37: eunice loc pdp11 usg v7
38:
39: depend: FRC
40: mkdep ${CFLAGS} ${SRCS}
41:
42: install: patch.0
43: install -c -o bin -g bin -m 444 patch.0 ${DESTDIR}/usr/new/man/cat1
44: install -s -o bin -g bin -m 755 patch ${DESTDIR}/usr/new
45:
46: lint: FRC
47: lint ${CFLAGS} ${SRCS}
48:
49: tags: FRC
50: ctags ${SRCS}
51:
52: FRC:
53:
54: # DO NOT DELETE THIS LINE -- mkdep uses it.
55: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
56:
57: patch.o: patch.c INTERN.h common.h config.h /usr/include/stdio.h
58: patch.o: /usr/include/assert.h /usr/include/sys/types.h /usr/include/sys/stat.h
59: patch.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/machine/trap.h
60: patch.o: EXTERN.h version.h util.h pch.h inp.h
61: pch.o: pch.c EXTERN.h common.h config.h /usr/include/stdio.h
62: pch.o: /usr/include/assert.h /usr/include/sys/types.h /usr/include/sys/stat.h
63: pch.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/machine/trap.h
64: pch.o: util.h INTERN.h pch.h
65: inp.o: inp.c EXTERN.h common.h config.h /usr/include/stdio.h
66: inp.o: /usr/include/assert.h /usr/include/sys/types.h /usr/include/sys/stat.h
67: inp.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/machine/trap.h
68: inp.o: util.h pch.h INTERN.h inp.h
69: version.o: version.c EXTERN.h common.h config.h /usr/include/stdio.h
70: version.o: /usr/include/assert.h /usr/include/sys/types.h
71: version.o: /usr/include/sys/stat.h /usr/include/ctype.h /usr/include/signal.h
72: version.o: /usr/include/machine/trap.h util.h INTERN.h patchlevel.h version.h
73: util.o: util.c EXTERN.h common.h config.h /usr/include/stdio.h
74: util.o: /usr/include/assert.h /usr/include/sys/types.h /usr/include/sys/stat.h
75: util.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/machine/trap.h
76: util.o: INTERN.h util.h
77:
78: # 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.