X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/ff3bbc54566d6dcae7c90e14fabedb3112a15eaf..7579356b76362e1454ed7a22dff69fbe0cd9ea6b:/usr/src/usr.bin/ktrace/Makefile diff --git a/usr/src/usr.bin/ktrace/Makefile b/usr/src/usr.bin/ktrace/Makefile index 823193e1df..4923ea7dfd 100644 --- a/usr/src/usr.bin/ktrace/Makefile +++ b/usr/src/usr.bin/ktrace/Makefile @@ -1,54 +1,7 @@ -# -# Copyright (c) 1988 Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted -# provided that the above copyright notice and this paragraph are -# duplicated in all such forms and that any documentation, advertising -# materials, and other materials related to such redistribution and -# use acknowledge that the software was developed by the University -# of California, Berkeley. The name of the University may not be -# used to endorse or promote products derived from this software -# without specific prior written permission. THIS SOFTWARE IS PROVIDED -# ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, -# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND -# FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#)Makefile 5.1 (Berkeley) 10/22/88 -# +# @(#)Makefile 1.5 (Berkeley) %G% -CFLAGS= -O -LIBC= /usr/lib/libc.a -SRCS= ktrace.c kdump.c subr.c ioctl.c -OBJS= ktrace.o kdump.o subr.o ioctl.o -MAN= ktrace.0 kdump.0 +PROG= ktrace +SRCS= ktrace.c subr.c -all: ktrace kdump - -ktrace: ${LIBC} subr.o - ${CC} -o $@ ${CFLAGS} $@.c subr.o - -kdump: ${LIBC} ioctl.o subr.o - ${CC} -o $@ ${CFLAGS} $@.c ioctl.o subr.o - -ioctl.c: mkioctls - /bin/sh ${.CURDIR}/mkioctls > ioctl.c - -clean: - rm -f ${OBJS} core ktrace kdump - -cleandir: clean - rm -f ${MAN} tags .depend - -depend: ${SRCS} - mkdep -p ${CFLAGS} ${SRCS} - -install: ${MAN} - install -s -o bin -g bin -m 755 ktrace kdump ${DESTDIR}/usr/bin - install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1 - -lint: ${SRCS} - lint ${CFLAGS} ${SRCS} - -tags: ${SRCS} - ctags ${SRCS} +.include "../../Makefile.inc" +.include