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

# 8
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.157 92/06/28 17:40:08 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).
#
# 285
# -------------------------------------------------------------------------
# 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 $
# 71

# 359

# 296
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit hp.cf to change

# platform:  $XConsortium: hp.cf,v 1.48 91/12/18 09:43:08 rws Exp $

# operating system:  OSName
# 28
# Where HP's X11R5 header files are - note that they DON'T include Xaw or
# Xaw header files :-( :-(

# Where HP's X11R5 library files are

# Where HP's RGB database lives
# 133

# 151

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

# 411

# 754
            SHELL = /bin/sh

              TOP = ../.
      CURRENT_DIR = ./Widgets

               AR = ar clq
  BOOTSTRAPCFLAGS =
               CC = cc
               AS = as

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

               RM = rm -f
            TROFF = psroff
         MSMACROS = -ms
              TBL = tbl
              EQN = eqn
     STD_INCLUDES = -I/usr/local/X11R5/include
  STD_CPP_DEFINES = -DSYSV -Dhpux
      STD_DEFINES = -DSYSV -Dhpux
 EXTRA_LOAD_FLAGS =
  EXTRA_LDOPTIONS =
  EXTRA_LIBRARIES =
             TAGS = ctags

           MFLAGS = -$(MAKEFLAGS)

    SHAREDCODEDEF =
         SHLIBDEF =
# 873

# 845
    PROTO_DEFINES =

     INSTPGMFLAGS = -s

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

      PROJECTROOT = /usr/local/X11R5

     TOP_INCLUDES = -I$(INCROOT)

      CDEBUGFLAGS = +O3
        CCOPTIONS =
# 943

# 881
      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) $(EXTRA_LDOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)

   LDCOMBINEFLAGS = -r
      DEPENDFLAGS =

        MACROFILE = hp.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)
# 918

# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
# 12

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

          PATHSEP = /
        USRLIBDIR = /usr/lib/X11R5 -L/usr/lib/X11R4
           BINDIR = /usr/remote/bin9/X11
          INCROOT = /usr/include/X11R5
     BUILDINCROOT = $(TOP)
      BUILDINCDIR = $(BUILDINCROOT)/X11
      BUILDINCTOP = ..
           INCDIR = $(INCROOT)/X11
           ADMDIR = /usr/adm
           LIBDIR = /usr/local/lib9/X11
        CONFIGDIR = /usr/local/lib9/imake
       LINTLIBDIR = $(USRLIBDIR)/lint

          FONTDIR = $(LIBDIR)/fonts
         XINITDIR = $(LIBDIR)/xinit
           XDMDIR = $(LIBDIR)/xdm
           TWMDIR = $(LIBDIR)/twm
          MANPATH = /usr/local/man
    MANSOURCEPATH = $(MANPATH)/man
        MANSUFFIX = 1
     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
# 517

# 523
        CONFIGSRC = /usr/local/lib9/imake

       DOCUTILSRC = $(TOP)/doc/util
        CLIENTSRC = $(TOP)/clients
          DEMOSRC = $(TOP)/demos
           LIBSRC = $(TOP)/lib
          FONTSRC = $(TOP)/fonts
       INCLUDESRC = $(TOP)/X11
        SERVERSRC = $(TOP)/server

          UTILSRC = $(CONFIGSRC)

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

# 38

# 23
SHLIBLDFLAGS = -b
PICFLAGS = +z
INSTSHLIBFLAGS = -m 0755
# 63

# 32
SYSX11SRC = $(PROJECTROOT)/lib/$(X11LINKENV)
# 70

# 56
HP_NULL_STR =

     EXTENSIONLIB = -lXext
     DEPEXTENSIONLIB = $(HP_NULL_STR)

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

     XMULIB = -lXmu
     DEPXMULIB = $(HP_NULL_STR)

     OLDXLIB = -loldX
     DEPOLDXLIB = $(HP_NULL_STR)

     XTOOLLIB = -lXt
     DEPXTOOLLIB = $(HP_NULL_STR)

     XAWLIB = -lXaw
     DEPXAWLIB = $(HP_NULL_STR)

     XILIB = -lXi
     DEPXILIB = $(HP_NULL_STR)
# 95

        SOXLIBREV = 5.0
          SOXTREV = 5.0
         SOXAWREV = 5.0
        SOOLDXREV = 5.0
         SOXMUREV = 5.0
        SOXEXTREV = 5.0
      SOXINPUTREV = 5.0
         SOPEXREV = SharedPexRev
# 616

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

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

# 681
          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.129 92/05/29 17:01:19 rws Exp $
# 1542

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

Bindir = ${BINDIR}

Appdir = ${XAPPLOADDIR}

Mandir = ${MANDIR}

AxeLibdir = ${LIBDIR}/axe

InfoBindir = ${Bindir}
InfoAppdir = ${Appdir}
InfoMandir = ${Mandir}
InfoLibdir = ${AxeLibdir}
# 60
CCOPTIONS = -Aa -D_HPUX_SOURCE
# 75
HAVEX11R5PL20 = -DHAVEX11R5PL20
# 96
R5ONLY_SRCS = Viewlist.c
R5ONLY_OBJS = Viewlist.o

TABLE_INCLUDES = -I/usr/local/include/Wcl-2.5
 TABLE_LDFLAGS = -L/usr/local/lib9/X11/Wcl
    TABLE_LIBS = -lXp -lWc
# 110
    EXTN_SRCS = Language.c
    EXTN_OBJS = Language.o
EXTN_INCLUDES = -I/usr/local/include/tcl7
 EXTN_LDFLAGS = -L/usr/local/lib9/tcl7
    EXTN_LIBS = -ltcl -lm
    EXTENSION = -DEXTENSION

    EXTN_DEPS = AxeEditor.o axe.o

XAW3D_INCLUDES = -I./X11/Xaw3d

 XAW3D_LDFLAGS = -L/usr/local/X11R5/lib

    XAW3D_LIBS = -lXaw3d
         XAW3D = -DXAW3D

    XAW3D_DEPS = AxeCommand.o AxeMenuBtn.o AxeSmeBSB.o
# 136
DEFINES = ${EXTENSION} ${XAW3D} ${HAVEX11R5PL20} ${MAXPATHLEN}

# 78

SRCS = ${TABLE_SRCS} ${EXTN_SRCS}         AxeWindow.c AxeEditor.c AxeMenuBtn.c AxeSimMenu.c         AxeSmeBSB.c AxeCommand.c AxeTextDeck.c AxeText.c         AxeiiText.c AxeiiUndo.c AxeiiSink.c         FileNomWin.c FileNom.c ${R5ONLY_SRCS} ${R4ONLY_SRCS} ScrollText.c         NumericPad.c CtrlCodeSel.c Preference.c Confirmer.c         ${SCANDIR_SRCS} regexp.c insertfile.c match.c util.c
# 82

# 12
OBJS = ${TABLE_OBJS} ${EXTN_OBJS}         AxeWindow.o AxeEditor.o AxeMenuBtn.o AxeSimMenu.o         AxeSmeBSB.o AxeTextDeck.o AxeCommand.o AxeText.o         AxeiiText.o AxeiiUndo.o AxeiiSink.o         FileNomWin.o FileNom.o ${R5ONLY_OBJS} ${R4ONLY_OBJS} ScrollText.o         NumericPad.o CtrlCodeSel.o Preference.o Confirmer.o         ${SCANDIR_OBJS} regexp.o insertfile.o match.o util.o
# 90

# 26
EXTRA_INCLUDES = ${TABLE_INCLUDES} -I. -I.. ${EXTN_INCLUDES} ${XAW3D_INCLUDES}

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

all:: libaxe.a

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

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

# 39

Xaw3d::
	$(RM) $(XAW3D_DEPS)
	@if [ -d X11/Xaw3d/X11 ]; then set +x; \
	else (set -x; $(MKDIRHIER) X11/Xaw3d/X11); fi
	@(set -x; cd X11/Xaw3d/X11; for i in Xaw Xaw3d; do \
	$(RM) $$i; \
	ln -s /usr/local/X11R5/include/X11/Xaw3d $$i; \
	done)

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

