# $Source$
# $Header$
# $Author$
-# $Log$
-# Revision 1.3 1987-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/libmisc.a
+SMSLIB = -L../../lib -lsms -lgdb -lcom_err -lkrb -ldes
-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
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 -s chsh ${DESTDIR}/usr/athena/chsh
+ install -s chfn ${DESTDIR}/usr/athena/chfn
+ install -s chpobox ${DESTDIR}/usr/athena/chpobox