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.8 (Berkeley) 06/29/88 18# 19CFLAGS= -O 20LIBC= /lib/libc.a 21SRCS= tset.c 22 23all: tset 24 25tset: ${SRCS} ${LIBC} 26 ${CC} -o $@ ${CFLAGS} ${SRCS} -ltermlib 27 28clean: FRC 29 rm -f ${OBJS} core tset 30 31depend: FRC 32 mkdep -p ${CFLAGS} ${SRCS} 33 34install: FRC 35 install -s -o bin -g bin -m 755 tset ${DESTDIR}/usr/ucb/tset 36 rm -f ${DESTDIR}/usr/ucb/reset 37 ln ${DESTDIR}/usr/ucb/tset ${DESTDIR}/usr/ucb/reset 38 39lint: FRC 40 lint ${CFLAGS} ${SRCS} 41 42tags: FRC 43 ctags ${SRCS} 44 45FRC: 46 47# DO NOT DELETE THIS LINE -- mkdep uses it. 48# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 49 50tset: tset.c /usr/include/ttyent.h /usr/include/sgtty.h 51tset: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h 52tset: /usr/include/sys/ttydefaults.h /usr/include/sys/ttydev.h 53tset: /usr/include/stdio.h /usr/include/signal.h /usr/include/machine/trap.h 54tset: tset.delays.h 55 56# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 57