X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/fdd5eb8af43422e5798403cc95f0c6a01cdfa776..647d0ea2dedf292593f7d95d287d445c297ccca2:/usr/src/bin/stty/Makefile diff --git a/usr/src/bin/stty/Makefile b/usr/src/bin/stty/Makefile index 7862c3a219..9a76aeed7b 100644 --- a/usr/src/bin/stty/Makefile +++ b/usr/src/bin/stty/Makefile @@ -1,48 +1,6 @@ -# -# 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) %G% -# +# @(#)Makefile 5.4 (Berkeley) 6/5/91 -CFLAGS= -O -LIBC= /lib/libc.a -SRCS= stty.c -OBJS= -MAN= stty.0 +PROG= stty +SRCS= cchar.c gfmt.c key.c modes.c print.c stty.c util.c -all: stty - -stty: ${LIBC} - ${CC} -o $@ ${CFLAGS} $@.c - -clean: - rm -f ${OBJS} core stty - -cleandir: clean - rm -f ${MAN} tags .depend - -depend: ${SRCS} - mkdep -p ${CFLAGS} ${SRCS} - -install: ${MAN} - install -s -o bin -g bin -m 755 stty ${DESTDIR}/bin - install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1 - -lint: ${SRCS} - lint ${CFLAGS} ${SRCS} - -tags: ${SRCS} - ctags ${SRCS} +.include