add Berkeley specific header; written by K. McKusick and P. Kessler
[unix-history] / usr / src / usr.bin / tset / Makefile
CommitLineData
d0aeaf5a 1#
51a16129 2# Copyright (c) 1987 Regents of the University of California.
d0aeaf5a
DF
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
51a16129 6# @(#)Makefile 5.6 (Berkeley) %G%
d0aeaf5a 7#
51a16129
KB
8CFLAGS= -O
9LIBC= /lib/libc.a
10SRCS= tset.c
11OBJS= tset.o
607cd5b6 12
51a16129
KB
13all: tset
14
15tset: ${OBJS} ${LIBC}
16 ${CC} -o $@ ${CFLAGS} ${OBJS} -ltermlib
17
18clean: FRC
19 rm -f ${OBJS} core tset
20
21depend: FRC
22 mkdep ${CFLAGS} ${SRCS}
23
24install: FRC
25 install -s -o bin -g bin -m 755 tset ${DESTDIR}/usr/ucb/tset
607cd5b6
JB
26 rm -f ${DESTDIR}/usr/ucb/reset
27 ln ${DESTDIR}/usr/ucb/tset ${DESTDIR}/usr/ucb/reset
28
51a16129
KB
29lint: FRC
30 lint ${CFLAGS} ${SRCS}
31
32tags: FRC
33 ctags ${SRCS}
34
35FRC:
36
37# DO NOT DELETE THIS LINE -- mkdep uses it.
38# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
39
40tset.o: tset.c /usr/include/ttyent.h /usr/include/sgtty.h
41tset.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
42tset.o: /usr/include/sys/ttydev.h /usr/include/stdio.h /usr/include/signal.h
43tset.o:tset.delays.h
300a5f74 44
51a16129 45# IF YOU PUT ANYTHING HERE IT WILL GO AWAY