
#
# This makefile is automatically generated by imake... do not modify
# or you may lose your changes when imake generates makefiles again.
# Ignore this message if you are not using imake.
#

            TOP = ./../../..
             AS = as
             CC = cc
            CPP = /lib/cpp
             LD = ld
           LINT = lint
           MAKE = make
    CDEBUGFLAGS = -O
        DESTDIR =

        INSTALL = install
           TAGS = ctags
         DEPEND = $(DEPENDSRC)/makedepend
          IMAKE = $(IMAKESRC)/imake
            RGB = $(RGBSRC)/rgb
         CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES)
        LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES)
   INSTLIBFLAGS = -c -m 0664
      USRLIBDIR = $(DESTDIR)/usr/lib
         BINDIR = $(DESTDIR)/usr/bin/X11
         LIBDIR = $(DESTDIR)/usr/lib/X11
         INCDIR = $(DESTDIR)/usr/include/X11
   FUTUREINCDIR = $(DESTDIR)/usr/include/X
        FONTDIR = $(DESTDIR)$(LIBDIR)/fonts
         MANDIR = $(DESTDIR)/usr/man/mann
      CLIENTSRC = $(TOP)/clients
        DEMOSRC = $(TOP)/demos
         LIBSRC = $(TOP)/lib
        FONTSRC = $(TOP)/fonts
     INCLUDESRC = $(TOP)/include
      SERVERSRC = $(TOP)/server
        UTILSRC = $(TOP)/util
        HACKSRC = $(TOP)/hacks
         DOCSRC = $(TOP)/doc
      DEPENDSRC = $(UTILSRC)/makedepend
       IMAKESRC = $(UTILSRC)/imake
         RGBSRC = $(UTILSRC)/rgb
        XLIBSRC = $(LIBSRC)/X
         XRMSRC = $(LIBSRC)/Xrm
     TOOLKITSRC = $(LIBSRC)/Xtk
     OLDXLIBSRC = $(LIBSRC)/oldX
    OLDXMENUSRC = $(LIBSRC)/oldXMenu
      OLDXRMSRC = $(LIBSRC)/oldXrm
  OLDTOOLKITSRC = $(LIBSRC)/oldXtk
   EXTENSIONSRC = $(TOP)/extensions
        XMANSRC = $(DOCSRC)/Xlib/Xman
   EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
           XLIB = $(XLIBSRC)/libX.a
        OLDXLIB = $(OLDXLIBSRC)/liboldX.a
       XTOOLLIB = $(TOOLKITSRC)/libXtk.a
    OLDXTOOLLIB = $(OLDTOOLKITSRC)/liboldXtk.a
    OLDXMENULIB = $(OLDXMENUSRC)/libXMenu.a
         XRMLIB = $(XRMSRC)/libXrm.a
      OLDXRMLIB = $(OLDXRMSRC)/liboldXrm.a
       INCLUDES = -I$(TOP)
      MACROFILE = Vax.macros
      IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl \
			-I$(NEWTOP)$(UTILSRC)/imake.includes \
			-s Makefile
         RM_CMD = rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
			tags TAGS make.log

# Makefile for the Xlib manpages.

TROFF= psroff
PRINTER= lpr

INSTALLFLAGS = -c -m 0644
    MANPAGES =  	 \
	XAddHost.3X 	 \
	XAllColor.3X 	 \
	XAllEvents.3X 	 \
	XCKControl.3X 	 \
	XCKMapping.3X 	 \
	XCPControl.3X 	 \
	XCSSet.3X 	 \
	XCWAttrib.3X 	 \
	XClearArea.3X 	 \
	XConfigWin.3X 	 \
	XConvert.3X 	 \
	XCopyArea.3X 	 \
	XCreCmap.3X 	 \
	XCreFCur.3X 	 \
	XCreGC.3X 	 \
	XCreImage.3X 	 \
	XCrePmap.3X 	 \
	XCreReg.3X 	 \
	XCreWin.3X 	 \
	XDefCur.3X 	 \
	XDesWin.3X 	 \
	XDrArc.3X 	 \
	XDrIString.3X 	 \
	XDrLine.3X 	 \
	XDrPoint.3X 	 \
	XDrRect.3X 	 \
	XDrString.3X 	 \
	XDrText.3X 	 \
	XERegion.3X 	 \
	XFillRect.3X 	 \
	XFlush.3X 	 \
	XFree.3X 	 \
	XGetDBase.3X 	 \
	XGetDef.3X 	 \
	XGetSList.3X 	 \
	XGetVInfo.3X 	 \
	XGetWAttr.3X 	 \
	XGetWProp.3X 	 \
	XGrButton.3X 	 \
	XGrKey.3X 	 \
	XGrKeybrd.3X 	 \
	XGrPntr.3X 	 \
	XGrServer.3X 	 \
	XIfEvent.3X 	 \
	XInstCmap.3X 	 \
	XInterReg.3X 	 \
	XInternA.3X 	 \
	XListFont.3X 	 \
	XLoadFont.3X 	 \
	XLookKsym.3X 	 \
	XMapWin.3X 	 \
	XOpDsply.3X 	 \
	XParGeom.3X 	 \
	XPolyReg.3X 	 \
	XPutBEvnt.3X 	 \
	XPutImage.3X 	 \
	XPutRes.3X 	 \
	XQBSize.3X 	 \
	XQColor.3X 	 \
	XQPointer.3X 	 \
	XQTree.3X 	 \
	XRaiseWin.3X 	 \
	XReadBF.3X 	 \
	XRecCur.3X 	 \
	XReparWin.3X 	 \
	XSContext.3X 	 \
	XSInput.3X 	 \
	XSeArcMod.3X 	 \
	XSeClassHs.3X 	 \
	XSeClipO.3X 	 \
	XSeClosDM.3X 	 \
	XSeCommnd.3X 	 \
	XSeErrHan.3X 	 \
	XSeFillS.3X 	 \
	XSeFont.3X 	 \
	XSeFontP.3X 	 \
	XSeIcName.3X 	 \
	XSeIconSHs.3X 	 \
	XSeInFocus.3X 	 \
	XSeLAttr.3X 	 \
	XSeNormHs.3X 	 \
	XSePMap.3X 	 \
	XSeScSav.3X 	 \
	XSeSelOwn.3X 	 \
	XSeSizeHs.3X 	 \
	XSeStandC.3X 	 \
	XSeStandP.3X 	 \
	XSeState.3X 	 \
	XSeTile.3X 	 \
	XSeTransHs.3X 	 \
	XSeWMHs.3X 	 \
	XSeZoomHs.3X 	 \
	XStBytes.3X 	 \
	XStColors.3X 	 \
	XStName.3X 	 \
	XStTKeysym.3X 	 \
	XSync.3X 	 \
	XTextExt.3X 	 \
	XTextWid.3X 	 \
	XTranWCo.3X 	 \
	XUnmapWin.3X 	 \
	XWarpPntr.3X 	 \
	XWinEvent.3X
   TROFFSRCS = macros.t  	 \
	XAddHost 	 \
	XAllColor 	 \
	XAllEvents 	 \
	XCKControl 	 \
	XCKMapping 	 \
	XCPControl 	 \
	XCSSet 	 \
	XCWAttrib 	 \
	XClearArea 	 \
	XConfigWin 	 \
	XConvert 	 \
	XCopyArea 	 \
	XCreCmap 	 \
	XCreFCur 	 \
	XCreGC 	 \
	XCreImage 	 \
	XCrePmap 	 \
	XCreReg 	 \
	XCreWin 	 \
	XDefCur 	 \
	XDesWin 	 \
	XDrArc 	 \
	XDrIString 	 \
	XDrLine 	 \
	XDrPoint 	 \
	XDrRect 	 \
	XDrString 	 \
	XDrText 	 \
	XERegion 	 \
	XFillRect 	 \
	XFlush 	 \
	XFree 	 \
	XGetDBase 	 \
	XGetDef 	 \
	XGetSList 	 \
	XGetVInfo 	 \
	XGetWAttr 	 \
	XGetWProp 	 \
	XGrButton 	 \
	XGrKey 	 \
	XGrKeybrd 	 \
	XGrPntr 	 \
	XGrServer 	 \
	XIfEvent 	 \
	XInstCmap 	 \
	XInterReg 	 \
	XInternA 	 \
	XListFont 	 \
	XLoadFont 	 \
	XLookKsym 	 \
	XMapWin 	 \
	XOpDsply 	 \
	XParGeom 	 \
	XPolyReg 	 \
	XPutBEvnt 	 \
	XPutImage 	 \
	XPutRes 	 \
	XQBSize 	 \
	XQColor 	 \
	XQPointer 	 \
	XQTree 	 \
	XRaiseWin 	 \
	XReadBF 	 \
	XRecCur 	 \
	XReparWin 	 \
	XSContext 	 \
	XSInput 	 \
	XSeArcMod 	 \
	XSeClassHs 	 \
	XSeClipO 	 \
	XSeClosDM 	 \
	XSeCommnd 	 \
	XSeErrHan 	 \
	XSeFillS 	 \
	XSeFont 	 \
	XSeFontP 	 \
	XSeIcName 	 \
	XSeIconSHs 	 \
	XSeInFocus 	 \
	XSeLAttr 	 \
	XSeNormHs 	 \
	XSePMap 	 \
	XSeScSav 	 \
	XSeSelOwn 	 \
	XSeSizeHs 	 \
	XSeStandC 	 \
	XSeStandP 	 \
	XSeState 	 \
	XSeTile 	 \
	XSeTransHs 	 \
	XSeWMHs 	 \
	XSeZoomHs 	 \
	XStBytes 	 \
	XStColors 	 \
	XStName 	 \
	XStTKeysym 	 \
	XSync 	 \
	XTextExt 	 \
	XTextWid 	 \
	XTranWCo 	 \
	XUnmapWin 	 \
	XWarpPntr 	 \
	XWinEvent

all: man.ps $(MANPAGES)
man.ps:	macros.t $(TROFFSRCS)
	$(TROFF) -t -man $(TROFFSRCS) > $@.tmp
	mv $@.tmp $@

clean::
	rm -f $(MANPAGES)

XAddHost.3X: XAddHost
	(cat macros.t; soelim $?) > $@
XAllColor.3X: XAllColor
	(cat macros.t; soelim $?) > $@
XAllEvents.3X: XAllEvents
	(cat macros.t; soelim $?) > $@
XCKControl.3X: XCKControl
	(cat macros.t; soelim $?) > $@
XCKMapping.3X: XCKMapping
	(cat macros.t; soelim $?) > $@
XCPControl.3X: XCPControl
	(cat macros.t; soelim $?) > $@
XCSSet.3X: XCSSet
	(cat macros.t; soelim $?) > $@
XCWAttrib.3X: XCWAttrib
	(cat macros.t; soelim $?) > $@
XClearArea.3X: XClearArea
	(cat macros.t; soelim $?) > $@
XConfigWin.3X: XConfigWin
	(cat macros.t; soelim $?) > $@
XConvert.3X: XConvert
	(cat macros.t; soelim $?) > $@
XCopyArea.3X: XCopyArea
	(cat macros.t; soelim $?) > $@
XCreCmap.3X: XCreCmap
	(cat macros.t; soelim $?) > $@
XCreFCur.3X: XCreFCur
	(cat macros.t; soelim $?) > $@
XCreGC.3X: XCreGC
	(cat macros.t; soelim $?) > $@
XCreImage.3X: XCreImage
	(cat macros.t; soelim $?) > $@
XCrePmap.3X: XCrePmap
	(cat macros.t; soelim $?) > $@
XCreReg.3X: XCreReg
	(cat macros.t; soelim $?) > $@
XCreWin.3X: XCreWin
	(cat macros.t; soelim $?) > $@
XDefCur.3X: XDefCur
	(cat macros.t; soelim $?) > $@
XDesWin.3X: XDesWin
	(cat macros.t; soelim $?) > $@
XDrArc.3X: XDrArc
	(cat macros.t; soelim $?) > $@
XDrIString.3X: XDrIString
	(cat macros.t; soelim $?) > $@
XDrLine.3X: XDrLine
	(cat macros.t; soelim $?) > $@
XDrPoint.3X: XDrPoint
	(cat macros.t; soelim $?) > $@
XDrRect.3X: XDrRect
	(cat macros.t; soelim $?) > $@
XDrString.3X: XDrString
	(cat macros.t; soelim $?) > $@
XDrText.3X: XDrText
	(cat macros.t; soelim $?) > $@
XERegion.3X: XERegion
	(cat macros.t; soelim $?) > $@
XFillRect.3X: XFillRect
	(cat macros.t; soelim $?) > $@
XFlush.3X: XFlush
	(cat macros.t; soelim $?) > $@
XFree.3X: XFree
	(cat macros.t; soelim $?) > $@
XGetDBase.3X: XGetDBase
	(cat macros.t; soelim $?) > $@
XGetDef.3X: XGetDef
	(cat macros.t; soelim $?) > $@
XGetSList.3X: XGetSList
	(cat macros.t; soelim $?) > $@
XGetVInfo.3X: XGetVInfo
	(cat macros.t; soelim $?) > $@
XGetWAttr.3X: XGetWAttr
	(cat macros.t; soelim $?) > $@
XGetWProp.3X: XGetWProp
	(cat macros.t; soelim $?) > $@
XGrButton.3X: XGrButton
	(cat macros.t; soelim $?) > $@
XGrKey.3X: XGrKey
	(cat macros.t; soelim $?) > $@
XGrKeybrd.3X: XGrKeybrd
	(cat macros.t; soelim $?) > $@
XGrPntr.3X: XGrPntr
	(cat macros.t; soelim $?) > $@
XGrServer.3X: XGrServer
	(cat macros.t; soelim $?) > $@
XIfEvent.3X: XIfEvent
	(cat macros.t; soelim $?) > $@
XInstCmap.3X: XInstCmap
	(cat macros.t; soelim $?) > $@
XInterReg.3X: XInterReg
	(cat macros.t; soelim $?) > $@
XInternA.3X: XInternA
	(cat macros.t; soelim $?) > $@
XListFont.3X: XListFont
	(cat macros.t; soelim $?) > $@
XLoadFont.3X: XLoadFont
	(cat macros.t; soelim $?) > $@
XLookKsym.3X: XLookKsym
	(cat macros.t; soelim $?) > $@
XMapWin.3X: XMapWin
	(cat macros.t; soelim $?) > $@
XOpDsply.3X: XOpDsply
	(cat macros.t; soelim $?) > $@
XParGeom.3X: XParGeom
	(cat macros.t; soelim $?) > $@
XPolyReg.3X: XPolyReg
	(cat macros.t; soelim $?) > $@
XPutBEvnt.3X: XPutBEvnt
	(cat macros.t; soelim $?) > $@
XPutImage.3X: XPutImage
	(cat macros.t; soelim $?) > $@
XPutRes.3X: XPutRes
	(cat macros.t; soelim $?) > $@
XQBSize.3X: XQBSize
	(cat macros.t; soelim $?) > $@
XQColor.3X: XQColor
	(cat macros.t; soelim $?) > $@
XQPointer.3X: XQPointer
	(cat macros.t; soelim $?) > $@
XQTree.3X: XQTree
	(cat macros.t; soelim $?) > $@
XRaiseWin.3X: XRaiseWin
	(cat macros.t; soelim $?) > $@
XReadBF.3X: XReadBF
	(cat macros.t; soelim $?) > $@
XRecCur.3X: XRecCur
	(cat macros.t; soelim $?) > $@
XReparWin.3X: XReparWin
	(cat macros.t; soelim $?) > $@
XSContext.3X: XSContext
	(cat macros.t; soelim $?) > $@
XSInput.3X: XSInput
	(cat macros.t; soelim $?) > $@
XSeArcMod.3X: XSeArcMod
	(cat macros.t; soelim $?) > $@
XSeClassHs.3X: XSeClassHs
	(cat macros.t; soelim $?) > $@
XSeClipO.3X: XSeClipO
	(cat macros.t; soelim $?) > $@
XSeClosDM.3X: XSeClosDM
	(cat macros.t; soelim $?) > $@
XSeCommnd.3X: XSeCommnd
	(cat macros.t; soelim $?) > $@
XSeErrHan.3X: XSeErrHan
	(cat macros.t; soelim $?) > $@
XSeFillS.3X: XSeFillS
	(cat macros.t; soelim $?) > $@
XSeFont.3X: XSeFont
	(cat macros.t; soelim $?) > $@
XSeFontP.3X: XSeFontP
	(cat macros.t; soelim $?) > $@
XSeIcName.3X: XSeIcName
	(cat macros.t; soelim $?) > $@
XSeIconSHs.3X: XSeIconSHs
	(cat macros.t; soelim $?) > $@
XSeInFocus.3X: XSeInFocus
	(cat macros.t; soelim $?) > $@
XSeLAttr.3X: XSeLAttr
	(cat macros.t; soelim $?) > $@
XSeNormHs.3X: XSeNormHs
	(cat macros.t; soelim $?) > $@
XSePMap.3X: XSePMap
	(cat macros.t; soelim $?) > $@
XSeScSav.3X: XSeScSav
	(cat macros.t; soelim $?) > $@
XSeSelOwn.3X: XSeSelOwn
	(cat macros.t; soelim $?) > $@
XSeSizeHs.3X: XSeSizeHs
	(cat macros.t; soelim $?) > $@
XSeStandC.3X: XSeStandC
	(cat macros.t; soelim $?) > $@
XSeStandP.3X: XSeStandP
	(cat macros.t; soelim $?) > $@
XSeState.3X: XSeState
	(cat macros.t; soelim $?) > $@
XSeTile.3X: XSeTile
	(cat macros.t; soelim $?) > $@
XSeTransHs.3X: XSeTransHs
	(cat macros.t; soelim $?) > $@
XSeWMHs.3X: XSeWMHs
	(cat macros.t; soelim $?) > $@
XSeZoomHs.3X: XSeZoomHs
	(cat macros.t; soelim $?) > $@
XStBytes.3X: XStBytes
	(cat macros.t; soelim $?) > $@
XStColors.3X: XStColors
	(cat macros.t; soelim $?) > $@
XStName.3X: XStName
	(cat macros.t; soelim $?) > $@
XStTKeysym.3X: XStTKeysym
	(cat macros.t; soelim $?) > $@
XSync.3X: XSync
	(cat macros.t; soelim $?) > $@
XTextExt.3X: XTextExt
	(cat macros.t; soelim $?) > $@
XTextWid.3X: XTextWid
	(cat macros.t; soelim $?) > $@
XTranWCo.3X: XTranWCo
	(cat macros.t; soelim $?) > $@
XUnmapWin.3X: XUnmapWin
	(cat macros.t; soelim $?) > $@
XWarpPntr.3X: XWarpPntr
	(cat macros.t; soelim $?) > $@
XWinEvent.3X: XWinEvent
	(cat macros.t; soelim $?) > $@

install:: $(MANPAGES)
	@case '${MFLAGS}' in *[i]*) set +e;; esac; \
	for i in $(MANPAGES); do \
		(set -x; $(INSTALL) -c $(INSTALLFLAGS) $$i $(MANDIR)); \
	done

clean::
	$(RM_CMD) \#*

Makefile:: Imakefile \
	$(UTILSRC)/imake.includes/Imake.tmpl \
	$(UTILSRC)/imake.includes/Imake.rules \
	$(UTILSRC)/imake.includes/$(MACROFILE)
		-rm -f Makefile.bak; mv Makefile Makefile.bak
		$(IMAKE_CMD) -DTOPDIR=$(TOP)

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

install::
	@echo "install done"

Makefiles::

