]> andersk Git - moira.git/blame - clients/passwd/Makefile
passwd now links with smslib
[moira.git] / clients / passwd / Makefile
CommitLineData
a82fb69f 1# Makefile for SMS clients passwd/chfn/chpobox/chsh
13b69c6c 2#
3# MIT Project Athena
4#
5# $Source$
6# $Header$
fcb276b5 7# $Author$
8# $Log$
15ce2069 9# Revision 1.5 1987-08-08 23:38:10 ambar
10# passwd now links with smslib
fcb276b5 11#
15ce2069 12# Revision 1.4 87/08/03 05:13:22 wesommer
13# changed libmisc to libcom_err.a
14#
82f1b1c7 15# Revision 1.3 87/08/02 19:46:26 ambar
16# changed name of chhome to chpobox
17#
a82fb69f 18# Revision 1.2 87/07/31 01:24:43 ambar
19# added install target
20#
13b69c6c 21#
22DESTDIR=
fcb276b5 23DEFINES = -O
24CFLAGS = -I../../include ${DEFINES}
13b69c6c 25CONFDIR = ${DESTDIR}/usr/athena
26BINDIR = ${DESTDIR}/bin
27
82f1b1c7 28SMSLIB = ../../lib/libsms.a ../../lib/libgdb.a ../../lib/libcom_err.a
13b69c6c 29
a82fb69f 30PROGS= passwd chfn chpobox chsh
13b69c6c 31
32all: ${PROGS}
33
fcb276b5 34passwd: passwd.o
15ce2069 35 cc -o passwd passwd.o ${SMSLIB} -lkrb -ldes
13b69c6c 36
fcb276b5 37chfn: chfn.o
38 cc -o chfn chfn.o ${SMSLIB} -lkrb -ldes
13b69c6c 39
a82fb69f 40chpobox: chpobox.o
41 cc -o chpobox chpobox.o ${SMSLIB} -lkrb -ldes
13b69c6c 42
fcb276b5 43chsh: chsh.o
44 cc -o chsh chsh.o ${SMSLIB} -lkrb -ldes
13b69c6c 45
fcb276b5 46lint:
47 lint *.c
13b69c6c 48
fcb276b5 49clean:
50 rm -f *.o *~
51 rm -f ${PROGS}
52
53install: ${PROGS}
54 install passwd ${DESTDIR}/usr/athena/passwd
55 install chsh ${DESTDIR}/usr/athena/chsh
56 install chfn ${DESTDIR}/usr/athena/chfn
a82fb69f 57 install chpobox ${DESTDIR}/usr/athena/chpobox
This page took 0.057805 seconds and 5 git commands to generate.