# 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: /mit/olcdev/highlander/src/browser/curses/RCS/Imakefile,v $
#	$Author: bert $
#	$Header: /mit/olcdev/highlander/src/browser/curses/RCS/Imakefile,v 1.9 1997/05/22 21:23:39 bert 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


PROGRAM =	olc_browser

DEFINES =	$(PROJECT_DEFS)
#if DoUsageLog
LOCAL_LIBS = $(CONFIGLIB) $(LOGGERLIB)
SYS_LIBRARIES = $(CursesLib) $(HesiodLib) $(EXTRA_LIBRARIES)
#else
LOCAL_LIBS = $(CONFIGLIB)
SYS_LIBRARIES = $(CursesLib) $(EXTRA_LIBRARIES)
#endif


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

InstallProgram($(PROGRAM),$(DESTDIR)/usr/athena/bin)

DependTarget()
LintTarget()

AllTarget($(PROGRAM))
