xref: /original-bsd/old/athena/kdestroy/Makefile (revision bbb96de4)
1#
2# Copyright (c) 1988 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, advertising
8# materials, and other materials related to such redistribution and
9# use acknowledge that the software was developed by the University
10# of California, Berkeley.  The name of the University may not be
11# used to endorse or promote products derived from this software
12# without specific prior written permission.  THIS SOFTWARE IS PROVIDED
13# ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
14# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
15# FITNESS FOR A PARTICULAR PURPOSE.
16#
17# @(#)Makefile	5.1 (Berkeley) 10/18/88
18#
19
20CFLAGS=	-O -DKERBEROS
21LIBC=	/lib/libc.a
22LIBS=	/usr/lib/libkrb.a /usr/lib/libdes.a
23SRCS=	kdestroy.c
24OBJS=
25MAN=	kdestroy.0
26
27all: kdestroy
28
29kdestroy: ${LIBS} ${LIBC}
30	${CC} -o $@ ${CFLAGS} $@.c -ldes -lkrb
31
32clean:
33	rm -f ${OBJS} core kdestroy
34
35cleandir: clean
36	rm -f ${MAN} tags .depend
37
38depend: ${SRCS}
39	mkdep -p ${CFLAGS} ${SRCS}
40
41install: ${MAN} kdestroy
42	install -s -o bin -g bin -m 755 kdestroy ${DESTDIR}/usr/athena
43	install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1
44
45lint: ${SRCS}
46	lint ${CFLAGS} ${SRCS}
47
48tags: ${SRCS}
49	ctags ${SRCS}
50