]>
Commit | Line | Data |
---|---|---|
8defc06b | 1 | # Makefile for MOIRA clients passwd/chfn/chpobox/chsh |
13b69c6c | 2 | # |
3 | # MIT Project Athena | |
4 | # | |
5 | # $Source$ | |
6 | # $Header$ | |
fcb276b5 | 7 | # $Author$ |
a82fb69f | 8 | # |
f55ee110 | 9 | # (c) Copyright 1988 by the Massachusetts Institute of Technology. |
10 | # For copying and distribution information, please see the file | |
11 | # <mit-copyright.h>. | |
13b69c6c | 12 | # |
f55ee110 | 13 | |
13b69c6c | 14 | DESTDIR= |
fcb276b5 | 15 | DEFINES = -O |
16 | CFLAGS = -I../../include ${DEFINES} | |
13b69c6c | 17 | CONFDIR = ${DESTDIR}/usr/athena |
18 | BINDIR = ${DESTDIR}/bin | |
19 | ||
8defc06b | 20 | MOIRALIB = -L../../lib -lmoira -lgdb -lcom_err -lkrb -ldes -lhesiod |
13b69c6c | 21 | |
f55ee110 | 22 | PROGS= chfn chsh chpobox |
13b69c6c | 23 | |
24 | all: ${PROGS} | |
25 | ||
fcb276b5 | 26 | chfn: chfn.o |
8defc06b | 27 | cc -o chfn chfn.o ${MOIRALIB} |
13b69c6c | 28 | |
a82fb69f | 29 | chpobox: chpobox.o |
8defc06b | 30 | cc -o chpobox chpobox.o ${MOIRALIB} |
13b69c6c | 31 | |
fcb276b5 | 32 | chsh: chsh.o |
8defc06b | 33 | cc -o chsh chsh.o ${MOIRALIB} |
13b69c6c | 34 | |
fcb276b5 | 35 | lint: |
36 | lint *.c | |
13b69c6c | 37 | |
fcb276b5 | 38 | clean: |
39 | rm -f *.o *~ | |
40 | rm -f ${PROGS} | |
41 | ||
42 | install: ${PROGS} | |
61510c10 | 43 | install -c -s chsh ${DESTDIR}/usr/athena/chsh |
44 | install -c -s chfn ${DESTDIR}/usr/athena/chfn | |
45 | install -c -s chpobox ${DESTDIR}/usr/athena/chpobox | |
050550ba | 46 | |
47 | depend: | |
48 | mkdep ${CFLAGS} chfn.c chpobox.c chsh.c | |
49 | ||
50 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
51 | ||
52 | chfn.o: chfn.c /usr/include/sys/types.h /usr/include/stdio.h | |
53 | chfn.o: /usr/include/strings.h /usr/include/sys/file.h ../../include/krb.h | |
54 | chfn.o: ../../include/mit-copyright.h ../../include/des.h | |
8defc06b | 55 | chfn.o: /usr/include/ctype.h /usr/include/errno.h ../../include/moira.h |
56 | chfn.o: ../../include/mr_et.h ../../include/moira_site.h | |
050550ba | 57 | chpobox.o: chpobox.c /usr/include/sys/types.h /usr/include/stdio.h |
58 | chpobox.o: /usr/include/pwd.h /usr/include/strings.h /usr/include/ctype.h | |
8defc06b | 59 | chpobox.o: /usr/include/errno.h ../../include/moira.h ../../include/mr_et.h |
60 | chpobox.o: ../../include/moira_site.h ../../include/mit-copyright.h | |
050550ba | 61 | chsh.o: chsh.c /usr/include/sys/types.h /usr/include/stdio.h |
62 | chsh.o: /usr/include/strings.h /usr/include/sys/file.h ../../include/krb.h | |
63 | chsh.o: ../../include/mit-copyright.h ../../include/des.h | |
8defc06b | 64 | chsh.o: /usr/include/ctype.h /usr/include/errno.h ../../include/moira.h |
65 | chsh.o: ../../include/mr_et.h ../../include/moira_site.h |