# This is the Imakefile for the CREF motif-based 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/motif/RCS/Imakefile,v $
#       $Author: bert $
#       $Header: /mit/olcdev/highlander/src/browser/motif/RCS/Imakefile,v 1.11 1997/04/08 19:22:26 bert Exp bert $
#

SRCS		=	main.c callbacks.c MriRegAll.c
OBJS		=	main.o callbacks.o MriRegAll.o

SYS_LIBS   	=	$(MotifWCLLib) $(MotifUtilLib) \
			$(MotifLib) $(MotifToolLib) $(XLib)
INCLUDES	=	$(XIncludes) $(MotifIncludes)

#if DoUsageLog
LOCAL_LIBS = $(LOGGERLIB)
SYS_LIBS   	=	$(HesiodLib) $(MotifWCLLib) $(MotifUtilLib) \
			$(MotifLib) $(MotifToolLib) $(XLib) 
#else
LOCAL_LIBS =
SYS_LIBS   	=	$(MotifWCLLib) $(MotifUtilLib) \
			$(MotifLib) $(MotifToolLib) $(XLib)
#endif

NormalProgramTarget(xbrowser,$(OBJS),,$(LOCAL_LIBS),$(SYS_LIBS))
SaberProgramTarget(xbrowser,$(SRCS),$(OBJS),$(LOCAL_LIBS),$(SYS_LIBS))

#ifdef InstallAltLoc
InstallProgram(xbrowser,$(DESTDIR)/usr/athena/bin)
InstallNonExec(Xbrowser,$(DESTDIR)/usr/athena/lib/X11/app-defaults)
#else
InstallProgram(xbrowser,$(DESTDIR)/usr/athena)
InstallNonExec(Xbrowser,$(DESTDIR)/usr/lib/X11/app-defaults)
#endif

DependTarget()
LintTarget()

AllTarget(xbrowser)
