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