-# Makefile for SMS clients passwd/chfn/chhome/chsh
+# Makefile for SMS clients passwd/chfn/chpobox/chsh
#
# MIT Project Athena
#
# $Source$
# $Header$
# $Author$
-# $Log$
-# Revision 1.2 1987-07-31 01:24:43 ambar
-# added install target
-#
+#
#
DESTDIR=
DEFINES = -O
CONFDIR = ${DESTDIR}/usr/athena
BINDIR = ${DESTDIR}/bin
-SMSLIB = ../../lib/libsms.a ../../lib/libgdb.a ../../lib/libmisc.a
+SMSLIB = -L../../lib -lsms -lgdb -lcom_err -lkrb -ldes
-PROGS= passwd chfn chhome 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}
-chhome: chhome.o
- cc -o chhome chhome.o ${SMSLIB} -lkrb -ldes
+chpobox: chpobox.o
+ 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
rm -f ${PROGS}
install: ${PROGS}
- install passwd ${DESTDIR}/usr/athena/passwd
- install chsh ${DESTDIR}/usr/athena/chsh
- install chfn ${DESTDIR}/usr/athena/chfn
- install chhome ${DESTDIR}/usr/athena/chhome
+ install -s chsh ${DESTDIR}/usr/athena/chsh
+ install -s chfn ${DESTDIR}/usr/athena/chfn
+ install -s chpobox ${DESTDIR}/usr/athena/chpobox