]> andersk Git - moira.git/blob - clients/passwd/Makefile
66b6b870fb1c78e11f072ad7e3dc1d552635bb8b
[moira.git] / clients / passwd / Makefile
1 # Makefile for SMS clients passwd/chfn/chpobox/chsh
2 #
3 #       MIT Project Athena
4 #
5 #       $Source$
6 #       $Header$
7 #       $Author$
8
9 # (c) Copyright 1988 by the Massachusetts Institute of Technology.
10 # For copying and distribution information, please see the file
11 # <mit-copyright.h>.
12 #
13
14 DESTDIR=
15 DEFINES = -O
16 CFLAGS = -I../../include ${DEFINES}
17 CONFDIR = ${DESTDIR}/usr/athena
18 BINDIR = ${DESTDIR}/bin
19
20 SMSLIB = -L../../lib -lsms -lgdb -lcom_err -lkrb -ldes -lhesiod
21
22 PROGS= chfn chsh chpobox
23
24 all:    ${PROGS}
25
26 chfn:   chfn.o
27         cc -o chfn chfn.o ${SMSLIB}
28
29 chpobox:        chpobox.o
30         cc -o chpobox chpobox.o ${SMSLIB}
31
32 chsh:   chsh.o
33         cc -o chsh chsh.o ${SMSLIB}
34
35 lint:
36         lint *.c
37
38 clean:  
39         rm -f *.o *~
40         rm -f ${PROGS}
41
42 install:        ${PROGS}
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
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
55 chfn.o: /usr/include/ctype.h /usr/include/errno.h ../../include/sms.h
56 chfn.o: /usr/include/sms_et.h ../../include/sms_app.h
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
59 chpobox.o: /usr/include/errno.h ../../include/sms.h /usr/include/sms_et.h
60 chpobox.o: ../../include/sms_app.h ../../include/mit-copyright.h
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
64 chsh.o: /usr/include/ctype.h /usr/include/errno.h ../../include/sms.h
65 chsh.o: /usr/include/sms_et.h ../../include/sms_app.h
This page took 0.030816 seconds and 3 git commands to generate.