]> andersk Git - moira.git/blobdiff - clients/passwd/Makefile
Used /bin/sh format instead of /bin/csh format, by accident.
[moira.git] / clients / passwd / Makefile
index c2b83f674cbe97cb2d084d2ef2fc62e139861b18..a24937f523d4f929ce021f20ab10b2369a727c4c 100644 (file)
@@ -1,50 +1,36 @@
-# Makefile for SMS clients passwd/chfn/chpobox/chsh
+# Makefile for MOIRA clients passwd/chfn/chpobox/chsh
 #
 #      MIT Project Athena
 #
 #      $Source$
 #      $Header$
 #      $Author$
-#      $Log$
-#      Revision 1.6  1987-12-22 12:50:53  mar
-#      don't install chpobox
-#
-# Revision 1.5  87/08/08  23:38:10  ambar
-# passwd now links with smslib
-# 
-# Revision 1.4  87/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
+MOIRALIB = -L../../lib -lmoira -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 ${SMSLIB} -lkrb -ldes
-
 chfn:  chfn.o
-       cc -o chfn chfn.o ${SMSLIB} -lkrb -ldes
+       cc -o chfn chfn.o ${MOIRALIB}
 
 chpobox:       chpobox.o
-       cc -o chpobox chpobox.o ${SMSLIB} -lkrb -ldes
+       cc -o chpobox chpobox.o ${MOIRALIB}
 
 chsh:  chsh.o
-       cc -o chsh chsh.o ${SMSLIB} -lkrb -ldes
+       cc -o chsh chsh.o ${MOIRALIB}
 
 lint:
        lint *.c
@@ -54,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/moira.h
+chfn.o: ../../include/mr_et.h ../../include/moira_site.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/moira.h ../../include/mr_et.h
+chpobox.o: ../../include/moira_site.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/moira.h
+chsh.o: ../../include/mr_et.h ../../include/moira_site.h
This page took 0.62253 seconds and 4 git commands to generate.