#
# @(#)Imakefile 50.1 90/12/12 SMI
#

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

HDRSPUBLIC=	font.h
HDRSPRIVATE=	font_impl.h
HEADERS= ${HDRSPUBLIC} ${HDRSPRIVATE}
INCLUDES= -I$(HEADER_DEST) -I$(TOP)

OBJS =\
	font.o\
	font_set.o\
	font_get.o\
	font_x.o\
	pf_text.o\
	pf_ttext.o\
	pf.o\
	font_data.o

SRCS =\
	font.c\
	font_set.c\
	font_get.c\
	font_x.c\
	pf_text.c\
	pf_ttext.c\
	pf.c\
	font_data.c

all::

#if DebugLibXvin && ProfileLibXvin
DebuggedAndProfiledLibraryObjectRule()
#else
# if DebugLibXvin
DebuggedLibraryObjectRule()
# else
#  if ProfileLibXvin
ProfiledLibraryObjectRule()
#  else
NormalLibraryObjectRule()
#  endif
# endif
#endif

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

#if ProfileLibXvin
SubdirProfiledLibTarget(xvin,$(OBJS))
#endif

#if DebugLibXvin
SubdirDebuggedLibTarget(xvin,$(OBJS))
#endif

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

DependTarget()
