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