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.
11 SRCS= main.c formup.c form_setup.c \
12 queries.c help.c stubs.c display.c tty.c parser.c
13 CODE=${SRCS} Imakefile mmoira.h data.h menus.txt menus.awk forms.txt \
15 SRCDIR=${SRCTOP}/clients/mmoira
16 OBJS = form_data.o form_setup.o menu_data.o main.o formup.o \
17 queries.o help.o stubs.o display.o tty.o parser.o
18 INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I$(XDIR)/include \
19 -I$(MOTIFINC) -I/usr/athena/include ${GDSSINC} -I.
22 program(mmoira, ${OBJS},${MR_LIBDEP} ${GDB_LIBDEP},${LIBGDSS} ${CLIBS} -L$(XDIR)/lib -L$(MOTIFLIB) -lXm -lXt -lX11,${PROGDIR})
24 form_data.c: forms.txt forms.awk
25 awk -f forms.awk forms.txt > form_data.c
27 menu_data.c: menus.txt menus.awk
28 awk -f menus.awk menus.txt > menu_data.c
30 depend:: ${CODE} form_data.c form_setup.c