XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:42:52 cpqbld Exp $




XCOMM $XFree86: xc/fonts/Imakefile,v 3.7 2001/03/01 00:37:01 dawes Exp $
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"

#if BuildSpeedoFonts || BuildType1Fonts || BuildCIDFonts || BuildTTFonts
SCALEDDIR = scaled
ENCODINGDIR = encodings
#endif

FONTDIRS = bdf $(SCALEDDIR)

#if BuildPexExt
PEXDIR = PEX
#endif

SUBDIRS = $(ENCODINGDIR) util bdf $(SCALEDDIR) $(PEXDIR)

#if MakeLocalFontDir
MakeDirectories(install,$(FONTDIR)/local)
#ifndef OS2Architecture
	if [ ! -f $(DESTDIR)$(FONTDIR)/local/fonts.dir ]; then \
	  echo "0" > $(DESTDIR)$(FONTDIR)/local/fonts.dir; fi
#else
FONTSDIR = $(subst /,\,$(DESTDIR)$(FONTDIR)/local/fonts.dir)

install::
	if not exist $(FONTSDIR) echo 0 >$(FONTSDIR)
#endif
#endif

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
