]> andersk Git - moira.git/blobdiff - clients/passwd/Makefile
make the install's -c
[moira.git] / clients / passwd / Makefile
index a27e2863fdcd604377463b2a31d204e074500700..66b6b870fb1c78e11f072ad7e3dc1d552635bb8b 100644 (file)
@@ -5,40 +5,32 @@
 #      $Source$
 #      $Header$
 #      $Author$
-#      $Log$
-#      Revision 1.4  1987-08-03 05:13:22  wesommer
-#      changed libmisc to libcom_err.a
-#
-# Revision 1.3  87/08/02  19:46:26  ambar
-# changed name of chhome to chpobox
-# 
-# Revision 1.2  87/07/31  01:24:43  ambar
-# added install target
 # 
+# (c) Copyright 1988 by the Massachusetts Institute of Technology.
+# For copying and distribution information, please see the file
+# <mit-copyright.h>.
 #
+
 DESTDIR=
 DEFINES = -O
 CFLAGS = -I../../include ${DEFINES}
 CONFDIR = ${DESTDIR}/usr/athena
 BINDIR = ${DESTDIR}/bin
 
-SMSLIB =  ../../lib/libsms.a ../../lib/libgdb.a ../../lib/libcom_err.a
+SMSLIB = -L../../lib -lsms -lgdb -lcom_err -lkrb -ldes -lhesiod
 
-PROGS= passwd chfn chpobox chsh
+PROGS= chfn chsh chpobox
 
 all:   ${PROGS}
 
-passwd:        passwd.o
-       cc -o passwd passwd.o -lkrb -ldes
-
 chfn:  chfn.o
-       cc -o chfn chfn.o ${SMSLIB} -lkrb -ldes
+       cc -o chfn chfn.o ${SMSLIB}
 
 chpobox:       chpobox.o
-       cc -o chpobox chpobox.o ${SMSLIB} -lkrb -ldes
+       cc -o chpobox chpobox.o ${SMSLIB}
 
 chsh:  chsh.o
-       cc -o chsh chsh.o ${SMSLIB} -lkrb -ldes
+       cc -o chsh chsh.o ${SMSLIB}
 
 lint:
        lint *.c
@@ -48,7 +40,26 @@ clean:
        rm -f ${PROGS}
 
 install:       ${PROGS}
-       install passwd ${DESTDIR}/usr/athena/passwd
-       install chsh ${DESTDIR}/usr/athena/chsh
-       install chfn ${DESTDIR}/usr/athena/chfn
-       install chpobox ${DESTDIR}/usr/athena/chpobox
+       install -c -s chsh ${DESTDIR}/usr/athena/chsh
+       install -c -s chfn ${DESTDIR}/usr/athena/chfn
+       install -c -s chpobox ${DESTDIR}/usr/athena/chpobox
+
+depend:
+       mkdep ${CFLAGS} chfn.c chpobox.c chsh.c
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+
+chfn.o: chfn.c /usr/include/sys/types.h /usr/include/stdio.h
+chfn.o: /usr/include/strings.h /usr/include/sys/file.h ../../include/krb.h
+chfn.o: ../../include/mit-copyright.h ../../include/des.h
+chfn.o: /usr/include/ctype.h /usr/include/errno.h ../../include/sms.h
+chfn.o: /usr/include/sms_et.h ../../include/sms_app.h
+chpobox.o: chpobox.c /usr/include/sys/types.h /usr/include/stdio.h
+chpobox.o: /usr/include/pwd.h /usr/include/strings.h /usr/include/ctype.h
+chpobox.o: /usr/include/errno.h ../../include/sms.h /usr/include/sms_et.h
+chpobox.o: ../../include/sms_app.h ../../include/mit-copyright.h
+chsh.o: chsh.c /usr/include/sys/types.h /usr/include/stdio.h
+chsh.o: /usr/include/strings.h /usr/include/sys/file.h ../../include/krb.h
+chsh.o: ../../include/mit-copyright.h ../../include/des.h
+chsh.o: /usr/include/ctype.h /usr/include/errno.h ../../include/sms.h
+chsh.o: /usr/include/sms_et.h ../../include/sms_app.h
This page took 0.033401 seconds and 4 git commands to generate.