include malloc.h
[unix-history] / usr / src / old / more / Makefile
CommitLineData
5ff67f98 1#
51a16129 2# Copyright (c) 1987 Regents of the University of California.
5ff67f98
DF
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
51a16129 6# @(#)Makefile 5.3 (Berkeley) %G%
0a083259
SL
7#
8CFLAGS= -O
51a16129
KB
9LIBC= /lib/libc.a
10SRCS= more.c
11OBJS= more.o
0a083259 12
51a16129 13all: more
0a083259 14
51a16129
KB
15more: ${OBJS} ${LIBC}
16 ${CC} -o $@ ${CFLAGS} ${OBJS} -ltermcap
17
18clean: FRC
19 rm -f ${OBJS} core more
20
21depend: FRC
22 mkdep ${CFLAGS} ${SRCS}
23
24install: FRC
25 install -s -o bin -g bin -m 755 more ${DESTDIR}/usr/ucb/more
0a083259
SL
26 rm -f ${DESTDIR}/usr/ucb/page
27 ln ${DESTDIR}/usr/ucb/more ${DESTDIR}/usr/ucb/page
51a16129
KB
28 install -c -o bin -g bin -m 644 more.help ${DESTDIR}/usr/lib/more.help
29
30lint: FRC
31 lint ${CFLAGS} ${SRCS}
32
33tags: FRC
34 ctags ${SRCS}
35
36FRC:
37
38# DO NOT DELETE THIS LINE -- mkdep uses it.
39# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
40
41more.o: more.c /usr/include/stdio.h /usr/include/sys/types.h
42more.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/errno.h
43more.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
44more.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
45more.o: /usr/include/setjmp.h /usr/include/sys/stat.h /usr/include/sys/file.h
46more.o: /usr/include/sys/exec.h
47
48# IF YOU PUT ANYTHING HERE IT WILL GO AWAY