#
# $Header: /afs/athena.mit.edu/astaff/project/olcdev/src/clients/olc/RCS/Imakefile,v 1.10 91/05/07 22:19:43 lwvanels Exp $
#
# For copying and distribution information,
# please see the file <mit-copyright.h>.
#

/*#define Profiling*/

#ifdef Profiling
LIBSUFFIX=_p
EXTRA_LOAD_FLAGS=-pg
#endif

SRCS=		olc.c olc_stock.c
OBJS=		olc.o olc_stock.o
LOCAL_LIBRARIES= $(PARSER) $(TTY) $(CLIENTLIB) $(COMMONLIB)
SYS_LIBRARIES=	$(HesiodLib) $(KerberosLib)
DEPLIBS= $(LOCAL_LIBRARIES)

NormalProgramTarget(olc,$(OBJS),$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),$(SYS_LIBRARIES))
SaberProgramTarget(olc,$(SRCS),$(OBJS),$(LOCAL_LIBRARIES),$(SYS_LIBRARIES))

#ifdef InstallAltLoc
InstallLink(olc,olcr,$(DESTDIR)/usr/athena/bin)
#else
InstallLink(olc,olcr,$(DESTDIR)/usr/athena)
#endif

DependTarget()
LintTarget()

AllTarget(olc)
