]> andersk Git - moira.git/blame - clients/moira/Makefile
added dcmmaint & printer stuff
[moira.git] / clients / moira / Makefile
CommitLineData
f7ba8e6c 1# This is the Makefile for allmaint, the SMS client that allows
2# a user to maintaint most important parts of the SMS database.
3# It Contains: The Makefile
4#
5# Created: 5/9/88
6# By: Chris D. Peterson
7#
8# $Source$
9# $Author$
10# $Header$
11#
12# Copyright 1987, 1988 by the Massachusetts Institute of Technology.
13#
14# For further information on copyright and distribution
15# see the file mit-copyright.h
16#
17
18DESTDIR=
507c84bb 19CFLAGS = -I../../include -O
20LDFLAGS = -L../../lib
f7ba8e6c 21CONFDIR = ${DESTDIR}/usr/athena
22BINDIR = ${DESTDIR}/bin
23
24SMSLIB = -lsms -lgdb -lcom_err
25LIBS = ${SMSLIB} -lcurses -ltermcap -lkrb -ldes
26
27
28SRCS = utils.c attach.c cluster.c delete.c globals.c lists.c main.c \
f38003c4 29 menus.c nfs.c pobox.c quota.c user.c dcmmaint.c printer.c
f7ba8e6c 30OBJS = attach.o cluster.o delete.o globals.o lists.o main.o menus.o nfs.o \
f38003c4 31 pobox.o quota.o user.o utils.o dcmmaint.o printer.o
f7ba8e6c 32
33all: sms
34
35sms: ${OBJS}
f38003c4 36 rm -f sms
f7ba8e6c 37 cc ${CFLAGS} ${LDFLAGS} -o sms ${OBJS} ${LIBS}
38
39lint:
40 lint -I../../include *.c
41
1daa34a2 42install: sms
43 install -s sms ${DESTDIR}/usr/athena/sms
44 rm -f ${DESTDIR}/usr/athena/usermaint
45 rm -f ${DESTDIR}/usr/athena/listmaint
46 ln -s /usr/athena/sms ${DESTDIR}/usr/athena/usermaint
47 ln -s /usr/athena/sms ${DESTDIR}/usr/athena/listmaint
48
f7ba8e6c 49clean:
50 rm -f *.o *~
51 rm -f sms
52
53
54# Typing 'make saber' at the command line will allow load and link against the
55# correct libraries when using saber C.
56
57saber: ;
58 /mit/kaufer/saber -I/mit/smsdev/include -DDEBUG ${LDFLAGS} \
59 ${SRCS} ${LIBS}
This page took 0.164812 seconds and 5 git commands to generate.