X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/c4f3ab6d4ff81fac686bcc60c4d9f62bea2b575f..67805159a972397342c342ee735c8acd640e1399:/clients/passwd/Makefile diff --git a/clients/passwd/Makefile b/clients/passwd/Makefile index 2e248a02..a24937f5 100644 --- a/clients/passwd/Makefile +++ b/clients/passwd/Makefile @@ -1,4 +1,4 @@ -# Makefile for SMS clients passwd/chfn/chpobox/chsh +# Makefile for MOIRA clients passwd/chfn/chpobox/chsh # # MIT Project Athena # @@ -6,27 +6,31 @@ # $Header$ # $Author$ # +# (c) Copyright 1988 by the Massachusetts Institute of Technology. +# For copying and distribution information, please see the file +# . # + DESTDIR= DEFINES = -O CFLAGS = -I../../include ${DEFINES} CONFDIR = ${DESTDIR}/usr/athena BINDIR = ${DESTDIR}/bin -SMSLIB = -L../../lib -lsms -lgdb -lcom_err -lkrb -ldes +MOIRALIB = -L../../lib -lmoira -lgdb -lcom_err -lkrb -ldes -lhesiod -PROGS= chfn chsh # chpobox +PROGS= chfn chsh chpobox all: ${PROGS} chfn: chfn.o - cc -o chfn chfn.o ${SMSLIB} + cc -o chfn chfn.o ${MOIRALIB} chpobox: chpobox.o - cc -o chpobox chpobox.o ${SMSLIB} + cc -o chpobox chpobox.o ${MOIRALIB} chsh: chsh.o - cc -o chsh chsh.o ${SMSLIB} + cc -o chsh chsh.o ${MOIRALIB} lint: lint *.c @@ -36,6 +40,26 @@ clean: rm -f ${PROGS} install: ${PROGS} - 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