file reorg, pathnames.h, paths.h
[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#
b528bd5e 17# @(#)Makefile 5.7 (Berkeley) %G%
fb670232 18#
51a16129
KB
19CFLAGS= -O
20LIBC= /lib/libc.a
21SRCS= sysline.c
bb42082d 22OBJS=
dff59b18 23MAN= sysline.0
51a16129
KB
24
25all: sysline
26
bb42082d 27sysline: ${LIBC}
dff59b18 28 ${CC} ${CFLAGS} -o $@ $@.c -ltermlib -lcurses
51a16129 29
dff59b18 30clean:
bb42082d 31 rm -f core sysline
51a16129 32
dff59b18
KB
33cleandir: clean
34 rm -f ${MAN} tags .depend
35
36depend: ${SRCS}
bb42082d 37 mkdep -p ${CFLAGS} ${SRCS}
fb670232 38
dff59b18 39install: ${MAN}
b528bd5e 40 install -s -o bin -g kmem -m 2755 sysline ${DESTDIR}/usr/bin
dff59b18 41 install -c -o bin -g bin -m 444 sysline.0 ${DESTDIR}/usr/man/cat1
fb670232 42
dff59b18 43lint: ${SRCS}
51a16129 44 lint ${CFLAGS} ${SRCS}
fb670232 45
dff59b18 46tags: ${SRCS}
51a16129 47 ctags ${SRCS}