used a random block size if not given an argv[1].
[unix-history] / usr / src / usr.bin / tset / Makefile
CommitLineData
d0aeaf5a 1#
51a16129 2# Copyright (c) 1987 Regents of the University of California.
591c7d4d 3# All rights reserved.
d0aeaf5a 4#
591c7d4d
KB
5# Redistribution and use in source and binary forms are permitted
6# provided that this notice is preserved and that due credit is given
7# to the University of California at Berkeley. The name of the University
8# may not be used to endorse or promote products derived from this
9# software without specific prior written permission. This software
10# is provided ``as is'' without express or implied warranty.
11#
12# @(#)Makefile 5.7 (Berkeley) %G%
d0aeaf5a 13#
51a16129
KB
14CFLAGS= -O
15LIBC= /lib/libc.a
16SRCS= tset.c
607cd5b6 17
51a16129
KB
18all: tset
19
591c7d4d
KB
20tset: ${SRCS} ${LIBC}
21 ${CC} -o $@ ${CFLAGS} ${SRCS} -ltermlib
51a16129
KB
22
23clean: FRC
24 rm -f ${OBJS} core tset
25
26depend: FRC
591c7d4d 27 mkdep -p ${CFLAGS} ${SRCS}
51a16129
KB
28
29install: FRC
30 install -s -o bin -g bin -m 755 tset ${DESTDIR}/usr/ucb/tset
607cd5b6
JB
31 rm -f ${DESTDIR}/usr/ucb/reset
32 ln ${DESTDIR}/usr/ucb/tset ${DESTDIR}/usr/ucb/reset
33
51a16129
KB
34lint: FRC
35 lint ${CFLAGS} ${SRCS}
36
37tags: FRC
38 ctags ${SRCS}
39
40FRC:
41
42# DO NOT DELETE THIS LINE -- mkdep uses it.
43# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
44
591c7d4d
KB
45tset: tset.c /usr/include/ttyent.h /usr/include/sgtty.h
46tset: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
47tset: /usr/include/sys/ttydefaults.h /usr/include/sys/ttydev.h
48tset: /usr/include/stdio.h /usr/include/signal.h /usr/include/machine/trap.h
49tset: tset.delays.h
300a5f74 50
51a16129 51# IF YOU PUT ANYTHING HERE IT WILL GO AWAY