BSD 4_3_Tahoe release
[unix-history] / usr / src / games / dm / Makefile
CommitLineData
af09230b
KB
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
b8c620d6
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.
af09230b 16#
ca67e7b4 17# @(#)Makefile 5.3 (Berkeley) 6/18/88
af09230b
KB
18#
19# -DLOG log games in /usr/adm
20CFLAGS= -O
21LIBC= /lib/libc.a
22SRCS= dm.c
1ea5a72f 23OBJS=
af09230b
KB
24
25all: dm
26
1ea5a72f
KB
27dm: ${LIBC}
28 ${CC} -o $@ ${CFLAGS} dm.c
af09230b 29
ca67e7b4 30clean: FRC
1ea5a72f 31 rm -f core dm
af09230b 32
ca67e7b4 33depend: FRC
1ea5a72f 34 mkdep -p ${CFLAGS} ${SRCS}
af09230b 35
ca67e7b4 36install: FRC
af09230b
KB
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
ca67e7b4 40lint: FRC
af09230b
KB
41 lint ${CFLAGS} ${SRCS}
42
ca67e7b4 43tags: FRC
af09230b 44 ctags ${SRCS}
ca67e7b4
C
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/machine/endian.h
54dm: /usr/include/sys/file.h /usr/include/sys/time.h /usr/include/time.h
55dm: /usr/include/sys/resource.h /usr/include/pwd.h /usr/include/utmp.h
56dm: /usr/include/nlist.h /usr/include/stdio.h /usr/include/ctype.h
57
58# IF YOU PUT ANYTHING HERE IT WILL GO AWAY