]>
Commit | Line | Data |
---|---|---|
1 | # Makefile for SMS clients passwd/chfn/chpobox/chsh | |
2 | # | |
3 | # MIT Project Athena | |
4 | # | |
5 | # $Source$ | |
6 | # $Header$ | |
7 | # $Author$ | |
8 | # | |
9 | # (c) Copyright 1988 by the Massachusetts Institute of Technology. | |
10 | # For copying and distribution information, please see the file | |
11 | # <mit-copyright.h>. | |
12 | # | |
13 | ||
14 | DESTDIR= | |
15 | DEFINES = -O | |
16 | CFLAGS = -I../../include ${DEFINES} | |
17 | CONFDIR = ${DESTDIR}/usr/athena | |
18 | BINDIR = ${DESTDIR}/bin | |
19 | ||
20 | SMSLIB = -L../../lib -lsms -lgdb -lcom_err -lkrb -ldes | |
21 | ||
22 | PROGS= chfn chsh chpobox | |
23 | ||
24 | all: ${PROGS} | |
25 | ||
26 | chfn: chfn.o | |
27 | cc -o chfn chfn.o ${SMSLIB} | |
28 | ||
29 | chpobox: chpobox.o | |
30 | cc -o chpobox chpobox.o ${SMSLIB} | |
31 | ||
32 | chsh: chsh.o | |
33 | cc -o chsh chsh.o ${SMSLIB} | |
34 | ||
35 | lint: | |
36 | lint *.c | |
37 | ||
38 | clean: | |
39 | rm -f *.o *~ | |
40 | rm -f ${PROGS} | |
41 | ||
42 | install: ${PROGS} | |
43 | install -s chsh ${DESTDIR}/usr/athena/chsh | |
44 | install -s chfn ${DESTDIR}/usr/athena/chfn | |
45 | install -s chpobox ${DESTDIR}/usr/athena/chpobox |