xref: /original-bsd/old/dcheck/Makefile (revision 9129a997)
1aaaf43d2Sbostic#
2aaaf43d2Sbostic# Copyright (c) 1988 Regents of the University of California.
3aaaf43d2Sbostic# All rights reserved.
4aaaf43d2Sbostic#
5aaaf43d2Sbostic# Redistribution and use in source and binary forms are permitted
6aaaf43d2Sbostic# provided that the above copyright notice and this paragraph are
7aaaf43d2Sbostic# duplicated in all such forms and that any documentation, advertising
8aaaf43d2Sbostic# materials, and other materials related to such redistribution and
9aaaf43d2Sbostic# use acknowledge that the software was developed by the University
10aaaf43d2Sbostic# of California, Berkeley.  The name of the University may not be
11aaaf43d2Sbostic# used to endorse or promote products derived from this software
12aaaf43d2Sbostic# without specific prior written permission.  THIS SOFTWARE IS PROVIDED
13aaaf43d2Sbostic# ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
14aaaf43d2Sbostic# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
15aaaf43d2Sbostic# FITNESS FOR A PARTICULAR PURPOSE.
16aaaf43d2Sbostic#
17*9129a997Sbostic# @(#)Makefile	5.2 (Berkeley) 05/11/89
18aaaf43d2Sbostic#
19aaaf43d2Sbostic
20aaaf43d2SbosticCFLAGS=	-O
21aaaf43d2SbosticLIBC=	/lib/libc.a
22aaaf43d2SbosticSRCS=	dcheck.c
23aaaf43d2SbosticOBJS=
24aaaf43d2SbosticMAN=	dcheck.0
25aaaf43d2Sbostic
26aaaf43d2Sbosticall: dcheck
27aaaf43d2Sbostic
28aaaf43d2Sbosticdcheck: ${LIBC}
29aaaf43d2Sbostic	${CC} -o $@ ${CFLAGS} $@.c
30aaaf43d2Sbostic
31aaaf43d2Sbosticclean:
32aaaf43d2Sbostic	rm -f ${OBJS} core dcheck
33aaaf43d2Sbostic
34aaaf43d2Sbosticcleandir: clean
35aaaf43d2Sbostic	rm -f ${MAN} tags .depend
36aaaf43d2Sbostic
37aaaf43d2Sbosticdepend: ${SRCS}
38aaaf43d2Sbostic	mkdep -p ${CFLAGS} ${SRCS}
39aaaf43d2Sbostic
40aaaf43d2Sbosticinstall: ${MAN}
41*9129a997Sbostic	install -s -o bin -g bin -m 755 dcheck ${DESTDIR}/sbin
42aaaf43d2Sbostic	install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat8
43aaaf43d2Sbostic
44aaaf43d2Sbosticlint: ${SRCS}
45aaaf43d2Sbostic	lint ${CFLAGS} ${SRCS}
46aaaf43d2Sbostic
47aaaf43d2Sbostictags: ${SRCS}
48aaaf43d2Sbostic	ctags ${SRCS}
49