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

#   $RCSfile: Imake.tmpl,v $ $Revision: 1.4.7.3 $ $Date: 1993/07/22 18:12:30 $

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

# $RCSfile: site.def,v $ $Revision: 1.3.125.2 $ $Date: 1994/08/02 15:53:35 $

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

#   $RCSfile: sun.cf,v $ $Revision: 1.5.113.1 $ $Date: 1994/05/20 13:56:24 $
# platform:  $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $

# operating system:  SunOS 5.4

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

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

# $RCSfile: site.def,v $ $Revision: 1.3.125.2 $ $Date: 1994/08/02 15:53:35 $

            SHELL = /bin/sh

              TOP = .
      CURRENT_DIR = .

               AR = ar cq
  BOOTSTRAPCFLAGS = -DSVR4
               CC = cc
               AS = as

         COMPRESS = compress
              CPP = /usr/ccs/lib/cpp $(STD_CPP_DEFINES)
    PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
          INSTALL = $(BINDIR)/bsdinst
               LD = ld
             LINT = lint
      LINTLIBFLAG = -o
         LINTOPTS = -ax
               LN = ln -s
             MAKE = make
               MV = mv
               CP = cp

               RM = rm -f
            TROFF = psroff
         MSMACROS = -ms
              TBL = tbl
              EQN = eqn
     STD_INCLUDES =
  STD_CPP_DEFINES = -DSVR4 -DSYSV
      STD_DEFINES = -DSVR4 -DSYSV
 EXTRA_LOAD_FLAGS =
  EXTRA_LIBRARIES = -lsocket -lnsl
             TAGS = ctags

    SHAREDCODEDEF =
         SHLIBDEF =

    PROTO_DEFINES = -DFUNCPROTO=15

     INSTPGMFLAGS =

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

      PROJECTROOT = /usr/X11R5

     TOP_INCLUDES = -I$(INCROOT)

      CDEBUGFLAGS = -O
        CCOPTIONS =

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

           LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)

        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR) -R$(USRLIBDIR)$${LD_RUN_PATH+\:$$LD_RUN_PATH}

   LDCOMBINEFLAGS = -r
      DEPENDFLAGS =

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

    IMAKE_DEFINES =

         IRULESRC = $(CONFIGDIR)
        IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(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.138.1.1 92/11/11 09:49:19 rws Exp $

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

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

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

     INSTAPPFLAGS = $(INSTDATFLAGS)

            IMAKE = imake
           DEPEND = makedepend
              RGB = rgb

            FONTC = bdftopcf

        MKFONTDIR = mkfontdir
        MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier

        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
      BDFTOSNFSRC = $(FONTSRC)/bdftosnf
      BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
      BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
     MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
         FSLIBSRC = $(FONTSRC)/lib/fs
    FONTSERVERSRC = $(FONTSRC)/server
     EXTENSIONSRC = $(TOP)/extensions
         XILIBSRC = $(EXTENSIONSRC)/lib/xinput
        PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
      PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX

# $XConsortium: sv4Lib.tmpl,v 1.4.1.1 92/11/11 09:57:17 rws Exp $

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

  DEPEXTENSIONLIB =
     EXTENSIONLIB = -lXext

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

        DEPXMULIB =
       XMULIBONLY = -lXmu

           XMULIB = -lXmu

       DEPOLDXLIB =
          OLDXLIB = -loldX

      DEPXTOOLLIB =
         XTOOLLIB = -lXt

        DEPXAWLIB =
           XAWLIB = -lXaw

        DEPXILIB =
           XILIB = -lXi

        DEPPEXLIB =
         PEXLIB = -lPEX5

        SOXLIBREV = 5.0
          SOXTREV = 5.0
         SOXAWREV = 5.0
        SOOLDXREV = 5.0
         SOXMUREV = 5.0
        SOXEXTREV = 5.0
      SOXINPUTREV = 5.0
         SOPEXREV = 1.0

      DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
         XAUTHLIB =  -lXau
      DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
         XDMCPLIB =  -lXdmcp

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

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

 LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
         LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
          LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
        LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
          LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
           LINTXI = $(LINTLIBDIR)/llib-lXi.ln
          LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
        LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln

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

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

#   $RCSfile: Motif.tmpl,v $ $Revision: 1.5.332.3 $ $Date: 1994/07/06 14:56:17 $

          SOXMREV = 1.2
         SOMRMREV = 1.2
         SOUILREV = 1.2
     SOACOMMONREV = 1.2
      SOSCRIPTREV = 1.2
        SOUTILREV = 1.2
      SOCREATEREV = 1.2
      SOVISUALREV = 1.2
       SOSYNTHREV = 1.2
     SOMCOMMONREV = 1.2

              XTOP = $(TOP)
              MTOP = $(TOP)
     XBUILDINCROOT = $(XTOP)
      XBUILDINCDIR = $(XBUILDINCROOT)/X11

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

         CLIENTSRC = $(XTOP)/clients
           DEMOSRC = $(XTOP)/demos
            LIBSRC = $(XTOP)/lib
           FONTSRC = $(XTOP)/fonts
        INCLUDESRC = $(XTOP)/X11
         SERVERSRC = $(XTOP)/server
           UTILSRC = $(XTOP)/util
        EXAMPLESRC = $(XTOP)/examples
            DOCSRC = $(XTOP)/doc
            RGBSRC = $(XTOP)/rgb
      EXTENSIONSRC = $(XTOP)/extensions

      TOP_INCLUDES = -I$(MINCLUDESRC) -I$(INCROOT)

      UIL_INCLUDES = -I$(UILSRC)

     XPM_DEFINES 	= -DUSE_LOCAL_XPM
     XPM_INCLUDES 	=
     XPM_LIBS		=

      USRINCDIR = /usr/X11R5/include
         UIDDIR = $(LIBDIR)/uid
        TESTSRC = $(MTOP)/tests
        TESTLIB = $(TESTSRC)/lib
  GENERALSRCLIB = $(TESTSRC)/General/lib
  GENERALSRCBIN = $(TESTSRC)/General/bin
   MANUALSRCLIB = $(TESTSRC)/Manual/lib
   MANUALSRCBIN = $(TESTSRC)/Manual/bin
     AUTOSRCLIB = $(TESTSRC)/Auto/lib
     AUTOSRCBIN = $(TESTSRC)/Auto/bin
       COMMONPP = $(GENERALSRCBIN)/Commonpp
         GENRUN = $(GENERALSRCBIN)/Genrun
         MANRUN = $(GENERALSRCBIN)/Manrun

     TESTCOMSRC = $(MANUALSRCLIB)/Common

    MTOOLKITSRC = $(TOOLKITSRC)
    MINCLUDESRC = $(MTOP)/X11
        MLIBSRC = $(MTOP)/lib
     MCLIENTSRC = $(MTOP)/clients
       MDEMOSRC = $(MTOP)/demos
     MWIDGETSRC = $(MLIBSRC)/Xm
   MRESOURCESRC = $(MLIBSRC)/Mrm
         UILSRC = $(MCLIENTSRC)/uil

            UIL = $(UILSRC)/uil
         DEPUIL = $(UILSRC)/uil

   XMEXTRA_LIBS = -lgen

DEPXMLIBONLY =
XMLIBONLY = -L$(MWIDGETSRC) -lXm

   XMLIB = $(XMLIBONLY) $(XPM_LIBS)
   DEPXMLIB = $(DEPXMLIBONLY) $(XPM_LIBS)

DEPMRESOURCELIB =
MRESOURCELIB = -L$(MRESOURCESRC) -lMrm

DEPUILLIB =
UILLIB = -L$(UILSRC) -lUil

DEPTESTCOMLIB =
TESTCOMLIB = -L$(TESTCOMSRC) -lCommon

TESTUILCOMLIB = $(TESTCOMSRC)/libCommonUil.a

  LINTMRESOURCE = $(MRESOURCESRC)/libMrm.a
LINTXMWIDGETLIB = $(MWIDGETSRC)/llib-l/Xm.ln
     LINTXMTOOL = $(MTOOLKITSRC)/llib-lXt.ln
     LINTUILLIB = $(UILSRC)/llib-lUil.ln

      YACCFLAGS =
       UILFLAGS =

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

    STD_DEFINES = -DSVR4 -DSYSV -DNO_REGCOMP -DNO_ALLOCA -DNO_MESSAGE_CATALOG

        DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)

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

.SUFFIXES: .o .c .cc .C .cxx

        CPLUSPLUSCOM = g++

        CPLUSPLUSLINKCOM = $(CPLUSPLUSCOM)

        STD_CPLUSPLUS_INCLUDES = $(STD_INCLUDES)

      ALLCPLUSPLUSINCLUDES = \
	$(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) \
	$(STD_CPLUSPLUS_INCLUDES)

        STD_CPLUSPLUS_DEFINES = $(STD_DEFINES)

       ALLCPLUSPLUSDEFINES = \
	$(ALLCPLUSPLUSINCLUDES) $(STD_CPLUSPLUS_DEFINES) $(EXTRA_DEFINES) \
	$(PROTO_DEFINES) $(DEFINES)
       CPLUSPLUSFLAGS = $(CDEBUGFLAGS) $(ALLCPLUSPLUSDEFINES)

       CPLUSPLUSLIBS =

# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules:  $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $

#   $RCSfile: Motif.rules,v $ $Revision: 1.5.233.3 $ $Date: 1994/07/15 14:36:58 $

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

# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore)
# Copyright(c) 1995-97 Andrew Lister
#
# $Id: Imakefile,v 1.10 1997/05/03 01:16:11 lister Exp $

# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore)
# Copyright(c) 1995-97 Andrew Lister
#
# $Date: 1997/07/10 08:15:47 $
# $Id: Xbae.tmpl,v 1.17 1997/07/10 08:15:47 lister Exp $

# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore)
# Copyright(c) 1995-97 Andrew Lister

# $Date: 1997/05/03 00:48:17 $
# $Id: Xbae.rules,v 1.8 1997/05/03 00:48:17 lister Exp $

# Additional imake rule for building a demo program which does not need
# to be installed.

# UninstalledSimpleProgramTarget - generate rules for compiling and linking
# programs that only have one C source file.  It should only be used in
# Imakefiles that describe a single program.

# Specify which libraries need to be built.  NOTE: If you want to try out
# demo programs, it is recommended that you only mark DoNormalLib as
# yes as the demos may have trouble finding the shared library.

# Some of the examples use Wcl.  If you haven't got Wcl, it doesn't
# change the functionality of the matrix or caption widget.  Just
# some of the examples won't run

# If Xpm is installed, set to this to yes for colour pixmaps in the
# draw example.  It does not affect the widget compilation but without
# it, apps will only be able to display two colour (Black & White) bitmaps

# NOTE: The example program expects the include file to be in ..../X11/xpm.h
# and the library in the default library location.

# Resizing of columns...

# Two choices here:
#	1) Draw the resize column line as a simple line
#	    #define DRAW_RESIZE_LINE
# or
#	2) Draw the resize column as a shadowed line.
#	    #define DRAW_RESIZE_SHADOW

# #2 looks much cooler but is less efficient, just because
# it takes more to draw.  But it looks much much better.

# If the overhead of drawing a column, is a bit much for your X server,
# try defining DRAW_RESIZE_LINE otherwise (as it "looks much cooler", use
# DRAW_RESIZE_SHADOW.  Of course, if you prefer the look of a single line
# define it here too.

# I would imagine that drawing a shadow would be capable in most servers.

COLUMN_RESIZE = DRAW_RESIZE_SHADOW

# Define ALLOW_COLUMN_RESIZE to be 1 if you want to make
# XmNallowColumnResize True by default, otherwise define as 0.

# This resource enables a user to resize the columns using Shift<Btn2down>

# NOTE: The resource can be overridden by the application.

# If you have editres, the demos can be compiled to allow use of it
# If you don't set it to NO

# Set the slowest scrolling speed for when the pointer is moved out of
# clip widget.  Default is 500 milliseconds (+ computation time).  This
# value is halved each time the pointer moves half a row from the clip

# If you want to use two byte characters - eg Kanji you can try defining
# NEED_WCHAR.  The functionality of two byte fonts is still under
# development and probably doesn't work :(

# If your Motif installation needs a hand, enter the paths here
# The ones provided could be used for Solaris 2.4 with CDE

EXTRA_INCLUDES=-I/usr/dt/include
EXTRA_LDOPTIONS=-L/usr/dt/lib

   LOCAL_LDFLAGS = -L../../src $(EXTRA_LDOPTIONS)

 LOCAL_LIBRARIES = -lXbae -lXm -lXpm $(X11R6_LIBS) $(EDITRES_LIBS) -lXt -lX11 $(SVR4_LIBS)

         DEPLIBS =
        INCLUDES = -I../../src

# This is for use on Dec Alphas.  It may or may not work - if you send
# me a Dec Alpha, I'll test it.  But for now, let me know if you need to
# tweak this line on a Dec Alpha

# Everything under here should be fine.

# $XConsortium: Library.tmpl,v 1.12 92/03/20 15:05:19 rws Exp $

         CC = cc
  CCOPTIONS =
STD_DEFINES = -DSVR4 -DSYSV -DNO_REGCOMP -DNO_ALLOCA -DNO_MESSAGE_CATALOG
CDEBUGFLAGS = -O

# -g for debugging, -O for optimisation.  Only uncomment this if you want
# to override the definitions in Library.tmpl.  Not recommended unless
# you know what you're doing!  The second one is for me.

# Version to make the shared library.  Only used if 0 is set to
# 1.  Again, don't change this, unless you know what you are doing.

XbaeSharedLibraryRevision=6.2

XBAEVERSION=4.6

# R4 doesn't know about LOCAL_LDFLAGS.
# R4 uses includes in wrong order.
# We need to fix both of these problems so the includes and lib in this
# source tree get picked up before any that are already installed.

    EDITRES_LIBS = -lXmu -lXext
         DEFINES = -D_NO_PROTO -DUSE_EDITRES -DHAVE_XPM

#saber:
#	       # load $(ALLDEFINES) $(SRCS)
#
#osaber:
#	       # load $(ALLDEFINES) $(OBJS)

             SRCS = Actions.c Caption.c Cell.c Clip.c Converters.c Create.c \
                Draw.c Matrix.c Methods.c Public.c ScrollMgr.c Shadow.c Utils.c
             OBJS = Actions.o Caption.o Cell.o Clip.o Converters.o Create.o \
                Draw.o Matrix.o Methods.o Public.o ScrollMgr.o Shadow.o Utils.o
          HEADERS = Matrix.h MatrixP.h Clip.h ClipP.h Caption.h Cell.h \
                CellP.h CaptionP.h patchlevel.h
          DEFINES = -D$(COLUMN_RESIZE)

         INCLUDES = -I.

        MATRIXMAN = XbaeMatrix
       CAPTIONMAN = XbaeCaption
        MANSUFFIX = 3
           MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)

all::
	$(RM) Xbae
	$(LN) . Xbae

includes::
	$(RM) Xbae
	$(LN) . Xbae

# Rules for building the libraries

all:: libXbae.a

libXbae.a: $(OBJS)
	$(RM) $@
	$(AR) $@ $(OBJS)

all:: libXbae-$(XBAEVERSION).a

libXbae-$(XBAEVERSION).a: libXbae.a
	$(RM) $@
	$(LN) libXbae.a $@

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

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

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

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

# Rules for installing the libraries

install:: libXbae-$(XBAEVERSION).a
	@if [ -d $(DESTDIR)$(USRLIBDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(USRLIBDIR)); fi
	$(INSTALL) -c $(INSTLIBFLAGS) libXbae-$(XBAEVERSION).a $(DESTDIR)$(USRLIBDIR)

install::
	-(cd $(DESTDIR)$(USRLIBDIR); \
	$(RM) libXbae.a; \
	$(LN) libXbae-$(XBAEVERSION).a libXbae.a)

# Rule to install the header files

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

install.man:: $(MATRIXMAN).man
	@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
	$(INSTALL) -c $(INSTMANFLAGS) $(MATRIXMAN).man $(DESTDIR)$(MANDIR)/$(MATRIXMAN).$(MANSUFFIX)

install.man:: $(CAPTIONMAN).man
	@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
	$(INSTALL) -c $(INSTMANFLAGS) $(CAPTIONMAN).man $(DESTDIR)$(MANDIR)/$(CAPTIONMAN).$(MANSUFFIX)

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

install::
	if [ -d $(INCROOT)/Xbae -a ! -h $(INCROOT)/Xbae ]; then \
		$(MV) $(INCROOT)/Xbae $(INCROOT)/Xbae.old; \
	else \
		$(RM) $(INCROOT)/Xbae; \
	fi
	$(LN) $(INCROOT)/Xbae-$(XBAEVERSION) $(INCROOT)/Xbae

clean::
	$(RM) Xbae

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

emptyrule::

clean::
	$(RM_CMD) "#"*

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

saber:
	# load $(ALLDEFINES) $(SRCS)

osaber:
	# load $(ALLDEFINES) $(OBJS)

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

