# This is the Imakefile for the CREF finder.
#
#	Lucien Van Elsen
#	MIT Project Athena
#
#    Copyright (c) 1991 by the Massachusetts Institute of Technology
#    For copying and distribution information, see the file "mit-copyright.h".
#
# 	$Source: /afs/sipb.mit.edu/project/sipb-athena/olc/browser/curses/RCS/Imakefile,v $
#	$Author: svalente $
#	$Header: /afs/sipb.mit.edu/project/sipb-athena/olc/browser/curses/RCS/Imakefile,v 1.3 95/10/22 13:30:19 svalente Exp $
#

SRCS	= cref.c commands.c display.c cref_utils.c globals.c update.c \
	  signal.c
OBJS	= cref.o commands.o display.o cref_utils.o globals.o update.o \
	  signal.o


#if DoUsageLog
LOCAL_LIBS = $(LOGGERLIB)
SYS_LIBRARIES = $(CursesLib) $(HesiodLib)
#else
LOCAL_LIBS =
SYS_LIBRARIES = $(CursesLib)
#endif

INCLUDES = $(CursesIncludes)

NormalProgramTarget(olc_browser,$(OBJS),,$(LOCAL_LIBS),$(SYS_LIBRARIES))
SaberProgramTarget(olc_browser,$(SRCS),$(OBJS),$(LOCAL_LIBS),$(SYS_LIBRARIES))

DependTarget()
LintTarget()

AllTarget(olc_browser)

InstallProgram(olc_browser,$(DESTDIR)/usr/athena/bin)
InstallScript(olc_answers,$(DESTDIR)/usr/athena/bin)
