install approved copyright notice
[unix-history] / usr / src / old / sysline / Makefile
CommitLineData
fb670232 1#
51a16129 2# Copyright (c) 1987 Regents of the University of California.
bb42082d 3# All rights reserved.
fb670232 4#
bb42082d 5# Redistribution and use in source and binary forms are permitted
9c50374f
KB
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.
bb42082d 16#
9c50374f 17# @(#)Makefile 5.5 (Berkeley) %G%
fb670232 18#
51a16129
KB
19CFLAGS= -O
20LIBC= /lib/libc.a
21SRCS= sysline.c
bb42082d 22OBJS=
51a16129
KB
23
24all: sysline
25
bb42082d
KB
26sysline: ${LIBC}
27 ${CC} ${CFLAGS} -o $@ sysline.c -ltermlib -lcurses
51a16129
KB
28
29clean: FRC
bb42082d 30 rm -f core sysline
51a16129
KB
31
32depend: FRC
bb42082d 33 mkdep -p ${CFLAGS} ${SRCS}
fb670232 34
51a16129
KB
35install: FRC
36 install -s -o bin -g kmem -m 2755 sysline ${DESTDIR}/usr/ucb/sysline
fb670232 37
51a16129
KB
38lint: FRC
39 lint ${CFLAGS} ${SRCS}
fb670232 40
51a16129
KB
41tags: FRC
42 ctags ${SRCS}
fb670232 43
51a16129 44FRC:
fb670232 45
51a16129
KB
46# DO NOT DELETE THIS LINE -- mkdep uses it.
47# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
fb670232 48
bb42082d
KB
49sysline: sysline.c /usr/include/stdio.h /usr/include/sys/param.h
50sysline: /usr/include/sys/types.h /usr/include/signal.h
51sysline: /usr/include/machine/trap.h /usr/include/machine/machparam.h
52sysline: /usr/include/machine/endian.h /usr/include/sys/signal.h
53sysline: /usr/include/utmp.h /usr/include/ctype.h /usr/include/sys/time.h
54sysline: /usr/include/time.h /usr/include/sys/stat.h /usr/include/nlist.h
55sysline: /usr/include/sys/vtimes.h /usr/include/sys/proc.h
56sysline: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h
57sysline: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
58sysline: /usr/include/sys/ttydefaults.h /usr/include/sys/ttydev.h
59sysline: /usr/include/protocols/rwhod.h
300a5f74 60
51a16129 61# IF YOU PUT ANYTHING HERE IT WILL GO AWAY