# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.37 88/10/08 20:08:30 jim 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.
#

###########################################################################
# X Window System Makefile generated from template file Imake.tmpl
# $XConsortium: Imake.tmpl,v 1.91 88/10/23 22:37:10 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 Sun.macros to change

# platform:  $XConsortium: Sun.macros,v 1.52 88/10/23 11:00:55 jim Exp $
# operating system:   SunOS 3.4

BOOTSTRAPCFLAGS =
             AS = as
             CC = cc
            CPP = /lib/cpp
             LD = ld
           LINT = lint
        INSTALL = install
           TAGS = ctags
             RM = rm -f
             MV = mv
             LN = ln -s
         RANLIB = ranlib
RANLIBINSTFLAGS = -t
             AR = ar clq
             LS = ls
       LINTOPTS = -axz
    LINTLIBFLAG = -C
           MAKE = make
STD_CPP_DEFINES =
    STD_DEFINES =

###########################################################################
# 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
      MKDIRHIER = $(SCRIPTSSRC)/mkdirhier.sh

         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
     SCRIPTSSRC = $(UTILSRC)/scripts
     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 = Sun.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.71 88/10/23 22:46:34 jim Exp $

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

SRCS =	 cfbgc.c cfbwindow.c \
	 cfbpntwin.c cfbmskbits.c cfbpixmap.c cfbbitblt.c \
	 cfbfillsp.c cfbsetsp.c cfbscrinit.c \
	 cfbgetsp.c cfbutils.c \
	 cfbcmap.c cfboldmfb.c \
	 cfbtegblt.c cfbbstore.c

OBJS =   cfbgc.o cfbwindow.o \
	 cfbgetsp.o cfbutils.o \
	 cfbfillsp.o cfbsetsp.o cfbscrinit.o \
	 cfbpntwin.o cfbmskbits.o cfbpixmap.o cfbbitblt.o \
	 cfbcmap.o cfboldmfb.o \
	 cfbtegblt.o cfbbstore.o

STD_DEFINES =
CDEBUGFLAGS = -O
   INCLUDES = -I. -I../../include -I$(INCLUDESRC) -I../mfb
   LINTLIBS = ../../dix/llib-ldix.ln ../../os/4.2bsd/llib-los.ln \
	     ../mfb/llib-lmfb.ln ../mi/llib-lmi.ln

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

all:: libcfb.a

libcfb.a: $(OBJS)
	$(RM) $@
	$(AR) $@ $(OBJS)
	$(RANLIB) $@

lintlib:: llib-lcfb.ln

llib-lcfb.ln: $(SRCS)
	$(RM) $@
	$(LINT) $(LINTLIBFLAG)cfb $(LINTFLAGS) $(SRCS)

lint:
	@echo 'Expect the following warnings from lint:'
	@echo '  cfbpntwin.c: srcStartOver set but not used'
	@echo '  cfbfillsp.c: srcStartOver set but not used'
	@echo '  cfbbitblt.c: tmpDst set but not used (4 of these)'
	@echo '-------'

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

depend:: $(DEPEND)

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

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

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

cfbgc.o: ../../.././X11/X.h ../../.././X11/Xmd.h ../../.././X11/Xproto.h
cfbgc.o: ../../.././X11/Xprotostr.h ../../include/dixfontstr.h
cfbgc.o: ../../include/dixfont.h ../../include/font.h
cfbgc.o: ../../include/servermd.h ../../include/misc.h ../../include/os.h
cfbgc.o: ../../include/fontstruct.h ../../include/gcstruct.h
cfbgc.o: ../../include/gc.h ../../include/miscstruct.h ../../include/region.h
cfbgc.o: ../../include/pixmap.h ../../include/screenint.h
cfbgc.o: ../../include/windowstr.h ../../include/window.h
cfbgc.o: ../../include/pixmapstr.h ../../include/cursor.h
cfbgc.o: ../../include/property.h ../../include/resource.h
cfbgc.o: ../../include/dix.h ../../include/scrnintstr.h
cfbgc.o: ../../include/colormap.h cfb.h ../../include/mistruct.h
cfbgc.o: ../../include/mi.h ../../include/mibstore.h cfbmskbits.h
cfbwindow.o: ../../.././X11/X.h ../../include/scrnintstr.h
cfbwindow.o: ../../include/screenint.h ../../include/misc.h
cfbwindow.o: ../../include/os.h ../../include/region.h ../../include/pixmap.h
cfbwindow.o: ../../include/gc.h ../../include/colormap.h
cfbwindow.o: ../../include/windowstr.h ../../include/window.h
cfbwindow.o: ../../include/pixmapstr.h ../../include/cursor.h
cfbwindow.o: ../../include/property.h ../../include/resource.h
cfbwindow.o: ../../include/dix.h ../../include/miscstruct.h
cfbwindow.o: ../../.././X11/Xprotostr.h ../../.././X11/Xmd.h cfb.h
cfbwindow.o: ../../include/mistruct.h ../../include/mi.h
cfbwindow.o: ../../include/regionstr.h
cfbpntwin.o: ../../.././X11/X.h ../../include/windowstr.h
cfbpntwin.o: ../../include/window.h ../../include/pixmapstr.h
cfbpntwin.o: ../../include/pixmap.h ../../include/screenint.h
cfbpntwin.o: ../../include/misc.h ../../include/os.h ../../include/region.h
cfbpntwin.o: ../../include/cursor.h ../../include/property.h
cfbpntwin.o: ../../include/resource.h ../../include/dix.h ../../include/gc.h
cfbpntwin.o: ../../include/miscstruct.h ../../.././X11/Xprotostr.h
cfbpntwin.o: ../../.././X11/Xmd.h ../../include/regionstr.h
cfbpntwin.o: ../../include/scrnintstr.h ../../include/colormap.h cfb.h
cfbpntwin.o: cfbmskbits.h ../../include/servermd.h
cfbmskbits.o: ../../.././X11/X.h ../../.././X11/Xmd.h
cfbmskbits.o: ../../include/servermd.h
cfbpixmap.o: ../../.././X11/Xmd.h ../../include/servermd.h
cfbpixmap.o: ../../include/pixmapstr.h ../../include/pixmap.h
cfbpixmap.o: ../../include/screenint.h ../../include/misc.h
cfbpixmap.o: ../../include/os.h cfbmskbits.h ../../.././X11/X.h cfb.h
cfbpixmap.o: ../../include/region.h ../../include/gc.h
cfbpixmap.o: ../../include/colormap.h ../../include/miscstruct.h
cfbpixmap.o: ../../include/mi.h
cfbbitblt.o: ../../.././X11/X.h ../../.././X11/Xprotostr.h
cfbbitblt.o: ../../.././X11/Xmd.h ../../include/miscstruct.h
cfbbitblt.o: ../../include/misc.h ../../include/os.h
cfbbitblt.o: ../../include/regionstr.h ../../include/region.h
cfbbitblt.o: ../../include/gcstruct.h ../../include/gc.h
cfbbitblt.o: ../../include/pixmap.h ../../include/screenint.h
cfbbitblt.o: ../../include/dixfont.h ../../include/windowstr.h
cfbbitblt.o: ../../include/window.h ../../include/pixmapstr.h
cfbbitblt.o: ../../include/cursor.h ../../include/property.h
cfbbitblt.o: ../../include/resource.h ../../include/dix.h
cfbbitblt.o: ../../include/scrnintstr.h ../../include/colormap.h
cfbbitblt.o: ../../include/mi.h cfb.h cfbmskbits.h ../../include/servermd.h
cfbfillsp.o: ../../.././X11/X.h ../../.././X11/Xmd.h ../../include/servermd.h
cfbfillsp.o: ../../include/gcstruct.h ../../include/gc.h
cfbfillsp.o: ../../include/miscstruct.h ../../include/misc.h
cfbfillsp.o: ../../include/os.h ../../include/region.h ../../include/pixmap.h
cfbfillsp.o: ../../include/screenint.h ../../include/dixfont.h
cfbfillsp.o: ../../include/window.h ../../include/pixmapstr.h
cfbfillsp.o: ../../include/scrnintstr.h ../../include/colormap.h
cfbfillsp.o: ../../include/windowstr.h ../../include/cursor.h
cfbfillsp.o: ../../include/property.h ../../include/resource.h
cfbfillsp.o: ../../include/dix.h ../../.././X11/Xprotostr.h cfb.h
cfbfillsp.o: cfbmskbits.h
cfbsetsp.o: ../../.././X11/X.h ../../.././X11/Xmd.h ../../include/servermd.h
cfbsetsp.o: ../../include/misc.h ../../include/os.h ../../include/regionstr.h
cfbsetsp.o: ../../include/region.h ../../include/miscstruct.h
cfbsetsp.o: ../../include/gcstruct.h ../../include/gc.h
cfbsetsp.o: ../../include/pixmap.h ../../include/screenint.h
cfbsetsp.o: ../../include/dixfont.h ../../include/windowstr.h
cfbsetsp.o: ../../include/window.h ../../include/pixmapstr.h
cfbsetsp.o: ../../include/cursor.h ../../include/property.h
cfbsetsp.o: ../../include/resource.h ../../include/dix.h
cfbsetsp.o: ../../.././X11/Xprotostr.h ../../include/scrnintstr.h
cfbsetsp.o: ../../include/colormap.h cfb.h cfbmskbits.h
cfbscrinit.o: ../../.././X11/X.h ../../.././X11/Xmd.h
cfbscrinit.o: ../../include/servermd.h ../../include/scrnintstr.h
cfbscrinit.o: ../../include/screenint.h ../../include/misc.h
cfbscrinit.o: ../../include/os.h ../../include/region.h
cfbscrinit.o: ../../include/pixmap.h ../../include/gc.h
cfbscrinit.o: ../../include/colormap.h ../../include/pixmapstr.h
cfbscrinit.o: ../../include/resource.h ../../include/colormapst.h cfb.h
cfbscrinit.o: ../../include/miscstruct.h ../../include/mi.h
cfbscrinit.o: ../../include/mistruct.h ../../include/dix.h
cfbscrinit.o: ../../include/window.h
cfbgetsp.o: ../../.././X11/X.h ../../.././X11/Xmd.h ../../include/servermd.h
cfbgetsp.o: ../../include/misc.h ../../include/os.h ../../include/region.h
cfbgetsp.o: ../../include/gc.h ../../include/windowstr.h
cfbgetsp.o: ../../include/window.h ../../include/pixmapstr.h
cfbgetsp.o: ../../include/pixmap.h ../../include/screenint.h
cfbgetsp.o: ../../include/cursor.h ../../include/property.h
cfbgetsp.o: ../../include/resource.h ../../include/dix.h
cfbgetsp.o: ../../include/miscstruct.h ../../.././X11/Xprotostr.h
cfbgetsp.o: ../../include/scrnintstr.h ../../include/colormap.h cfb.h
cfbgetsp.o: cfbmskbits.h
cfbutils.o: cfbmskbits.h ../../.././X11/X.h ../../.././X11/Xmd.h
cfbutils.o: ../../include/servermd.h
cfbcmap.o: ../../.././X11/X.h ../../include/scrnintstr.h
cfbcmap.o: ../../include/screenint.h ../../include/misc.h ../../include/os.h
cfbcmap.o: ../../include/region.h ../../include/pixmap.h ../../include/gc.h
cfbcmap.o: ../../include/colormap.h ../../include/colormapst.h
cfbcmap.o: ../../include/resource.h
cfboldmfb.o: ../../.././X11/Xmd.h ../../include/servermd.h
cfboldmfb.o: ../../include/pixmapstr.h ../../include/pixmap.h
cfboldmfb.o: ../../include/screenint.h ../../include/misc.h
cfboldmfb.o: ../../include/os.h ../mfb/maskbits.h ../../.././X11/X.h
cfbtegblt.o: ../../.././X11/X.h ../../.././X11/Xmd.h ../../.././X11/Xproto.h
cfbtegblt.o: ../../.././X11/Xprotostr.h ../../include/fontstruct.h
cfbtegblt.o: ../../include/font.h ../../include/servermd.h
cfbtegblt.o: ../../include/misc.h ../../include/os.h
cfbtegblt.o: ../../include/dixfontstr.h ../../include/dixfont.h
cfbtegblt.o: ../../include/gcstruct.h ../../include/gc.h
cfbtegblt.o: ../../include/miscstruct.h ../../include/region.h
cfbtegblt.o: ../../include/pixmap.h ../../include/screenint.h
cfbtegblt.o: ../../include/windowstr.h ../../include/window.h
cfbtegblt.o: ../../include/pixmapstr.h ../../include/cursor.h
cfbtegblt.o: ../../include/property.h ../../include/resource.h
cfbtegblt.o: ../../include/dix.h ../../include/scrnintstr.h
cfbtegblt.o: ../../include/colormap.h ../../include/regionstr.h cfb.h
cfbtegblt.o: cfbmskbits.h
cfbbstore.o: cfb.h ../../include/pixmap.h ../../include/region.h
cfbbstore.o: ../../include/gc.h ../../include/colormap.h
cfbbstore.o: ../../include/miscstruct.h ../../include/misc.h
cfbbstore.o: ../../include/os.h ../../.././X11/X.h ../../include/mibstore.h
cfbbstore.o: ../../include/regionstr.h ../../include/scrnintstr.h
cfbbstore.o: ../../include/screenint.h ../../include/pixmapstr.h
cfbbstore.o: ../../include/windowstr.h ../../include/window.h
cfbbstore.o: ../../include/cursor.h ../../include/property.h
cfbbstore.o: ../../include/resource.h ../../include/dix.h
cfbbstore.o: ../../.././X11/Xprotostr.h ../../.././X11/Xmd.h
