1# 2# Copyright (c) 1987 Regents of the University of California. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms are permitted 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. 16# 17# @(#)Makefile 5.3 (Berkeley) 06/18/88 18# 19# -DLOG log games in /usr/adm 20CFLAGS= -O 21LIBC= /lib/libc.a 22SRCS= dm.c 23OBJS= 24 25all: dm 26 27dm: ${LIBC} 28 ${CC} -o $@ ${CFLAGS} dm.c 29 30clean: FRC 31 rm -f core dm 32 33depend: FRC 34 mkdep -p ${CFLAGS} ${SRCS} 35 36install: FRC 37 install -s -o games -g kmem -m 6755 dm ${DESTDIR}/usr/games 38# install -c -o games -g bin -m 444 dm.config ${DESTDIR}/usr/games 39 40lint: FRC 41 lint ${CFLAGS} ${SRCS} 42 43tags: FRC 44 ctags ${SRCS} 45 46FRC: 47 48# DO NOT DELETE THIS LINE -- mkdep uses it. 49# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 50 51dm: dm.c /usr/include/sys/param.h /usr/include/sys/types.h 52dm: /usr/include/signal.h /usr/include/machine/trap.h 53dm: /usr/include/machine/machparam.h /usr/include/sys/file.h 54dm: /usr/include/sys/time.h /usr/include/time.h /usr/include/sys/resource.h 55dm: /usr/include/pwd.h /usr/include/utmp.h /usr/include/nlist.h 56dm: /usr/include/stdio.h /usr/include/ctype.h 57 58# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 59