3 # Copyright 1991 by the Massachusetts Institute of Technology.
5 # For copying and distribution information,
6 # please see the file <mit-copyright.h>.
8 # Imakefile for moira client.
12 GDSSLIB = /mit/gdss/`machtype`/libgdss.a
13 GDSSINC = -I/mit/gdss/include
17 SRCS= main.c formup.c form_setup.c \
18 queries.c help.c stubs.c display.c tty.c parser.c
19 CODE=${SRCS} Imakefile mmoira.h data.h menus.txt menus.awk forms.txt \
21 SRCDIR=${SRCTOP}/clients/mmoira
22 OBJS = form_data.o form_setup.o menu_data.o main.o formup.o \
23 queries.o help.o stubs.o display.o tty.o parser.o
25 INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I$(MOTIF)/include \
26 -I/usr/athena/include ${GDSSINC} -I.
29 program(mmoira, ${OBJS},${MR_LIBDEP} ${GDB_LIBDEP},${GDSSLIB} ${CLIBS} -L$(MOTIF)/`machtype`lib -lXm -lXt -lX11,${PROGDIR})
31 form_data.c: forms.txt forms.awk
32 awk -f forms.awk forms.txt > form_data.c
34 menu_data.c: menus.txt menus.awk
35 awk -f menus.awk menus.txt > menu_data.c
37 depend:: ${CODE} form_data.c form_setup.c