# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.37 88/10/08 20:08:30 jim Exp $

###########################################################################
# X Window System Makefile generated from template file Imake.tmpl
# $XConsortium: Imake.tmpl,v 1.89 88/10/23 13:19:22 jim Exp $
#
# Do not change the body of the imake template file.  Server-specific
# parameters may be set in the appropriate .macros file; site-specific
# parameters (but shared by all servers) may be set in site.def.  If you
# make any changes, you'll need to rebuild the makefiles using
# "make World" (at best) or "make Makefile; make Makefiles" (at least) in
# the top level directory.
#
# If your C preprocessor doesn't define any unique symbols, you'll need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make Makefile", "make Makefiles", or "make World").
#
# If you absolutely can't get imake to work, you'll need to set the
# variables at the top of each Makefile as well as the dependencies at the
# bottom (makedepend will do this automatically).
#

###########################################################################
# platform-specific configuration parameters - edit Rt.macros to change

# platform:  $XConsortium: Rt.macros,v 1.46 88/10/23 11:00:52 jim Exp $

# platform:  $XConsortium: IBM.macros,v 1.21 88/10/23 11:00:36 jim Exp $

             AS = as
            CPP = /lib/cpp
             LD = ld
           LINT = lint
           MAKE = make
        INSTALL = install
           TAGS = ctags
             RM = rm -f
             MV = mv
             LS = ls
             CP = cp
STD_CPP_DEFINES =
    STD_DEFINES =

BOOTSTRAPCFLAGS =
             CC = hc
 LDCOMBINEFLAGS = -X -r
             LN = ln -s
         RANLIB = ranlib
RANLIBINSTFLAGS = -t
             AR = ar cq
       LINTOPTS = -axz
    LINTLIBFLAG = -C

            PCC = pcc

###########################################################################
# site-specific configuration parameters - edit site.def to change

# site:  $XConsortium: site.def,v 1.16 88/10/12 10:30:24 jim Exp $

###########################################################################
# definitions common to all Makefiles - do not edit

          SHELL = 	/bin/sh

        DESTDIR =
      USRLIBDIR = $(DESTDIR)/usr/lib
         BINDIR = $(DESTDIR)/usr/bin/X11
         INCDIR = $(DESTDIR)/usr/include/X11
         ADMDIR = $(DESTDIR)/usr/adm
         LIBDIR = $(USRLIBDIR)/X11
     LINTLIBDIR = $(USRLIBDIR)/lint
        FONTDIR = $(LIBDIR)/fonts
       XINITDIR = $(LIBDIR)/xinit
         XDMDIR = $(LIBDIR)/xdm
         UWMDIR = $(LIBDIR)/uwm
         AWMDIR = $(LIBDIR)/awm
         TWMDIR = $(LIBDIR)/twm
        MANPATH = $(DESTDIR)/usr/man
  MANSOURCEPATH = $(MANPATH)/man
         MANDIR = $(MANSOURCEPATH)n
      LIBMANDIR = $(MANSOURCEPATH)3
    XAPPLOADDIR = $(LIBDIR)/app-defaults

   INSTBINFLAGS = -m 0755
   INSTUIDFLAGS = -m 4755
   INSTLIBFLAGS = -m 0664
   INSTINCFLAGS = -m 0444
   INSTMANFLAGS = -m 0444
   INSTAPPFLAGS = -m 0444
  INSTKMEMFLAGS = -m 4755
        FCFLAGS = -t
    CDEBUGFLAGS = -O

        PATHSEP = /
         DEPEND = $(DEPENDSRC)/makedepend
          IMAKE = $(IMAKESRC)/imake
            RGB = $(RGBSRC)/rgb
             FC = $(BDFTOSNFSRC)/bdftosnf
      MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
         CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(STD_DEFINES) $(DEFINES)
      LINTFLAGS = $(LINTOPTS) $(INCLUDES) $(STD_DEFINES) $(DEFINES) -DLINT
        LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(SYSAUX_LIBRARIES)
            TOP = ../../../../.
      CLIENTSRC = $(TOP)/clients
        DEMOSRC = $(TOP)/demos
         LIBSRC = $(TOP)/lib
        FONTSRC = $(TOP)/fonts
     INCLUDESRC = $(TOP)/X11
      SERVERSRC = $(TOP)/server
        UTILSRC = $(TOP)/util
     EXAMPLESRC = $(TOP)/examples
     CONTRIBSRC = $(TOP)/contrib
         DOCSRC = $(TOP)/doc
         RGBSRC = $(TOP)/rgb
      DEPENDSRC = $(UTILSRC)/makedepend
       IMAKESRC = $(UTILSRC)/imake
       IRULESRC = $(UTILSRC)/imake.includes
        XLIBSRC = $(LIBSRC)/X
         XMUSRC = $(LIBSRC)/Xmu
     TOOLKITSRC = $(LIBSRC)/Xt
     AWIDGETSRC = $(LIBSRC)/Xaw
     OLDXLIBSRC = $(LIBSRC)/oldX
    BDFTOSNFSRC = $(FONTSRC)/bdftosnf
   MKFONTDIRSRC = $(FONTSRC)/mkfontdir
   EXTENSIONSRC = $(TOP)/extensions
   EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
           XLIB = $(XLIBSRC)/libX11.a
         XMULIB = $(XMUSRC)/libXmu.a
        OLDXLIB = $(OLDXLIBSRC)/liboldX.a
       XTOOLLIB = $(TOOLKITSRC)/libXt.a
         XAWLIB = $(AWIDGETSRC)/libXaw.a
       LINTXLIB = $(XLIBSRC)/llib-lX11.ln
        LINTXMU = $(XMUSRC)/llib-lXmu.ln
      LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
        LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
       INCLUDES = -I$(TOP)
      MACROFILE = Rt.macros
   ICONFIGFILES = $(IRULESRC)/Imake.tmpl \
			$(IRULESRC)/$(MACROFILE) $(IRULESRC)/site.def
  IMAKE_DEFINES =
      IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl -I$(NEWTOP)$(IRULESRC) \
			-s Makefile $(IMAKE_DEFINES)
         RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
			.emacs_* tags TAGS make.log MakeOut

###########################################################################
# rules:  $XConsortium: Imake.rules,v 1.67 88/10/23 18:19:30 jim Exp $

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

# $Header: /andrew/X11/R3src/tape/server/ddx/ibm/vga/RCS/Imakefile,v 6.2 88/10/24 16:37:34 paul Exp $
# $Source: /andrew/X11/R3src/tape/server/ddx/ibm/vga/RCS/Imakefile,v $

SRCS =		vgaScrInfo.c	\
		vgaData.c	\
		vgaHWCntl.c	\
		vgaIO.c		\
		vgaGC.c		\
		vgaOSD.c	\
		vgaSuspScr.c	\
		\
		vgaCurs.c	\
		vgaBitBlt.c	\
		vgaGlyph.c	\
		vgaImages.c	\
		vgaLine.c	\
		vgaStipple.c	\
		vgaSolid.c

OTHER_FILES =	vgaAddr.c

OBJS =		vgaScrInfo.o	\
		vgaData.o	\
		vgaHWCntl.o	\
		vgaIO.o		\
		vgaGC.o		\
		vgaOSD.o	\
		vgaSuspScr.o	\
		\
		vgaCurs.o	\
		vgaBitBlt.o	\
		vgaGlyph.o	\
		vgaImages.o	\
		vgaLine.o	\
		vgaStipple.o	\
		vgaSolid.o

STD_DEFINES = 	-DUNIXCPP -DNOSTDHDRS -DHCVERSION=21004 -DBSDrt -DATRIO

CDEBUGFLAGS =  -O
INCLUDES =	-I. -I../BSDrt -I../ppc -I../../../include \
		-I$(INCLUDESRC) -I../common -I../../mfb

LINTLIBS =	../../mfb/llib-lmfb.ln ../../mi/llib-lmi.ln \
		../ppc/llib-lppc.ln ../common/llib-libmcomm.ln

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

all:: vga.o

vga.o: $(OBJS)
	$(RM) $@
	$(LD) $(LDCOMBINEFLAGS) $(OBJS) -o $@

depend:: $(DEPEND)

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

$(DEPEND):
	@echo "making $@"; \
	cd $(DEPENDSRC); $(MAKE)

lintlib:: llib-lvga.ln

llib-lvga.ln: $(SRCS)
	$(RM) $@
	$(LINT) $(LINTLIBFLAG)vga $(LINTFLAGS) $(SRCS)

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

###########################################################################
# Imake.tmpl common rules for all Makefiles - do not edit

emptyrule::

clean::
	$(RM_CMD) \#*

Makefile:: $(IMAKE)

Makefile:: Imakefile \
	$(IRULESRC)/Imake.tmpl \
	$(IRULESRC)/Imake.rules \
	$(IRULESRC)/site.def \
	$(IRULESRC)/$(MACROFILE)
	-@if [ -f Makefile ]; then \
		echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
		$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
	else exit 0; fi
	$(IMAKE_CMD) -DTOPDIR=$(TOP)

$(IMAKE):
	@echo "making $@"; \
	cd $(IMAKESRC); $(MAKE) BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)

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

###########################################################################
# empty rules for directories that do not have SUBDIRS - do not edit

install::
	@echo "install done"

install.man::
	@echo "install.man done"

Makefiles::

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

# DO NOT DELETE

vgaScrInfo.o: ../../../.././X11/X.h ../../../include/misc.h
vgaScrInfo.o: ../../../include/os.h ../../../include/miscstruct.h
vgaScrInfo.o: ../../../include/scrnintstr.h ../../../include/screenint.h
vgaScrInfo.o: ../../../include/region.h ../../../include/pixmap.h
vgaScrInfo.o: ../../../include/gc.h ../../../include/colormap.h
vgaScrInfo.o: ../../../include/cursorstr.h ../../../include/cursor.h
vgaScrInfo.o: ../common/ibmScreen.h
vgaData.o: ../../../.././X11/X.h ../../../.././X11/Xproto.h
vgaData.o: ../../../.././X11/Xmd.h ../../../.././X11/Xprotostr.h
vgaData.o: ../../../include/miscstruct.h ../../../include/misc.h
vgaData.o: ../../../include/os.h ../../../include/scrnintstr.h
vgaData.o: ../../../include/screenint.h ../../../include/region.h
vgaData.o: ../../../include/pixmap.h ../../../include/gc.h
vgaData.o: ../../../include/colormap.h ../../../include/screen.h
vgaData.o: ../../../include/font.h ../../../include/servermd.h
vgaData.o: ../../../include/pixmapstr.h ../../../include/window.h
vgaData.o: ../../../include/gcstruct.h ../../../include/dixfont.h
vgaData.o: ../../../include/colormapst.h ../../../include/cursorstr.h
vgaData.o: ../../../include/cursor.h ../../../include/mistruct.h
vgaData.o: ../../../include/mi.h ../../mfb/mfb.h ../../../include/mibstore.h
vgaData.o: ../BSDrt/OScursor.h ../common/ibmScreen.h ../ppc/ppc.h
vgaData.o: ../ppc/ppcProcs.h vgaVideo.h vgaProcs.h
vgaHWCntl.o: ../BSDrt/OScompiler.h ../common/ibmIOArch.h vgaVideo.h vgaReg.h
vgaHWCntl.o: vgaSave.h
vgaIO.o: ../../../.././X11/X.h ../../../.././X11/Xproto.h
vgaIO.o: ../../../.././X11/Xmd.h ../../../.././X11/Xprotostr.h
vgaIO.o: ../../../include/resource.h ../../../include/misc.h
vgaIO.o: ../../../include/os.h ../../../include/servermd.h
vgaIO.o: ../../../include/scrnintstr.h ../../../include/screenint.h
vgaIO.o: ../../../include/region.h ../../../include/pixmap.h
vgaIO.o: ../../../include/gc.h ../../../include/colormap.h
vgaIO.o: ../../../include/screen.h ../../../include/window.h
vgaIO.o: ../../../include/font.h ../../../include/miscstruct.h
vgaIO.o: ../../../include/colormapst.h ../../../include/cursorstr.h
vgaIO.o: ../../../include/cursor.h ../../../include/pixmapstr.h
vgaIO.o: ../../../include/mistruct.h ../../../include/mi.h
vgaIO.o: ../BSDrt/OScompiler.h ../common/ibmScreen.h ../BSDrt/OScursor.h
vgaIO.o: ../ppc/ppc.h ../../../include/gcstruct.h ../../../include/dixfont.h
vgaIO.o: ../ppc/ppcProcs.h vgaVideo.h vgaProcs.h ../common/ibmTrace.h
vgaGC.o: ../../../.././X11/X.h ../../../.././X11/Xproto.h
vgaGC.o: ../../../.././X11/Xmd.h ../../../.././X11/Xprotostr.h
vgaGC.o: ../../../include/windowstr.h ../../../include/window.h
vgaGC.o: ../../../include/pixmapstr.h ../../../include/pixmap.h
vgaGC.o: ../../../include/screenint.h ../../../include/misc.h
vgaGC.o: ../../../include/os.h ../../../include/region.h
vgaGC.o: ../../../include/cursor.h ../../../include/property.h
vgaGC.o: ../../../include/resource.h ../../../include/dix.h
vgaGC.o: ../../../include/gc.h ../../../include/miscstruct.h
vgaGC.o: ../../../include/scrnintstr.h ../../../include/colormap.h
vgaGC.o: ../../../include/screen.h ../../../include/font.h
vgaGC.o: ../../../include/servermd.h ../../../include/gcstruct.h
vgaGC.o: ../../../include/dixfont.h ../../../include/cursorstr.h
vgaGC.o: ../../../include/mistruct.h ../../../include/mi.h ../../mfb/mfb.h
vgaGC.o: ../../../include/mibstore.h ../BSDrt/OScompiler.h ../ppc/ppc.h
vgaGC.o: ../ppc/ppcProcs.h vgaProcs.h
vgaOSD.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
vgaOSD.o: /usr/include/sys/ttydev.h /usr/include/sys/file.h
vgaOSD.o: /usr/include/machinecons/buf_emul.h
vgaOSD.o: /usr/include/machinecons/vgaio.h ../../../.././X11/X.h
vgaOSD.o: ../../../include/miscstruct.h ../../../include/misc.h
vgaOSD.o: ../../../include/os.h ../../../include/scrnintstr.h
vgaOSD.o: ../../../include/screenint.h ../../../include/region.h
vgaOSD.o: ../../../include/pixmap.h ../../../include/gc.h
vgaOSD.o: ../../../include/colormap.h ../../../include/cursorstr.h
vgaOSD.o: ../../../include/cursor.h ../BSDrt/OScompiler.h
vgaOSD.o: ../common/ibmScreen.h vgaVideo.h vgaSave.h
vgaSuspScr.o: ../common/ibmIOArch.h vgaVideo.h vgaReg.h vgaSave.h
vgaCurs.o: ../../../.././X11/X.h ../../../.././X11/Xmd.h
vgaCurs.o: ../../../include/miscstruct.h ../../../include/misc.h
vgaCurs.o: ../../../include/os.h ../../../include/scrnintstr.h
vgaCurs.o: ../../../include/screenint.h ../../../include/region.h
vgaCurs.o: ../../../include/pixmap.h ../../../include/gc.h
vgaCurs.o: ../../../include/colormap.h ../../../include/pixmapstr.h
vgaCurs.o: ../../../include/cursorstr.h ../../../include/cursor.h
vgaCurs.o: ../../../include/resource.h ../BSDrt/OScompiler.h
vgaCurs.o: ../common/ibmScreen.h ../common/ibmIOArch.h ../ppc/ppc.h
vgaCurs.o: ../../../include/gcstruct.h ../../../include/dixfont.h
vgaCurs.o: ../ppc/ppcBitMacs.h vgaVideo.h vgaReg.h vgaProcs.h
vgaCurs.o: ../common/ibmTrace.h
vgaBitBlt.o: ../../../.././X11/X.h ../BSDrt/OScompiler.h vgaVideo.h
vgaBitBlt.o: ../common/ibmIOArch.h vgaReg.h vgaAddr.c
vgaGlyph.o: ../../../.././X11/X.h ../../../include/misc.h
vgaGlyph.o: ../../../include/os.h ../BSDrt/OScompiler.h ../common/ibmIOArch.h
vgaGlyph.o: vgaVideo.h vgaReg.h vgaProcs.h
vgaImages.o: ../../../.././X11/X.h ../BSDrt/OScompiler.h
vgaImages.o: ../common/ibmIOArch.h vgaVideo.h vgaReg.h
vgaLine.o: ../../../.././X11/X.h ../BSDrt/OScompiler.h vgaVideo.h
vgaLine.o: ../common/ibmIOArch.h vgaReg.h
vgaStipple.o: ../../../.././X11/X.h ../../../include/pixmapstr.h
vgaStipple.o: ../../../include/pixmap.h ../../../include/screenint.h
vgaStipple.o: ../../../include/misc.h ../../../include/os.h
vgaStipple.o: ../BSDrt/OScompiler.h ../common/ibmIOArch.h vgaVideo.h vgaReg.h
vgaSolid.o: ../../../.././X11/X.h ../BSDrt/OScompiler.h ../common/ibmIOArch.h
vgaSolid.o: vgaVideo.h vgaReg.h
