]> andersk Git - moira.git/blame - clients/passwd/Makefile
added install target
[moira.git] / clients / passwd / Makefile
CommitLineData
fcb276b5 1# Makefile for SMS clients passwd/chfn/chhome/chsh
13b69c6c 2#
3# MIT Project Athena
4#
5# $Source$
6# $Header$
fcb276b5 7# $Author$
8# $Log$
9# Revision 1.2 1987-07-31 01:24:43 ambar
10# added install target
11#
13b69c6c 12#
13DESTDIR=
fcb276b5 14DEFINES = -O
15CFLAGS = -I../../include ${DEFINES}
13b69c6c 16CONFDIR = ${DESTDIR}/usr/athena
17BINDIR = ${DESTDIR}/bin
18
fcb276b5 19SMSLIB = ../../lib/libsms.a ../../lib/libgdb.a ../../lib/libmisc.a
13b69c6c 20
fcb276b5 21PROGS= passwd chfn chhome chsh
13b69c6c 22
23all: ${PROGS}
24
fcb276b5 25passwd: passwd.o
26 cc -o passwd passwd.o -lkrb -ldes
13b69c6c 27
fcb276b5 28chfn: chfn.o
29 cc -o chfn chfn.o ${SMSLIB} -lkrb -ldes
13b69c6c 30
fcb276b5 31chhome: chhome.o
32 cc -o chhome chhome.o ${SMSLIB} -lkrb -ldes
13b69c6c 33
fcb276b5 34chsh: chsh.o
35 cc -o chsh chsh.o ${SMSLIB} -lkrb -ldes
13b69c6c 36
fcb276b5 37lint:
38 lint *.c
13b69c6c 39
fcb276b5 40clean:
41 rm -f *.o *~
42 rm -f ${PROGS}
43
44install: ${PROGS}
45 install passwd ${DESTDIR}/usr/athena/passwd
46 install chsh ${DESTDIR}/usr/athena/chsh
47 install chfn ${DESTDIR}/usr/athena/chfn
48 install chhome ${DESTDIR}/usr/athena/chhome
This page took 0.122788 seconds and 5 git commands to generate.