Commit | Line | Data |
---|---|---|
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 |
19 | CFLAGS= -O |
20 | LIBC= /lib/libc.a | |
21 | SRCS= sysline.c | |
bb42082d | 22 | OBJS= |
51a16129 KB |
23 | |
24 | all: sysline | |
25 | ||
bb42082d KB |
26 | sysline: ${LIBC} |
27 | ${CC} ${CFLAGS} -o $@ sysline.c -ltermlib -lcurses | |
51a16129 KB |
28 | |
29 | clean: FRC | |
bb42082d | 30 | rm -f core sysline |
51a16129 KB |
31 | |
32 | depend: FRC | |
bb42082d | 33 | mkdep -p ${CFLAGS} ${SRCS} |
fb670232 | 34 | |
51a16129 KB |
35 | install: FRC |
36 | install -s -o bin -g kmem -m 2755 sysline ${DESTDIR}/usr/ucb/sysline | |
fb670232 | 37 | |
51a16129 KB |
38 | lint: FRC |
39 | lint ${CFLAGS} ${SRCS} | |
fb670232 | 40 | |
51a16129 KB |
41 | tags: FRC |
42 | ctags ${SRCS} | |
fb670232 | 43 | |
51a16129 | 44 | FRC: |
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 |
49 | sysline: sysline.c /usr/include/stdio.h /usr/include/sys/param.h |
50 | sysline: /usr/include/sys/types.h /usr/include/signal.h | |
51 | sysline: /usr/include/machine/trap.h /usr/include/machine/machparam.h | |
52 | sysline: /usr/include/machine/endian.h /usr/include/sys/signal.h | |
53 | sysline: /usr/include/utmp.h /usr/include/ctype.h /usr/include/sys/time.h | |
54 | sysline: /usr/include/time.h /usr/include/sys/stat.h /usr/include/nlist.h | |
55 | sysline: /usr/include/sys/vtimes.h /usr/include/sys/proc.h | |
56 | sysline: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
57 | sysline: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
58 | sysline: /usr/include/sys/ttydefaults.h /usr/include/sys/ttydev.h | |
59 | sysline: /usr/include/protocols/rwhod.h | |
300a5f74 | 60 | |
51a16129 | 61 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |