#
# @(#)Imakefile 1.3 90/02/26 SMI
#

#include "../../XView.config"

HDRSPUBLIC=     openwin.h
HDRSPRIVATE=    ow_impl.h
HEADERS= ${HDRSPUBLIC} ${HDRSPRIVATE}
INCLUDES= -I$(HEADER_DEST) -I$(TOP) -I$(TOOLDIR)

OBJS =\
	openwin.o ow_evt.o ow_get.o ow_paint.o ow_resize.o ow_set.o \
	ow_view.o ow_rescale.o ow_data.o ow_seln.o

SRCS =\
	openwin.c ow_evt.c ow_get.c ow_paint.c ow_resize.c ow_set.c \
	ow_view.c ow_rescale.c ow_data.c ow_seln.c


all::

#if DebugLibXvol && ProfileLibXvol
DebuggedAndProfiledLibraryObjectRule()
#else
# if DebugLibXvol
DebuggedLibraryObjectRule()
# else
#  if ProfileLibXvol
ProfiledLibraryObjectRule()
#  else
NormalLibraryObjectRule()
#  endif
# endif
#endif

SubdirNormalLibTarget(xvol,$(OBJS))
SubdirCompoundLibTarget(xview,$(OBJS))

#if ProfileLibXvol
SubdirProfiledLibTarget(xvol,$(OBJS))
#endif

#if DebugLibXvol
SubdirDebuggedLibTarget(xvol,$(OBJS))
#endif

InstallMultipleDest(install_headers,$(HDRSPUBLIC),$(HEADER_DEST)/xview)
InstallMultipleDest(install_headers,$(HDRSPRIVATE),$(HEADER_DEST)/xview_private)

DependTarget()
