]> andersk Git - moira.git/blobdiff - clients/moira/Makefile
added menu.c and -I. to the cflags so that we find <menu.h>
[moira.git] / clients / moira / Makefile
index ed6f808d33e324352583773be361abd9bf0a9f48..ce3e189cfcddbbf22ad7ccc4cb009048c9ddac9c 100644 (file)
@@ -16,7 +16,7 @@
 # 
 
 DESTDIR=
-CFLAGS = -I../../include -O
+CFLAGS = -I../../include -I. -O
 LDFLAGS =  -L../../lib
 CONFDIR = ${DESTDIR}/usr/athena
 BINDIR = ${DESTDIR}/bin
@@ -26,29 +26,34 @@ 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
+       menu.c menus.c nfs.c pobox.c quota.c user.c dcmmaint.c printer.c \
+       misc.c
+OBJS = attach.o cluster.o delete.o globals.o lists.o main.o menu.o \
+       menus.o nfs.o pobox.o quota.o user.o utils.o dcmmaint.o printer.o \
+       misc.o
 
-all:           sms
+all:           moira
 
-sms:           ${OBJS}
-               cc ${CFLAGS} ${LDFLAGS} -o sms ${OBJS} ${LIBS}
+moira:         ${OBJS}
+               rm -f moira
+               cc ${CFLAGS} ${LDFLAGS} -o moira ${OBJS} ${LIBS}
 
 lint:
        lint -I../../include *.c
 
-install: sms
-       install -s sms ${DESTDIR}/usr/athena/sms
+install: moira
+       install -s moira ${DESTDIR}/usr/athena/moira
        rm -f ${DESTDIR}/usr/athena/usermaint
        rm -f ${DESTDIR}/usr/athena/listmaint
-       ln -s /usr/athena/sms ${DESTDIR}/usr/athena/usermaint
-       ln -s /usr/athena/sms ${DESTDIR}/usr/athena/listmaint
+       rm -f ${DESTDIR}/usr/athena/dcmmaint
+       ln -s /usr/athena/moira ${DESTDIR}/usr/athena/usermaint
+       ln -s /usr/athena/moira ${DESTDIR}/usr/athena/listmaint
+       ln -s /usr/athena/moira ${DESTDIR}/usr/athena/dcmmaint
 
 clean: 
        rm -f *.o *~
-       rm -f sms
-
+       rm -f moira
+       cd Doc; make clean
 
 # Typing 'make saber' at the command line will allow load and link against the
 # correct libraries when using saber C.
This page took 0.044432 seconds and 4 git commands to generate.