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