# 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

SRCS =		bsdCursor.c \
		bsdInitEmul.c \
		bsdKeybd.c \
		bsdMouse.c

LIBOBJS =	bsdCursor.o \
		bsdInitEmul.o \
		bsdKeybd.o \
		bsdMouse.o

OBJS =		$(OTHROBJS) $(LIBOBJS)

STD_DEFINES = 	-DUNIXCPP -DNOSTDHDRS -DHCVERSION=21004 -DBSDrt
CDEBUGFLAGS = -O

DEFINES = -DIBM_SPECIAL_MALLOC

INCLUDES = -I. -I../../../include -I$(INCLUDESRC) -I../common

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

all::	$(OTHROBJS)

all:: BSDrt.o

BSDrt.o: $(LIBOBJS)
	$(RM) $@
	$(LD) $(LDCOMBINEFLAGS) $(LIBOBJS) -o $@

depend:: $(DEPEND)

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

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

lintlib:: llib-lBSDrt.ln

llib-lBSDrt.ln: $(SRCS)
	$(RM) $@
	$(LINT) $(LINTLIBFLAG)BSDrt $(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

bsdCursor.o: /usr/include/stdio.h /usr/include/sys/types.h
bsdCursor.o: /usr/include/sys/file.h /usr/include/sys/time.h
bsdCursor.o: /usr/include/sys/time.h ../../../.././X11/X.h
bsdCursor.o: ../../../.././X11/Xproto.h ../../../.././X11/Xmd.h
bsdCursor.o: ../../../.././X11/Xprotostr.h ../../../include/input.h
bsdCursor.o: ../../../include/misc.h ../../../include/os.h
bsdCursor.o: ../../../include/scrnintstr.h ../../../include/screenint.h
bsdCursor.o: ../../../include/region.h ../../../include/pixmap.h
bsdCursor.o: ../../../include/gc.h ../../../include/colormap.h
bsdCursor.o: ../../../include/cursorstr.h ../../../include/cursor.h
bsdCursor.o: ../../../include/miscstruct.h bsdIO.h
bsdCursor.o: /usr/include/machinecons/xio.h /usr/include/machinecons/qevent.h
bsdCursor.o: /usr/include/machinecons/screen_conf.h /usr/include/sys/ioctl.h
bsdCursor.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
bsdCursor.o: /usr/include/machinecons/../machinecons/consio.h
bsdCursor.o: ../common/ibmIO.h bsdCursor.h ../common/ibmScreen.h
bsdCursor.o: ../common/ibmTrace.h
bsdInitEmul.o: /usr/include/sys/types.h /usr/include/sys/file.h
bsdInitEmul.o: /usr/include/sys/signal.h
bsdInitEmul.o: /usr/include/machinecons/screen_conf.h
bsdInitEmul.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
bsdInitEmul.o: /usr/include/sys/ttydev.h
bsdInitEmul.o: /usr/include/machinecons/../machinecons/consio.h
bsdInitEmul.o: /usr/include/machinecons/buf_emul.h
bsdInitEmul.o: /usr/include/machinecons/vgaio.h /usr/include/sys/time.h
bsdInitEmul.o: /usr/include/sys/time.h /usr/include/sys/resource.h
bsdInitEmul.o: ../../../.././X11/X.h ../../../include/misc.h
bsdInitEmul.o: ../../../include/os.h ../../../include/miscstruct.h
bsdInitEmul.o: ../../../include/scrnintstr.h ../../../include/screenint.h
bsdInitEmul.o: ../../../include/region.h ../../../include/pixmap.h
bsdInitEmul.o: ../../../include/gc.h ../../../include/colormap.h
bsdInitEmul.o: ../../../include/cursorstr.h ../../../include/cursor.h
bsdInitEmul.o: ../common/ibmScreen.h bsdIO.h /usr/include/machinecons/xio.h
bsdInitEmul.o: /usr/include/machinecons/qevent.h ../common/ibmIO.h
bsdInitEmul.o: ../common/ibmTrace.h
bsdKeybd.o: /usr/include/stdio.h /usr/include/sys/file.h
bsdKeybd.o: /usr/include/sys/types.h /usr/include/machineio/speakerio.h
bsdKeybd.o: ../../../.././X11/X.h ../../../.././X11/Xmd.h
bsdKeybd.o: ../../../include/input.h ../../../include/misc.h
bsdKeybd.o: ../../../include/os.h ../../../include/miscstruct.h
bsdKeybd.o: ../../../include/scrnintstr.h ../../../include/screenint.h
bsdKeybd.o: ../../../include/region.h ../../../include/pixmap.h
bsdKeybd.o: ../../../include/gc.h ../../../include/colormap.h
bsdKeybd.o: ../../../.././X11/keysym.h ../../../.././X11/keysymdef.h
bsdKeybd.o: ../../../include/cursorstr.h ../../../include/cursor.h bsdIO.h
bsdKeybd.o: /usr/include/machinecons/xio.h /usr/include/machinecons/qevent.h
bsdKeybd.o: /usr/include/machinecons/screen_conf.h /usr/include/sys/ioctl.h
bsdKeybd.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
bsdKeybd.o: /usr/include/machinecons/../machinecons/consio.h
bsdKeybd.o: ../common/ibmIO.h bsdKeymap.h ../common/ibmKeybd.h
bsdKeybd.o: ../common/ibmScreen.h ../common/ibmTrace.h
bsdMouse.o: /usr/include/stdio.h /usr/include/sys/types.h
bsdMouse.o: /usr/include/sys/file.h /usr/include/sys/tbioctl.h
bsdMouse.o: /usr/include/machineio/mouseio.h /usr/include/sys/ioctl.h
bsdMouse.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
bsdMouse.o: ../../../.././X11/X.h ../../../.././X11/Xproto.h
bsdMouse.o: ../../../.././X11/Xmd.h ../../../.././X11/Xprotostr.h
bsdMouse.o: ../../../include/miscstruct.h ../../../include/misc.h
bsdMouse.o: ../../../include/os.h ../../../include/scrnintstr.h
bsdMouse.o: ../../../include/screenint.h ../../../include/region.h
bsdMouse.o: ../../../include/pixmap.h ../../../include/gc.h
bsdMouse.o: ../../../include/colormap.h ../../../include/input.h
bsdMouse.o: ../../../include/cursorstr.h ../../../include/cursor.h bsdIO.h
bsdMouse.o: /usr/include/machinecons/xio.h /usr/include/machinecons/qevent.h
bsdMouse.o: /usr/include/machinecons/screen_conf.h
bsdMouse.o: /usr/include/machinecons/../machinecons/consio.h
bsdMouse.o: ../common/ibmIO.h ../common/ibmMouse.h ../common/ibmScreen.h
bsdMouse.o: ../common/ibmTrace.h
