#	Copyright (c) 1990, 1991, 1992, 1993, 1994 Novell, Inc. All Rights Reserved.
#	Copyright (c) 1993 Novell, Inc. All Rights Reserved.
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Novell Inc.
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space.  Imake tries to compensate
# for this, but is not always successful.
#

# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files.  Site-specific parameters should be set in the file
# site.def.  Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#

# -------------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change

# site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $

# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit usl.cf to change

MEMUTILDEF =
MEMUTILLIB =
INC = $(TOOLS)/usr/include

         YFLAGS =
          STRIP = $(PFX)strip
            AWK = /usr/bin/awk
             CD = cd
             LS = /bin/ls
             PR = /bin/pr
          CHMOD = $(CH)chmod
          CHOWN = $(CH)chown
          CHGRP = $(CH)chgrp
            SED = /bin/sed
            MCS = $(PFX)mcs -d

           YACC = $(PFX)yacc -p$(TOOLS)/usr/ccs/lib/yaccpar
            LEX = $(PFX)lex -l$(TOOLS)/usr/ccs/lib/lex/ncform

  PROTO_DEFINES =
LOCAL_LIBRARIES = $(XLIB)
  SYS_LIBRARIES =

  USE_INSTALLED =
   SYS_TO_BUILD =
   ARCHIVE_ONLY =

BUILD_DEFINES = $(SYS_TO_BUILD) $(USE_INSTALLED) $(ARCHIVE_ONLY)

# :: end of BUILD_DEFINES set-up

       UNIX_REL = -DSVR4

MAKEDEFINES = $(STD_DEFINES) $(BUILD_DEFINES) $(UNIX_REL) $(CCS_USED)

# until we use R5 server, use R4 font structures

# operating system:  OSName

INSTALLFLAGS = -m 0644

# $XConsortium: sv4Lib.rules,v 1.8 91/07/19 15:38:53 rws Exp $

INCLUDE_EXTENSION =  $(EXTENSIONSRC)/include

   EXTRA_INCLUDES = -I$(INCLUDESRC) -I$(INC)

# THESE SHOULD BE MOVED TO SOME Intel Specific file, like ix86.cf LATER
#
# from x386.cf: These are Intel specific rules
#

# -------------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change

# site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $

#
# ProjectRoot is where you want to install the binaries, libs, fonts etc
#

      PROJECTROOT = $(ROOT)/$(MACH)/usr/X
         XWINHOME = /usr/X
       XWINLIBDIR = $(XWINHOME)/lib
       XWINBINDIR = $(XWINHOME)/bin

     USLCLIENTSRC = $(TOP)/uslclients
       DESKTOPDIR = $(PROJECTROOT)/desktop
         DTADMDIR = $(PROJECTROOT)/adm
        XDEFAULTS = $(PROJECTROOT)/defaults

       FONTINCSRC = $(FONTSRC)/include
    FONTLIBINCSRC = $(FONTSRC)/lib/include
      FOLIOLIBSRC = $(FONTSRC)/lib/folio
       FONTLIBSRC = $(FONTSRC)/lib/font
    BITMAPFONTSRC = $(FONTSRC)/lib/bitmap
      FONTSLIBSRC = $(FONTSRC)/lib/
           XOLSRC = $(LIBSRC)/Xol
        XOLLIBSRC = $(LIBSRC)/Xol
BITMAPLIBS_TO_BUILD = libbitmap.a libbitmap.so
FONTLIBS_TO_BUILD = libfont.a libfont.so
       DISPLIBDIR = $(USRLIBDIR)/display

    USL_DEFINES = -DLIBDIR=\"$(XWINLIBDIR)\" -DDESTDIR=\"$(XWINHOME)\"

        DEFINES = $(USL_DEFINES)

            SHELL = /bin/sh

              TOP = ../../../.
      CURRENT_DIR = ./fonts/bdf/Utopia.75dpi

               AR = $(PFX)ar rv
  BOOTSTRAPCFLAGS = -Dusl
               CC = $(PFX)cc
               AS = $(PFX)as

         COMPRESS = compress
              CPP = $(TOOLS)/usr/ccs/lib/$(PFX)cpp $(STD_CPP_DEFINES)
    PREPROCESSCMD = $(PFX)cc -E $(STD_CPP_DEFINES)
          INSTALL = $(TOP)/util/scripts/bsdinst.sh
               LD = $(PFX)ld
             LINT = $(PFX)lint
      LINTLIBFLAG = -o
         LINTOPTS = -ax
               LN = /bin/ln -s
             MAKE = $(PFX)make
               MV = /bin/mv
               CP = /bin/cp
              HCC = /bin/cc
              SED = /bin/sed

               RM = /bin/rm -f
            TROFF = psroff
         MSMACROS = -ms
              TBL = tbl
              EQN = eqn
     STD_INCLUDES = -I.
  STD_CPP_DEFINES = -DUSL -DSVR4 -DI18N $(MEMUTILDEF)
      STD_DEFINES = -DUSL -DSVR4 -DI18N $(MEMUTILDEF)
 EXTRA_LOAD_FLAGS = -T 0x8300000
  EXTRA_LIBRARIES = -lnsl -ldl -lsocket $(MEMUTILLIB)
             TAGS = ctags

    SHAREDCODEDEF =
         SHLIBDEF =

    PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO

     INSTPGMFLAGS = -s

     INSTBINFLAGS = -m 0755
     INSTUIDFLAGS = -m 4755
     INSTLIBFLAGS = -m 0644
     INSTINCFLAGS = -m 0444
     INSTMANFLAGS = -m 0444
     INSTDATFLAGS = -m 0444
    INSTKMEMFLAGS = -m 4755

      PROJECTROOT = $(ROOT)/$(MACH)/usr/X

     TOP_INCLUDES = -I$(TOP)

      CDEBUGFLAGS = -O
        CCOPTIONS = -Xa -W2,-A
        HCCOPTIONS = -Xa

      ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
           HCFLAGS = $(CDEBUGFLAGS) $(HCCOPTIONS) $(ALLDEFINES)
        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)

           LDLIBS = -L$(USRLIBDIR) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)

        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -T 0x8300000
        HLDOPTIONS = $(CDEBUGFLAGS) $(HCCOPTIONS) $(LOCAL_LDFLAGS)

   LDCOMBINEFLAGS = -r
      DEPENDFLAGS =

        MACROFILE = usl.cf
           RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut

    IMAKE_DEFINES =

         IRULESRC = $(CONFIGSRC)
        IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)

     ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
			$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
			$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)

# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.142 92/01/25 16:44:02 rws Exp $

# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules

          PATHSEP = /
        USRLIBDIR = $(ROOT)/$(MACH)/usr/X/lib
           BINDIR = $(ROOT)/$(MACH)/usr/X/bin
          INCROOT = $(ROOT)/$(MACH)/usr/X/include
     BUILDINCROOT = $(TOP)
      BUILDINCDIR = $(BUILDINCROOT)/X11
      BUILDINCTOP = ..
           INCDIR = $(INCROOT)/X11
           ADMDIR = /usr/adm
           LIBDIR = $(USRLIBDIR)
        CONFIGDIR = $(LIBDIR)/config
       LINTLIBDIR = $(USRLIBDIR)/lint

          FONTDIR = $(LIBDIR)/fonts
         XINITDIR = $(LIBDIR)/xinit
           XDMDIR = $(LIBDIR)/xdm
           TWMDIR = $(LIBDIR)/twm
          MANPATH = $(ROOT)/$(MACH)/usr/X/man
    MANSOURCEPATH = $(MANPATH)/man
        MANSUFFIX = 1x
     LIBMANSUFFIX = 3x
           MANDIR = $(MANSOURCEPATH)1
        LIBMANDIR = $(MANSOURCEPATH)3
           NLSDIR = $(LIBDIR)/nls
        PEXAPIDIR = $(LIBDIR)/PEX
      XAPPLOADDIR = $(LIBDIR)/app-defaults
       FONTCFLAGS = -t

     INSTAPPFLAGS = $(INSTDATFLAGS)

            IMAKE = $(IMAKESRC)/imake
           DEPEND = $(DEPENDSRC)/makedepend
              RGB = $(RGBSRC)/rgb

            FONTC = $(BDFTOPCFSRC)/bdftopcf

        MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
        MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh

        CONFIGSRC = $(TOP)/config
       DOCUTILSRC = $(TOP)/doc/util
        CLIENTSRC = $(TOP)/clients
          DEMOSRC = $(TOP)/demos
           LIBSRC = $(TOP)/lib
          FONTSRC = $(TOP)/fonts
       INCLUDESRC = $(TOP)/X11
        SERVERSRC = $(TOP)/server
          UTILSRC = $(TOP)/util
        SCRIPTSRC = $(UTILSRC)/scripts
       EXAMPLESRC = $(TOP)/examples
       CONTRIBSRC = $(TOP)/../contrib
           DOCSRC = $(TOP)/doc
           RGBSRC = $(TOP)/rgb
        DEPENDSRC = $(UTILSRC)/makedepend
         IMAKESRC = $(CONFIGSRC)
         XAUTHSRC = $(LIBSRC)/Xau
          XLIBSRC = $(LIBSRC)/X
           XMUSRC = $(LIBSRC)/Xmu
       TOOLKITSRC = $(LIBSRC)/Xt
       AWIDGETSRC = $(LIBSRC)/Xaw
       OLDXLIBSRC = $(LIBSRC)/oldX
      XDMCPLIBSRC = $(LIBSRC)/Xdmcp

      BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf

     MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
         FSLIBSRC = $(FONTSRC)/lib/fs
    FONTSERVERSRC = $(FONTSRC)/server
     EXTENSIONSRC = $(TOP)/extensions
         XILIBSRC = $(EXTENSIONSRC)/lib/xinput
      XTESTLIBSRC = $(EXTENSIONSRC)/lib/xtest
      PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX

# $XConsortium: sv4Lib.tmpl,v 1.6 92/01/25 16:46:55 rws Exp $

#
# Leave the USL numbers to 1 - there are no compatability changes
# between the first release of SVR4.2 and the second release
# Also, cannot use ?.0 numbering, because it will be more than 14 chars
# which will break SYSV file systems.
#

         SOXOLREV = 1
        SOOLITREV = 1
       SOOLITMREV = 1
       SOOLITOREV = 1
          SODTREV = 1

SHLIBLDFLAGS = -G -z text
PICFLAGS = -K PIC

  DEPEXTENSIONLIB =
     EXTENSIONLIB = -L$(EXTENSIONSRC)/lib -lXext

          DEPXLIB = $(DEPEXTENSIONLIB)
             XLIB = $(EXTENSIONLIB) -L$(XLIBSRC) -lX11

        DEPXMULIB = $(XMUSRC)/libXmu.so.$(SOXMUREV)

              XMULIB = -L$(XMUSRC) -lXmu

       DEPOLDXLIB =
          OLDXLIB = -L$(OLDXLIBSRC) -loldX

      DEPXTOOLLIB =
         XTOOLLIB = -L$(TOOLKITSRC) -lXt

DEPXOLCOMPATLIB = $(XOLSRC)/libXol.so.$(SOXOLREV)
      DEPXOLLIB = $(XOLSRC)/libOlit.so.$(SOXOLREV)
         XOLLIB = -L$(XOLSRC) -lOlit

        DEPXAWLIB =
           XAWLIB = -L$(AWIDGETSRC) -lXaw

        DEPXILIB =
           XILIB = -L$(XILIBSRC) -lXi

        DEPXTESTLIB =
           XTESTLIB = -L$(XTESTLIBSRC) -lXtst

#
# USL: BEGIN
#

XHOSTLOC = ../../X
SHLIBFLAGS = -L $(ROOT)/$(MACH)/usr/lib -L $(ROOT)/$(MACH)/lib -L $(XHOSTLOC)

#
# USL: END
#

        SOXLIBREV = 5.0
          SOXTREV = 5.0
         SOXAWREV = 5.0
        SOOLDXREV = 5.0
         SOXMUREV = 5.0
        SOXEXTREV = 5.0
      SOXINPUTREV = 5.0
       SOXTESTREV = 5.0
       SOXTRAPREV = 1.0

      DEPXAUTHLIB = $(XAUTHSRC)/libXau.a
         XAUTHLIB =  $(DEPXAUTHLIB)
      DEPXDMCPLIB = $(XDMCPLIBSRC)/libXdmcp.a
         XDMCPLIB =  $(DEPXDMCPLIB)

        DEPPHIGSLIB = $(PHIGSLIBSRC)/libphigs.a
           PHIGSLIB =  $(DEPPHIGSLIB)

       DEPXBSDLIB = $(LIBSRC)/Berk/libXbsd.a
          XBSDLIB =  $(DEPXBSDLIB)

 LINTEXTENSIONLIB = $(EXTENSIONSRC)/lib/llib-lXext.ln
         LINTXLIB = $(XLIBSRC)/llib-lX11.ln
          LINTXMU = $(XMUSRC)/llib-lXmu.ln
        LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
          LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
           LINTXI = $(XILIBSRC)/llib-lXi.ln
        LINTPHIGS = $(PHIGSLIBSRC)/llib-lphigs.ln

          DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)

         DEPLIBS1 = $(DEPLIBS)
         DEPLIBS2 = $(DEPLIBS)
         DEPLIBS3 = $(DEPLIBS)

# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules:  $XConsortium: Imake.rules,v 1.126 91/12/30 20:14:35 rws Exp $

# added by USL

# -------------------------------------------------------------------------
# start of Imakefile

OBJS =  UTBI__10.pcf.Z       \
        UTBI__12.pcf.Z       \
        UTBI__14.pcf.Z       \
        UTBI__18.pcf.Z       \
        UTBI__24.pcf.Z       \
        UTB___10.pcf.Z       \
        UTB___12.pcf.Z       \
        UTB___14.pcf.Z       \
        UTB___18.pcf.Z       \
        UTB___24.pcf.Z       \
        UTI___10.pcf.Z       \
        UTI___12.pcf.Z       \
        UTI___14.pcf.Z       \
        UTI___18.pcf.Z       \
        UTI___24.pcf.Z       \
        UTRG__10.pcf.Z       \
        UTRG__12.pcf.Z       \
        UTRG__14.pcf.Z       \
        UTRG__18.pcf.Z       \
        UTRG__24.pcf.Z

FONTINSTDIR = $(FONTDIR)/75dpi

all:: $(OBJS)

all:: fonts.dir

fonts.dir: $(OBJS)
	$(MKFONTDIR) .

clean::
	$(RM) fonts.dir

clean::
	$(RM) *.snf *.snf.Z *.pcf *.pcf.Z

UTBI__10.pcf.Z: UTBI__10.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTBI__12.pcf.Z: UTBI__12.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTBI__14.pcf.Z: UTBI__14.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTBI__18.pcf.Z: UTBI__18.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTBI__24.pcf.Z: UTBI__24.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTB___10.pcf.Z: UTB___10.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTB___12.pcf.Z: UTB___12.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTB___14.pcf.Z: UTB___14.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTB___18.pcf.Z: UTB___18.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTB___24.pcf.Z: UTB___24.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTI___10.pcf.Z: UTI___10.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTI___12.pcf.Z: UTI___12.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTI___14.pcf.Z: UTI___14.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTI___18.pcf.Z: UTI___18.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTI___24.pcf.Z: UTI___24.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTRG__10.pcf.Z: UTRG__10.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTRG__12.pcf.Z: UTRG__12.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTRG__14.pcf.Z: UTRG__14.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTRG__18.pcf.Z: UTRG__18.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

UTRG__24.pcf.Z: UTRG__24.bdf
	$(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@

install:: $(OBJS)
	@if [ -d $(DESTDIR)$(FONTINSTDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(FONTINSTDIR)); fi
	@case '${MFLAGS}' in *[i]*) set +e;; esac; \
	for i in $(OBJS); do \
	(set -x; $(INSTALL) -c $(INSTDATFLAGS) $$i $(DESTDIR)$(FONTINSTDIR)); \
	done

install:: fonts.dir
	@if [ -d $(DESTDIR)$(FONTINSTDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(FONTINSTDIR)); fi
	$(INSTALL) -c $(INSTDATFLAGS) fonts.dir $(DESTDIR)$(FONTINSTDIR)

install:: fonts.alias
	@if [ -d $(DESTDIR)$(FONTINSTDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(FONTINSTDIR)); fi
	$(INSTALL) -c $(INSTDATFLAGS) fonts.alias $(DESTDIR)$(FONTINSTDIR)

depend::

# -------------------------------------------------------------------------
# common rules for all Makefiles - do not edit

emptyrule::

clean::
	$(RM_CMD) "#"*

Makefile:: $(IMAKE)

$(IMAKE):
	@(cd $(IMAKESRC); if [ -f Makefile ]; then \
	echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) all; else \
	echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \
	$(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"; fi; \
	echo "okay, continuing in $(CURRENT_DIR)")

Makefile::
	-@if [ -f Makefile ]; then set -x; \
	$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
	else exit 0; fi
	$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)

tags::
	$(TAGS) -w *.[ch]
	$(TAGS) -xw *.[ch] > TAGS

# -------------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit

install::
	@echo "install in $(CURRENT_DIR) done"

install.man::
	@echo "install.man in $(CURRENT_DIR) done"

Makefiles::

includes::

# -------------------------------------------------------------------------
# dependencies generated by makedepend

