#	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 </tmp/IIf.a003U1>
# $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

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

#
# THIS FILE IS SPECIFIC to USL's Intel ix86 ports ONLY
# THIS FILE IS SPECIFIC to USL's Intel ix86 ports ONLY
# THIS FILE IS SPECIFIC to USL's Intel ix86 ports ONLY
# THIS FILE IS SPECIFIC to USL's Intel ix86 ports ONLY
#

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)

# 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)

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

#
# 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
           XOLSRC = $(LIBSRC)/Xol
        XOLLIBSRC = $(LIBSRC)/Xol
       DISPLIBDIR = $(USRLIBDIR)/display
       FONTINCSRC = $(FONTSRC)/include
    FONTLIBINCSRC = $(FONTSRC)/lib/include
      FOLIOLIBSRC = $(FONTSRC)/lib/folio
       FONTLIBSRC = $(FONTSRC)/lib/font
    BITMAPFONTSRC = $(FONTSRC)/lib/bitmap
        MSGCATDIR = $(ROOT)/$(MACH)/usr/lib/locale/C/MSGFILES
     RENDERERLIBS =

       DISPLIBREV = 2

#
# By default, DefaultRGBDatabase is defined to be $(LIBDIR)/rgb; this
# causes problem, if you are building the source in a cross-env; the
# cross env path is compiled in and when you try to run the server, it
# will complain that ../X/lib/rgb not found. XWINHOME doesn't get all the
# relative paths of the cross-env
#

FONTLIB = $(FONTLIBSRC)/libfont.so $(RENDERERLIBS)
SPEEDOLIB = $(FONTLIBSRC)/Speedo/libSpeedo.so
ATMLIB = $(FONTLIBSRC)/ATM/libatm.so
TYPE1LIB = $(FONTLIBSRC)/Type1/libType1.so

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

        DEFINES = $(USL_DEFINES)

            SHELL = /bin/sh

              TOP = ../../.
      CURRENT_DIR = ./netware/libdlist

               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 = -DSVR4 -DSYSV386 -DI18N $(MEMUTILDEF)
      STD_DEFINES = -DSVR4 -DSYSV386 -DI18N $(MEMUTILDEF)
 EXTRA_LOAD_FLAGS =
  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 -Kno_lu -Ki486
        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.
#

    SODTWIDGETREV = 1
         SOXOLREV = 1
        SOOLITREV = 1
       SOOLITMREV = 1
       SOOLITOREV = 1
          SODTREV = 1
     SOFONTLIBREV = 1
       SOGIZMOREV = 1
         SODTIREV = 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

      DEPDTWIDGETLIB =
         DTWIDDGETLIB = -L$(TOOLKITSRC) -lDtWidget

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

      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

#ident	"@(#)Imakefile	6.1 "
#ident  "$Header: /SRCS/esmp/usr/src/nw/X11R5/netware/libdlist/Imakefile,v 1.2 1994/02/07 20:39:38 plc Exp $"

#	Copyright (c) 1990, 1991, 1992 UNIX System Laboratories, Inc.
#	Copyright (c) 1988, 1989, 1990 AT&T
#	  All Rights Reserved

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

# $XConsortium: Library.tmpl,v 1.11 91/07/27 13:10:13 rws Exp $

         CC = $(PFX)cc
  CCOPTIONS = -Xa -W2,-A -Kno_lu -Ki486
STD_DEFINES = -DSVR4 -DSYSV386 -DI18N $(MEMUTILDEF)
CDEBUGFLAGS = -O

# $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.
#

    SODTWIDGETREV = 1
         SOXOLREV = 1
        SOOLITREV = 1
       SOOLITMREV = 1
       SOOLITOREV = 1
          SODTREV = 1
     SOFONTLIBREV = 1
       SOGIZMOREV = 1
         SODTIREV = 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

      DEPDTWIDGETLIB =
         DTWIDDGETLIB = -L$(TOOLKITSRC) -lDtWidget

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
#

   DTCLIENTSLIB = $(USLCLIENTSRC)/libDtI
       DTLIBSRC = $(LIBSRC)/Dt
      DTILIBSRC = $(DTCLIENTSLIB)
         DTILIB = $(DTILIBSRC)/libDtI.so
          DTLIB = $(DTLIBSRC)/libDt.so

       INCLUDES = -I../../../cmd/cmd-nw/include -I. -I.. -I$(LIBSRC) -I$(LIBSRC)/Xol -I$(DTILIBSRC) -I$(USLCLIENTSRC)
LOCAL_LIBRARIES = $(DTILIB) $(DTLIB) $(XOLLIB) $(XTOOLLIB) $(XMULIB) $(XLIB) -lw
        DEPLIBS = $(DTILIB) $(DTLIB) $(DEPXOLLIB) $(DEPXTOOLLIB) $(DEPXMULIB) $(DEPXLIB)
  SYS_LIBRARIES = -lgen -lm
               LIBNAME = dlist
               LIB = lib$(LIBNAME).a
              SPEC = libdlist

          SRCS = \
		dl_errormsg.c \
		dl_genrand.c \
		dl_getstr.c \
		dl_i18n.c \
		dl_initicon.c \
		dl_issap.c \
		dl_sap.c \
		dl_xhost.c
          OBJS = \
		dl_errormsg.o \
		dl_genrand.o \
		dl_getstr.o \
		dl_i18n.o \
		dl_initicon.o \
		dl_issap.o \
		dl_sap.o \
		dl_xhost.o
          HEADERS = \
		dl_common.h \
		dl_fsdef.h \
		dl_proto.h

all::
	$(_NULLCMD_)
	$(_NULLCMD_)
	$(_NULLCMD_)

.c.o:
	$(_NULLCMD_)
	$(_NULLCMD_)
	$(_NULLCMD_)
	$(RM) $@
	$(CC) -c $(CFLAGS) $(_NOOP_) $*.c

clean::
	$(_NULLCMD_)
	$(_NULLCMD_)
	$(_NULLCMD_)

all:: lib$(LIBNAME).a

lib$(LIBNAME).a: $(OBJS)
	$(RM) $@
	$(AR) $@ $(OBJS)

depend:: $(DEPEND)

$(DEPEND):
	@echo "checking $@ over in $(DEPENDSRC) first..."; \
	cd $(DEPENDSRC); $(MAKE); \
	echo "okay, continuing in $(CURRENT_DIR)"

depend::
	$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)

# -------------------------------------------------------------------------
# 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

