124670Smckusick# 233494Sbostic# Copyright (c) 1987 Regents of the University of California. 333494Sbostic# All rights reserved. 433494Sbostic# 533494Sbostic# Redistribution and use in source and binary forms are permitted 6*35008Sbostic# provided that the above copyright notice and this paragraph are 7*35008Sbostic# duplicated in all such forms and that any documentation, 8*35008Sbostic# advertising materials, and other materials related to such 9*35008Sbostic# distribution and use acknowledge that the software was developed 10*35008Sbostic# by the University of California, Berkeley. The name of the 11*35008Sbostic# University may not be used to endorse or promote products derived 12*35008Sbostic# from this software without specific prior written permission. 13*35008Sbostic# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 14*35008Sbostic# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 15*35008Sbostic# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 1633494Sbostic# 17*35008Sbostic# @(#)Makefile 5.7 (Berkeley) 07/09/88 1833494Sbostic# 19*35008Sbostic 2033494SbosticCFLAGS= -O 2133494SbosticLIBC= /lib/libc.a 2233494SbosticSRCS= patch.c pch.c inp.c version.c util.c 2333494SbosticOBJS= patch.o pch.o inp.o util.o version.o 2424670Smckusick 2533494Sbostic.SUFFIXES: .man .0 2624670Smckusick 2733494Sbostic.man.0: 2833494Sbostic ${DESTDIR}/usr/man/manroff $*.man > $*.0 2931933Sbostic 3033494Sbosticall: patch 3124670Smckusick 3233494Sbosticpatch: ${OBJS} ${LIBC} 3333494Sbostic ${CC} -o $@ ${CFLAGS} ${OBJS} 3424670Smckusick 3533494Sbosticclean: FRC 3633494Sbostic rm -f ${OBJS} core patch Makefile.old bsd config.sh \ 3733494Sbostic eunice loc pdp11 usg v7 3831933Sbostic 3933494Sbosticdepend: FRC 4033494Sbostic mkdep ${CFLAGS} ${SRCS} 4124670Smckusick 4233494Sbosticinstall: patch.0 4333494Sbostic install -c -o bin -g bin -m 444 patch.0 ${DESTDIR}/usr/new/man/cat1 4433494Sbostic install -s -o bin -g bin -m 755 patch ${DESTDIR}/usr/new 4524670Smckusick 4633494Sbosticlint: FRC 4733494Sbostic lint ${CFLAGS} ${SRCS} 4833494Sbostic 4933494Sbostictags: FRC 5033494Sbostic ctags ${SRCS} 5133494Sbostic 5233494SbosticFRC: 5333494Sbostic 5433494Sbostic# DO NOT DELETE THIS LINE -- mkdep uses it. 5533494Sbostic# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 5633494Sbostic 5733494Sbosticpatch.o: patch.c INTERN.h common.h config.h /usr/include/stdio.h 5833494Sbosticpatch.o: /usr/include/assert.h /usr/include/sys/types.h /usr/include/sys/stat.h 5933494Sbosticpatch.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/machine/trap.h 6033494Sbosticpatch.o: EXTERN.h version.h util.h pch.h inp.h 6133494Sbosticpch.o: pch.c EXTERN.h common.h config.h /usr/include/stdio.h 6233494Sbosticpch.o: /usr/include/assert.h /usr/include/sys/types.h /usr/include/sys/stat.h 6333494Sbosticpch.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/machine/trap.h 6433494Sbosticpch.o: util.h INTERN.h pch.h 6533494Sbosticinp.o: inp.c EXTERN.h common.h config.h /usr/include/stdio.h 6633494Sbosticinp.o: /usr/include/assert.h /usr/include/sys/types.h /usr/include/sys/stat.h 6733494Sbosticinp.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/machine/trap.h 6833494Sbosticinp.o: util.h pch.h INTERN.h inp.h 6933494Sbosticversion.o: version.c EXTERN.h common.h config.h /usr/include/stdio.h 7033494Sbosticversion.o: /usr/include/assert.h /usr/include/sys/types.h 7133494Sbosticversion.o: /usr/include/sys/stat.h /usr/include/ctype.h /usr/include/signal.h 7233494Sbosticversion.o: /usr/include/machine/trap.h util.h INTERN.h patchlevel.h version.h 7333494Sbosticutil.o: util.c EXTERN.h common.h config.h /usr/include/stdio.h 7433494Sbosticutil.o: /usr/include/assert.h /usr/include/sys/types.h /usr/include/sys/stat.h 7533494Sbosticutil.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/machine/trap.h 7633494Sbosticutil.o: INTERN.h util.h 7733494Sbostic 7833494Sbostic# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 79