|
|
1.1 root 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.3 (Berkeley) 9/20/88
18: #
19:
20: CFLAGS= -O -DKERBEROS
21: LIBC= /lib/libc.a
22: SRC1= kpasswd.c
23: OBJ1= kpasswd.o
24: SRC2= kpasswdd.c
25: OBJ2= kpasswdd.o
26: OBJS= kpasswd.o kpasswdd.o
27: MAN= kpasswd.0 kpasswdd.0
28:
29: all: kpasswd kpasswdd
30:
31: kpasswd: ${OBJ1} ${LIBC}
32: ${CC} -o $@ ${CFLAGS} ${OBJ1} -lutil -lkrb -ldes
33:
34: kpasswdd: ${OBJ2} ${LIBC}
35: ${CC} -o $@ ${CFLAGS} ${OBJ2} -lutil -lkrb -lkdb -ldes
36:
37: clean:
38: rm -f ${OBJS} core kpasswd kpasswdd
39:
40: cleandir: clean
41: rm -f ${MAN} tags .depend
42:
43: depend: ${SRC1} ${SRC2}
44: mkdep -p ${CFLAGS} ${SRC1} ${SRC2}
45:
46: #install: ${MAN}
47: install:
48: install -s -o bin -g bin -m 755 kpasswdd ${DESTDIR}/usr/libexec/kpasswdd
49: install -s -o bin -g bin -m 755 kpasswd ${DESTDIR}/usr/athena
50: install -c -o bin -g bin -m 444 kpasswd.0 ${DESTDIR}/usr/man/cat1
51: # install -c -o bin -g bin -m 444 kpasswdd.0 ${DESTDIR}/usr/man/cat8
52:
53: lint: ${SRC1} ${SRC2}
54: lint ${CFLAGS} ${SRC1} ${SRC2}
55:
56: tags: ${SRC1} ${SRC2}
57: ctags ${SRC1} ${SRC2}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.