]> andersk Git - moira.git/blob - clients/moira/Imakefile
72b24f8e1a239486ceb681c691f7d44f9ba2605c
[moira.git] / clients / moira / Imakefile
1 # $Header$
2 #
3 # Copyright 1990 by the Massachusetts Institute of Technology.
4 #
5 # For copying and distribution information,
6 # please see the file <mit-copyright.h>.
7 #
8 # Imakefile for moira client.
9 #
10
11 MSRCS=  utils.c attach.c cluster.c delete.c globals.c lists.c main.c \
12         menu.c menus.c nfs.c pobox.c quota.c user.c dcmmaint.c printer.c \
13         misc.c zephyr.c
14 SRCS=   ${MSRCS} namespace.c
15 SRCDIR=${SRCTOP}/clients/moira
16 CODE=${SRCS} Imakefile defs.h f_defs.h globals.h menu.h
17 MOBJS=  attach.o cluster.o delete.o globals.o lists.o main.o menu.o \
18         menus.o nfs.o pobox.o quota.o user.o utils.o dcmmaint.o printer.o \
19         misc.o zephyr.o
20 NOBJS=  namespace.o globals.o lists.o menu.o \
21         pobox.o user.o utils.o misc.o
22 OBJS=   ${MOBJS} ${NOBJS}
23 #ifdef GDSS
24 INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I/usr/athena/include \
25         -I/mit/gdss/include -I.
26 #else
27 INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I/usr/athena/include -I.
28 #endif
29
30 #ifdef GDSS
31 LIBGDSS = -L/mit/gdss/`machtype` -lgdss
32 #endif
33
34
35 program(moira, ${MOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${LIBGDSS} ${CLIBS} ${CURSES},${PROGDIR})
36 program(namespace, ${NOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${LIBGDSS} ${CLIBS} ${CURSES},${PROGDIR})
37
38 install::
39         $(RM) $(DESTDIR)$(PROGDIR)/listmaint
40         ln -s moira $(DESTDIR)$(PROGDIR)/listmaint
41         $(RM) $(DESTDIR)$(PROGDIR)/dcmmaint
42         ln -s moira $(DESTDIR)$(PROGDIR)/dcmmaint
43         $(RM) $(DESTDIR)$(PROGDIR)/usermaint
44         ln -s moira $(DESTDIR)$(PROGDIR)/usermaint
45
46 depend:: ${CODE}
This page took 0.63222 seconds and 3 git commands to generate.