HDRS = defs.h file.h util.h wcl_init.h xznol.h zephyr.h info.h \
	adduser.h mymalloc.h
SRCS = file.c table.c users.c util.c wcl_init.c xznol.c zephyr.c info.c \
	adduser.c Xp.c ZWaitForNotice.c
OBJS = file.o table.o users.o util.o wcl_init.o xznol.o zephyr.o info.o \
	adduser.o Xp.o ZWaitForNotice.o \
	MyTable.o MyList.o Viewport.o Paned.o

CC = @CC@

srcdir = @srcdir@
wcldir = @wcldir@
X_LIBS = @X_LIBS@
Z_LIBDIR = -L/usr/athena/lib

INCLUDES = -I$(srcdir) -I$(wcldir)/include $(X_CFLAGS) -I/usr/athena/include
CFLAGS = @CFLAGS@ @DEFS@ $(DEBUGGINGFLAGS) \
	-DHESIOD -DAPPDIR=\"/afs/sipb.mit.edu/project/xznol/app-defaults\" \
	$(INCLUDES)
LIBS = $(Z_LIBDIR) -lzephyr -lkrb -ldes -lcom_err -lhesiod \
	-L$(wcldir)/lib -lWc \
	$(X_LIBS) -lXaw -lXmu -lXt -lXext -lX11 \
	@LIBS@

VPATH = @srcdir@

xznol: $(OBJS)
	$(CC) $(CFLAGS) -o xznol $(OBJS) $(LIBS)

clean::
	rm -f xznol $(OBJS)

