# Makefile generated by imake - do not edit!
# $XConsortium: imake.c /main/86 1995/08/01 14:42:23 gildea $

# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.227 95/05/05 17:42:07 kaleb Exp $
#

.SUFFIXES: .i

# $XConsortium: Imake.cf,v 1.19 95/01/05 19:24:32 kaleb Exp $

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

# site:  $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $

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

# platform:  $XConsortium: sgi.cf,v 1.43 94/06/03 21:38:45 matt Exp $

# operating system:				IRIX

        OPTIMIZER = -O2

           MANUSR = /usr/share/local

       CATMAN1DIR = $(MANUSR)/catman/u_man/cat1
       CATMAN3DIR = $(MANUSR)/catman/p_man/cat3
          MAN1DIR = $(MANUSR)/man/u_man/man1
          MAN3DIR = $(MANUSR)/man/p_man/man3

       MANPACKAGE = /X11

# $XConsortium: sgiLib.rules,v 1.8 93/09/11 17:59:30 rws Exp $

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

# site:  $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $

# ---------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules:  $XConsortium: Imake.rules,v 1.201 95/06/05 19:43:41 gildea Exp $

          PATHSEP = /
            SHELL = 	/bin/sh

              TOP = ..
      CURRENT_DIR = lib

            IMAKE = imake
           DEPEND = makedepend
        MKDIRHIER = mkdirhier
        CONFIGSRC = $(TOP)/config
         IMAKESRC = $(CONFIGSRC)/imake
        DEPENDSRC = $(CONFIGSRC)/makedepend
           IXXSRC = $(UNSUPPORTEDSRC)/programs/ixx
              IXX = ixx
         IXXFLAGS = -s BaseObject -m TypeObj -r RequestObj -p Xf
      IXXINCLUDES = -i '<X11/Fresco/enter-scope.h>'

          INCROOT = /usr/include
        USRLIBDIR = /usr/lib
         SHLIBDIR = /usr/lib
        ISALIBDIR = /usr/lib
       LINTLIBDIR = $(USRLIBDIR)/lint
          MANPATH = /usr/share/man
    MANSOURCEPATH = $(MANPATH)/man
           MANDIR = $(CATMAN1DIR)$(MANPACKAGE)
        LIBMANDIR = $(CATMAN3DIR)$(MANPACKAGE)
       FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX)

               AR = $(TOOLROOT)/usr/bin/ar cq
  BOOTSTRAPCFLAGS = $(OPTIMIZER)
               CC = $(TOOLROOT)/usr/bin/cc
               AS = $(TOOLROOT)/usr/bin/as

.SUFFIXES: .cxx

              CXX = CC
    CXXDEBUGFLAGS = $(OPTIMIZER)
 CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
  CXXIDL_INCLUDES = -I$(TOP)/include
   CXXSTD_DEFINES = -DSYSV -DSVR4 -nostdinc -I$(ROOT)/usr/include
       CXXOPTIONS =
      CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES) $(CXXIDL_INCLUDES)
       CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(CXXEXTRA_DEFINES)
         CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)

         COMPRESS = compress
              CPP = /lib/cpp $(STD_CPP_DEFINES)
    PREPROCESSCMD = $(TOOLROOT)/usr/bin/cc -E $(STD_CPP_DEFINES)
          INSTALL = bsdinst
     INSTALLFLAGS = -c
               LD = $(TOOLROOT)/usr/bin/ld
              LEX = lex
           LEXLIB = -ll
             YACC = yacc
           CCYACC = yacc
             LINT = lint
      LINTLIBFLAG = -o
         LINTOPTS = -bh
               LN = ln -s

               MV = mv
               CP = cp

               RM = rm -f
        MANSUFFIX = 1
     LIBMANSUFFIX = 3
    FILEMANSUFFIX = 4
            TROFF = psroff -t
         MSMACROS = -ms
              TBL = tbl
              EQN = eqn

            DVIPS = dvips
            LATEX = latex

     STD_INCLUDES = -nostdinc -I$(ROOT)/usr/include
  STD_CPP_DEFINES = -DSYSV -DSVR4
      STD_DEFINES = -DSYSV -DSVR4
 EXTRA_LOAD_FLAGS =
  EXTRA_LDOPTIONS =
  EXTRA_LIBRARIES =
             TAGS = ctags

    SHAREDCODEDEF =
         SHLIBDEF =

    PROTO_DEFINES = -DFUNCPROTO=7 -DNARROWPROTO

     INSTPGMFLAGS =

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

      CDEBUGFLAGS = $(OPTIMIZER)
        CCOPTIONS = -xansi -32 -mips2  -Wf,-XNh2000

      ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
         LDPRELIB =
        LDPOSTLIB = -nostdlib -L$(ROOT)$(SHLIBDIR)/mips2 -L$(ROOT)$(SHLIBDIR)
        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)  $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
     CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)

           LDLIBS = $(LDPOSTLIB) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)

           CCLINK = $(CC)

          CXXLINK = $(CXX)

     LDSTRIPFLAGS = -x
   LDCOMBINEFLAGS = -r
      DEPENDFLAGS =

        MACROFILE = sgi.cf
           RM_CMD = $(RM)

    IMAKE_DEFINES =

         IRULESRC = $(CONFIGDIR)
        IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)

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

# -----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XConsortium: Project.tmpl,v 1.248 95/01/06 19:12:51 gildea Exp $

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

           BINDIR = /usr/bin/X11
     BUILDINCROOT = $(TOP)
      BUILDINCDIR = $(BUILDINCROOT)/X11
      BUILDINCTOP = ..
      BUILDLIBDIR = $(TOP)/usrlib
      BUILDLIBTOP = ..
           INCDIR = $(INCROOT)/X11
           ADMDIR = /usr/adm
           LIBDIR = $(USRLIBDIR)/X11

          FONTDIR = $(LIBDIR)/fonts
         XINITDIR = $(LIBDIR)/xinit
           XDMDIR = 			/var/X11/xdm
           TWMDIR = $(LIBDIR)/twm
           NLSDIR = $(LIBDIR)/nls
       XLOCALEDIR = $(LIBDIR)/locale
        PEXAPIDIR = $(LIBDIR)/PEX
      XAPPLOADDIR = $(LIBDIR)/app-defaults
       FONTCFLAGS = -t

     INSTAPPFLAGS = $(INSTDATFLAGS)

              RGB = rgb
            FONTC = bdftopcf
        MKFONTDIR = mkfontdir

       DOCUTILSRC = $(TOP)/doc/util
       XDOCMACROS = $(DOCUTILSRC)/macros.t
       XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
       PROGRAMSRC = $(TOP)/programs
           LIBSRC = $(TOP)/lib
          FONTSRC = $(TOP)/fonts
       INCLUDESRC = $(TOP)/X11
        SERVERSRC = $(TOP)/programs/Xserver
       CONTRIBSRC = $(TOP)/../contrib
   UNSUPPORTEDSRC = $(TOP)/unsupported
           DOCSRC = $(TOP)/doc
           RGBSRC = $(TOP)/programs/rgb
      BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
     MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
    FONTSERVERSRC = $(PROGRAMSRC)/xfs
       FONTINCSRC = $(TOP)/include/fonts
        EXTINCSRC = $(TOP)/include/extensions
     TRANSCOMMSRC = $(LIBSRC)/xtrans
   TRANS_INCLUDES = -I$(TRANSCOMMSRC)

# Supporting dynamic shared object libraries for IRIX 5.0

# These defines mimic what is in /usr/include/make/commondefs
# (Should be in sync with Revision 1.99)

       DSOREGFILE = $$ROOT$(SHLIBDIR)/so_locations
      DSOSTARTOPT = -update_registry $(DSOREGFILE)
       DSONAMEOPT = -soname $@
       DSOVERSION = sgi1.0
    DSOVERSIONOPT = -set_version $(DSOVERSION)
        LDDSOOPTS = -32 -mips2 -shared -no_unresolved $(VLDDSOOPTS) \
  $(LLDDSOOPTS) $(GLDDSOOPTS)
       GLDDSOOPTS = -all $(DSOSTARTOPT) $(DSONAMEOPT) $(DSOVERSIONOPT)

          XLIBSRC = $(LIBSRC)/X11

SOXLIBREV = .1
DEPXONLYLIB =  $(ROOT)$(SHLIBDIR)/libX11.so$(SOXLIBREV)
XONLYLIB =  -lX11

LINTXONLY =  $(LINTLIBDIR)/llib-lX11.ln

         XLIBONLY = $(XONLYLIB)

      XEXTLIBSRC = $(LIBSRC)/Xext

SOXEXTREV =
DEPEXTENSIONLIB =  $(ROOT)$(SHLIBDIR)/libXext.so$(SOXEXTREV)
EXTENSIONLIB =  -lXext

LINTEXTENSION =  $(LINTLIBDIR)/llib-lXext.ln

LINTEXTENSIONLIB = $(LINTEXTENSION)
          DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
             XLIB = $(EXTENSIONLIB) $(XONLYLIB)
         LINTXLIB = $(LINTXONLYLIB)

         XAUTHSRC = $(LIBSRC)/Xau

DEPXAUTHLIB =  $(ROOT)$(SHLIBDIR)/libXau.a
XAUTHLIB =  -lXau

LINTXAUTH =  $(LINTLIBDIR)/llib-lXau.ln

      XDMCPLIBSRC = $(LIBSRC)/Xdmcp

DEPXDMCPLIB =  $(ROOT)$(SHLIBDIR)/libXdmcp.a
XDMCPLIB =  -lXdmcp

LINTXDMCP =  $(LINTLIBDIR)/llib-lXdmcp.ln

           XMUSRC = $(LIBSRC)/Xmu

SOXMUREV =
DEPXMULIB =  $(ROOT)$(SHLIBDIR)/libXmu.so$(SOXMUREV)
XMULIB =  -lXmu

LINTXMU =  $(LINTLIBDIR)/llib-lXmu.ln

       OLDXLIBSRC = $(LIBSRC)/oldX

DEPOLDXLIB =  $(ROOT)$(SHLIBDIR)/liboldX.a
OLDXLIB =  -loldX

LINTOLDX =  $(LINTLIBDIR)/llib-loldX.ln

       TOOLKITSRC = $(LIBSRC)/Xt

SOXTREV =
DEPXTOOLONLYLIB =  $(ROOT)$(SHLIBDIR)/libXt.so$(SOXTREV)
XTOOLONLYLIB =  -lXt

LINTXTOOLONLY =  $(LINTLIBDIR)/llib-lXt.ln

      DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
         XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
     LINTXTOOLLIB = $(LINTXTOOLONLYLIB)

       AWIDGETSRC = $(LIBSRC)/Xaw

SOXAWREV = .2
DEPXAWLIB =  $(ROOT)$(SHLIBDIR)/libXaw.so$(SOXAWREV)
XAWLIB =  -lXaw

LINTXAW =  $(LINTLIBDIR)/llib-lXaw.ln

       XTFSRC = $(TOP)/workInProgress/Xtf

SOXTFREV = 0.7
DEPXTFLIB =  $(ROOT)$(SHLIBDIR)/libXtf.so$(SOXTFREV)
XTFLIB =  -lXtf

LINTXTF =  $(LINTLIBDIR)/llib-lXtf.ln

       FRESCOSRC = $(TOP)/workInProgress/Fresco

SOFRESCOREV = 0.7
DEPFRESCOLIB =  $(ROOT)$(SHLIBDIR)/libFresco.so$(SOFRESCOREV)
FRESCOLIB =  -lFresco

LINTFRESCO =  $(LINTLIBDIR)/llib-lFresco.ln

         XILIBSRC = $(LIBSRC)/Xi

SOXINPUTREV =
DEPXILIB =  $(ROOT)$(SHLIBDIR)/libXi.so$(SOXINPUTREV)
XILIB =  -lXi

LINTXI =  $(LINTLIBDIR)/llib-lXi.ln

      XTESTLIBSRC = $(LIBSRC)/Xtst

DEPXTESTLIB =  $(ROOT)$(SHLIBDIR)/libXtst.a
XTESTLIB =  -lXtst

LINTXTEST =  $(LINTLIBDIR)/llib-lXtst.ln

        PEXLIBSRC = $(LIBSRC)/PEX5

DEPPEXLIB =  $(ROOT)$(SHLIBDIR)/libPEX5.a
PEXLIB =  -lPEX5

LINTPEX =  $(LINTLIBDIR)/llib-lPEX5.ln

        XNMBXLIBSRC = $(LIBSRC)/nmbx

SONMBXREV =
DEPXNMBXLIB =  $(ROOT)$(SHLIBDIR)/libXnmbx.so$(SONMBXREV)
XNMBXLIB =  -lXnmbx

LINTXNMBX =  $(LINTLIBDIR)/llib-lXnmbx.ln

        XTRAPLIBSRC = $(LIBSRC)/xtrap

DEPXTRAPLIB =  $(ROOT)$(SHLIBDIR)/libxtrap.a
XTRAPLIB =  -lxtrap

LINTXTRAP =  $(LINTLIBDIR)/llib-lxtrap.ln

        XIELIBSRC = $(LIBSRC)/XIE

DEPXIELIB =  $(ROOT)$(SHLIBDIR)/libXIE.a
XIELIB =  -lXIE

LINTXIE =  $(LINTLIBDIR)/llib-lXIE.ln

      PHIGSLIBSRC = $(LIBSRC)/PHIGS

DEPPHIGSLIB =  $(ROOT)$(SHLIBDIR)/libphigs.a
PHIGSLIB =  -lphigs

LINTPHIGS =  $(LINTLIBDIR)/llib-lphigs.ln

DEPXBSDLIB =  $(ROOT)$(SHLIBDIR)/libXbsd.a
XBSDLIB =  -lXbsd

LINTXBSD =  $(LINTLIBDIR)/llib-lXbsd.ln

           ICESRC = $(LIBSRC)/ICE

SOICEREV =
DEPICELIB =  $(ROOT)$(SHLIBDIR)/libICE.so$(SOICEREV)
ICELIB =  -lICE

LINTICE =  $(LINTLIBDIR)/llib-lICE.ln

            SMSRC = $(LIBSRC)/SM

SOSMREV =
DEPSMLIB =  $(ROOT)$(SHLIBDIR)/libSM.so$(SOSMREV)
SMLIB =  -lSM

LINTSM =  $(LINTLIBDIR)/llib-lSM.ln

         FSLIBSRC = $(LIBSRC)/FS

DEPFSLIB =  $(ROOT)$(SHLIBDIR)/libFS.a
FSLIB =  -lFS

LINTFS =  $(LINTLIBDIR)/llib-lFS.ln

         FONTLIBSRC = $(LIBSRC)/font

DEPFONTLIB =  $(ROOT)$(SHLIBDIR)/libfont.a
FONTLIB =  -lfont

LINTFONT =  $(LINTLIBDIR)/llib-lfont.ln

    XKBFILELIBSRC = $(LIBSRC)/xkbfile

DEPXKBFILELIB =  $(ROOT)$(SHLIBDIR)/libxkbfile.a
XKBFILELIB =  -lxkbfile

LINTXKBFILE =  $(LINTLIBDIR)/llib-lxkbfile.ln

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

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

        CONFIGDIR = $(LIBDIR)/config

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

#
# Copyright (C) 1989-94 GROUPE BULL
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to the
# following conditions:
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN 0 EVENT SHALL GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of GROUPE BULL shall not be
# used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# GROUPE BULL.
#

#
# XPM Imakefile - Arnaud LE HORS
#

# default locations

# SGI requires a specification file for shared library that we don't have

# on Dec Alpha we need to define the following to build the shared library

# if your system doesn't provide strcasecmp add -DNEED_STRCASECMP
# if your system doesn't provide strdup add -DNEED_STRDUP
# if your system doesn't provide pipe remove -DZPIPE

DEFINES = -DZPIPE

#
# Normaly the following part should not need to be edited
#

XPMLIBDIR = $(USRLIBDIR)
XPMINCDIR = $(INCDIR)

# get the version numbers from the xpm include file

SOXPMLIBREV = 4.3

HEADERS = xpm.h
  SRCS = data.c create.c misc.c rgb.c scan.c parse.c hashtab.c \
	 CrBufFrI.c CrDatFrP.c CrPFrBuf.c RdFToI.c WrFFrI.c \
	 CrBufFrP.c CrIFrBuf.c CrPFrDat.c RdFToP.c WrFFrP.c \
	 CrDatFrI.c CrIFrDat.c RdFToDat.c WrFFrDat.c \
	 Attrib.c CrIFrP.c CrPFrI.c Image.c Info.c RdFToBuf.c WrFFrBuf.c

  OBJS = data.o create.o misc.o rgb.o scan.o parse.o hashtab.o \
	 CrBufFrI.o CrDatFrP.o CrPFrBuf.o RdFToI.o WrFFrI.o \
	 CrBufFrP.o CrIFrBuf.o CrPFrDat.o RdFToP.o WrFFrP.o \
	 CrDatFrI.o CrIFrDat.o RdFToDat.o WrFFrDat.o \
	 Attrib.o CrIFrP.o CrPFrI.o Image.o Info.o RdFToBuf.o WrFFrBuf.o

       INCLUDES = -I.
   INSTALLFLAGS = $(INSTINCFLAGS)
       LINTLIBS = $(LINTXTOLL) $(LINTXLIB)

OS_NAME_DEFINES =

# $XConsortium: Library.tmpl,v 1.34 95/06/16 17:44:51 gildea Exp $

         CC = $(TOOLROOT)/usr/bin/cc
  CCOPTIONS = -xansi -32 -mips2  -Wf,-XNh2000
STD_DEFINES = -DSYSV -DSVR4
CDEBUGFLAGS = $(OPTIMIZER)

LIBNAME = Xpm

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

includes::
	 $(_NULLCMD_)
	 $(_NULLCMD_)
	 $(_NULLCMD_)

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

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

all:: lib$(LIBNAME).so$(SOXPMLIBREV)

lib$(LIBNAME).so$(SOXPMLIBREV): lib$(LIBNAME).a $(REQUIREDLIBS)
	$(RM) $@ \
	&& $(LD) $(LDDSOOPTS) lib$(LIBNAME).a -o $@ -nostdlib \
		 $(OTHERLIBS) $(REQUIREDLIBS)
	  $(_NULLCMD_)
	 $(NOOP)

clean::
	$(RM) lib$(LIBNAME).so$(SOXPMLIBREV)

install:: lib$(LIBNAME).so$(SOXPMLIBREV)
	 -@if [ -d $(DESTDIR)$(SHLIBDIR) ]; then set +x; \
		else (set -x; $(MKDIRHIER) $(DESTDIR)$(SHLIBDIR)); fi
	$(INSTALL) -c $(INSTLIBFLAGS) lib$(LIBNAME).so$(SOXPMLIBREV) \
		$(DESTDIR)$(SHLIBDIR);

all:: lib$(LIBNAME).a

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

install:: lib$(LIBNAME).a
	 -@if [ -d $(DESTDIR)$(SHLIBDIR) ]; then set +x; \
		else (set -x; $(MKDIRHIER) $(DESTDIR)$(SHLIBDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) lib$(LIBNAME).a $(DESTDIR)$(SHLIBDIR)
	 $(_NULLCMD_)

lintlib:: llib-l$(LIBNAME).ln

llib-l$(LIBNAME).ln: $(SRCS)
	 $(RM) $@
	$(LINT) $(LINTLIBFLAG)$(LIBNAME) $(LINTFLAGS) $(SRCS)

install.ln:: llib-l$(LIBNAME).ln
	 -@if [ -d $(DESTDIR)$(LINTLIBDIR) ]; then set +x; \
		else (set -x; $(MKDIRHIER) $(DESTDIR)$(LINTLIBDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) llib-l$(LIBNAME).ln $(DESTDIR)$(LINTLIBDIR)/llib-l$(LIBNAME).ln

includes::
	 -@if [ -d $(BUILDINCDIR) ]; then set +x; \
		else (set -x; $(MKDIRHIER) $(BUILDINCDIR)); fi
	@(set -x; cd $(BUILDINCDIR); for i in $(HEADERS); do \
		 $(RM) $$i; \
		$(LN) $(BUILDINCTOP)/$(CURRENT_DIR)/$$i .; \
	done)

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

lint:
	$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
	$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)

lintlib:: llib-lXpm.ln

llib-lXpm.ln: $(SRCS)
	 $(RM) $@
	$(LINT) $(LINTLIBFLAG)Xpm $(LINTFLAGS) $(SRCS)

install.ln:: llib-lXpm.ln
	 -@if [ -d $(DESTDIR)$(LINTLIBDIR) ]; then set +x; \
		else (set -x; $(MKDIRHIER) $(DESTDIR)$(LINTLIBDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) llib-lXpm.ln $(DESTDIR)$(LINTLIBDIR)/llib-lXpm.ln

depend::
	 $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)

lint:
	$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
	$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)

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

.c.i:
	  $(RM) $@
	$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@

emptyrule::

clean::
	$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut   "#"*

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

man_keywords::

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

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

Makefiles::

includes::

depend::

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

# DO NOT DELETE

data.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
data.o: /usr/include/standards.h /usr/include/sgidefs.h /usr/include/X11/X.h
data.o: /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h
data.o: /usr/include/stddef.h /usr/include/X11/Xutil.h /usr/include/stdio.h
data.o: /usr/include/string.h /usr/include/ctype.h
create.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
create.o: /usr/include/standards.h /usr/include/sgidefs.h
create.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
create.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
create.o: /usr/include/X11/Xutil.h /usr/include/stdio.h /usr/include/string.h
create.o: /usr/include/ctype.h
misc.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
misc.o: /usr/include/standards.h /usr/include/sgidefs.h /usr/include/X11/X.h
misc.o: /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h
misc.o: /usr/include/stddef.h /usr/include/X11/Xutil.h /usr/include/stdio.h
misc.o: /usr/include/string.h
rgb.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
rgb.o: /usr/include/standards.h /usr/include/sgidefs.h /usr/include/X11/X.h
rgb.o: /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h
rgb.o: /usr/include/stddef.h /usr/include/X11/Xutil.h /usr/include/stdio.h
rgb.o: /usr/include/string.h /usr/include/ctype.h
scan.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
scan.o: /usr/include/standards.h /usr/include/sgidefs.h /usr/include/X11/X.h
scan.o: /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h
scan.o: /usr/include/stddef.h /usr/include/X11/Xutil.h /usr/include/stdio.h
scan.o: /usr/include/string.h
parse.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
parse.o: /usr/include/standards.h /usr/include/sgidefs.h /usr/include/X11/X.h
parse.o: /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h
parse.o: /usr/include/stddef.h /usr/include/X11/Xutil.h /usr/include/stdio.h
parse.o: /usr/include/string.h /usr/include/ctype.h
hashtab.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
hashtab.o: /usr/include/standards.h /usr/include/sgidefs.h
hashtab.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
hashtab.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
hashtab.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
hashtab.o: /usr/include/string.h
CrBufFrI.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrBufFrI.o: /usr/include/standards.h /usr/include/sgidefs.h
CrBufFrI.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrBufFrI.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrBufFrI.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
CrBufFrI.o: /usr/include/string.h
CrDatFrP.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrDatFrP.o: /usr/include/standards.h /usr/include/sgidefs.h
CrDatFrP.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrDatFrP.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrDatFrP.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
CrDatFrP.o: /usr/include/string.h
CrPFrBuf.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrPFrBuf.o: /usr/include/standards.h /usr/include/sgidefs.h
CrPFrBuf.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrPFrBuf.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrPFrBuf.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
CrPFrBuf.o: /usr/include/string.h
RdFToI.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
RdFToI.o: /usr/include/standards.h /usr/include/sgidefs.h
RdFToI.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
RdFToI.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
RdFToI.o: /usr/include/X11/Xutil.h /usr/include/stdio.h /usr/include/string.h
RdFToI.o: /usr/include/sys/stat.h
WrFFrI.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
WrFFrI.o: /usr/include/standards.h /usr/include/sgidefs.h
WrFFrI.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
WrFFrI.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
WrFFrI.o: /usr/include/X11/Xutil.h /usr/include/stdio.h /usr/include/string.h
CrBufFrP.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrBufFrP.o: /usr/include/standards.h /usr/include/sgidefs.h
CrBufFrP.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrBufFrP.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrBufFrP.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
CrBufFrP.o: /usr/include/string.h
CrIFrBuf.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrIFrBuf.o: /usr/include/standards.h /usr/include/sgidefs.h
CrIFrBuf.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrIFrBuf.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrIFrBuf.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
CrIFrBuf.o: /usr/include/string.h
CrPFrDat.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrPFrDat.o: /usr/include/standards.h /usr/include/sgidefs.h
CrPFrDat.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrPFrDat.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrPFrDat.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
CrPFrDat.o: /usr/include/string.h
RdFToP.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
RdFToP.o: /usr/include/standards.h /usr/include/sgidefs.h
RdFToP.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
RdFToP.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
RdFToP.o: /usr/include/X11/Xutil.h /usr/include/stdio.h /usr/include/string.h
WrFFrP.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
WrFFrP.o: /usr/include/standards.h /usr/include/sgidefs.h
WrFFrP.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
WrFFrP.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
WrFFrP.o: /usr/include/X11/Xutil.h /usr/include/stdio.h /usr/include/string.h
CrDatFrI.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrDatFrI.o: /usr/include/standards.h /usr/include/sgidefs.h
CrDatFrI.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrDatFrI.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrDatFrI.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
CrDatFrI.o: /usr/include/string.h
CrIFrDat.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrIFrDat.o: /usr/include/standards.h /usr/include/sgidefs.h
CrIFrDat.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrIFrDat.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrIFrDat.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
CrIFrDat.o: /usr/include/string.h
RdFToDat.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
RdFToDat.o: /usr/include/standards.h /usr/include/sgidefs.h
RdFToDat.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
RdFToDat.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
RdFToDat.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
RdFToDat.o: /usr/include/string.h
WrFFrDat.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
WrFFrDat.o: /usr/include/standards.h /usr/include/sgidefs.h
WrFFrDat.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
WrFFrDat.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
WrFFrDat.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
WrFFrDat.o: /usr/include/string.h
Attrib.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
Attrib.o: /usr/include/standards.h /usr/include/sgidefs.h
Attrib.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
Attrib.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
Attrib.o: /usr/include/X11/Xutil.h /usr/include/stdio.h /usr/include/string.h
CrIFrP.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrIFrP.o: /usr/include/standards.h /usr/include/sgidefs.h
CrIFrP.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrIFrP.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrIFrP.o: /usr/include/X11/Xutil.h /usr/include/stdio.h /usr/include/string.h
CrPFrI.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
CrPFrI.o: /usr/include/standards.h /usr/include/sgidefs.h
CrPFrI.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
CrPFrI.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
CrPFrI.o: /usr/include/X11/Xutil.h /usr/include/stdio.h /usr/include/string.h
Image.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
Image.o: /usr/include/standards.h /usr/include/sgidefs.h /usr/include/X11/X.h
Image.o: /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h
Image.o: /usr/include/stddef.h /usr/include/X11/Xutil.h /usr/include/stdio.h
Image.o: /usr/include/string.h
Info.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
Info.o: /usr/include/standards.h /usr/include/sgidefs.h /usr/include/X11/X.h
Info.o: /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h
Info.o: /usr/include/stddef.h /usr/include/X11/Xutil.h /usr/include/stdio.h
Info.o: /usr/include/string.h
RdFToBuf.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
RdFToBuf.o: /usr/include/standards.h /usr/include/sgidefs.h
RdFToBuf.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
RdFToBuf.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
RdFToBuf.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
RdFToBuf.o: /usr/include/string.h /usr/include/sys/stat.h
RdFToBuf.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h
WrFFrBuf.o: xpmP.h xpm.h /usr/include/X11/Xlib.h /usr/include/sys/types.h
WrFFrBuf.o: /usr/include/standards.h /usr/include/sgidefs.h
WrFFrBuf.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
WrFFrBuf.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
WrFFrBuf.o: /usr/include/X11/Xutil.h /usr/include/stdio.h
WrFFrBuf.o: /usr/include/string.h
