From: mar Date: Sun, 7 Aug 1988 19:44:11 +0000 (+0000) Subject: Initial revision X-Git-Tag: KREL1~249 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/f7ba8e6c12b198b88171534c16eb48df3cda0b97?hp=61d769f0f1d7346690a62ba95a13ab681a12bcd4 Initial revision --- diff --git a/clients/moira/Makefile b/clients/moira/Makefile new file mode 100644 index 00000000..b9fcf8d6 --- /dev/null +++ b/clients/moira/Makefile @@ -0,0 +1,51 @@ +# This is the Makefile for allmaint, the SMS client that allows +# a user to maintaint most important parts of the SMS database. +# It Contains: The Makefile +# +# Created: 5/9/88 +# By: Chris D. Peterson +# +# $Source$ +# $Author$ +# $Header$ +# +# Copyright 1987, 1988 by the Massachusetts Institute of Technology. +# +# For further information on copyright and distribution +# see the file mit-copyright.h +# + +DESTDIR= +CFLAGS = -I/mit/smsdev/include -g -DDEBUG +LDFLAGS = -L/mit/smsdev/lib +CONFDIR = ${DESTDIR}/usr/athena +BINDIR = ${DESTDIR}/bin + +SMSLIB = -lsms -lgdb -lcom_err +LIBS = ${SMSLIB} -lcurses -ltermcap -lkrb -ldes + + +SRCS = utils.c attach.c cluster.c delete.c globals.c lists.c main.c \ + menus.c nfs.c pobox.c quota.c user.c +OBJS = attach.o cluster.o delete.o globals.o lists.o main.o menus.o nfs.o \ + pobox.o quota.o user.o utils.o + +all: sms + +sms: ${OBJS} + cc ${CFLAGS} ${LDFLAGS} -o sms ${OBJS} ${LIBS} + +lint: + lint -I../../include *.c + +clean: + rm -f *.o *~ + rm -f sms + + +# Typing 'make saber' at the command line will allow load and link against the +# correct libraries when using saber C. + +saber: ; + /mit/kaufer/saber -I/mit/smsdev/include -DDEBUG ${LDFLAGS} \ + ${SRCS} ${LIBS}