xref: /csrg-svn/old/dcheck/Makefile (revision 37944)
135871Sbostic#
235871Sbostic# Copyright (c) 1988 Regents of the University of California.
335871Sbostic# All rights reserved.
435871Sbostic#
535871Sbostic# Redistribution and use in source and binary forms are permitted
635871Sbostic# provided that the above copyright notice and this paragraph are
735871Sbostic# duplicated in all such forms and that any documentation, advertising
835871Sbostic# materials, and other materials related to such redistribution and
935871Sbostic# use acknowledge that the software was developed by the University
1035871Sbostic# of California, Berkeley.  The name of the University may not be
1135871Sbostic# used to endorse or promote products derived from this software
1235871Sbostic# without specific prior written permission.  THIS SOFTWARE IS PROVIDED
1335871Sbostic# ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
1435871Sbostic# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
1535871Sbostic# FITNESS FOR A PARTICULAR PURPOSE.
1635871Sbostic#
17*37944Sbostic# @(#)Makefile	5.2 (Berkeley) 05/11/89
1835871Sbostic#
1935871Sbostic
2035871SbosticCFLAGS=	-O
2135871SbosticLIBC=	/lib/libc.a
2235871SbosticSRCS=	dcheck.c
2335871SbosticOBJS=
2435871SbosticMAN=	dcheck.0
2535871Sbostic
2635871Sbosticall: dcheck
2735871Sbostic
2835871Sbosticdcheck: ${LIBC}
2935871Sbostic	${CC} -o $@ ${CFLAGS} $@.c
3035871Sbostic
3135871Sbosticclean:
3235871Sbostic	rm -f ${OBJS} core dcheck
3335871Sbostic
3435871Sbosticcleandir: clean
3535871Sbostic	rm -f ${MAN} tags .depend
3635871Sbostic
3735871Sbosticdepend: ${SRCS}
3835871Sbostic	mkdep -p ${CFLAGS} ${SRCS}
3935871Sbostic
4035871Sbosticinstall: ${MAN}
41*37944Sbostic	install -s -o bin -g bin -m 755 dcheck ${DESTDIR}/sbin
4235871Sbostic	install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat8
4335871Sbostic
4435871Sbosticlint: ${SRCS}
4535871Sbostic	lint ${CFLAGS} ${SRCS}
4635871Sbostic
4735871Sbostictags: ${SRCS}
4835871Sbostic	ctags ${SRCS}
49