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

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

         NEWTOP = .
            TOP = $(NEWTOP)../../.
             AS = as
            CPP = /lib/cpp
             LD = ld
           LINT = lint
           MAKE = make
        DESTDIR =
        INSTALL = install
   INSTALLFLAGS = -c -m 664
           TAGS = ctags
             RM = rm -f
             MV = mv
             LS = ls
             CP = cp
             CC = cc
             FC = f77
             CI = ci
             CO = co
    STD_DEFINES =

             CC = cc
    CDEBUGFLAGS = -O
 LDCOMBINEFLAGS = -X -r
             LN = ln -s
         RANLIB = ranlib
             AR = ar cq
       LINTOPTS = -axz
    LINTLIBFLAG = -C

        PATHSEP = /
         DEPEND = $(DEPENDSRC)/makedepend
          IMAKE = $(IMAKESRC)/imake
            RGB = $(RGBSRC)/rgb
         CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(STD_DEFINES) $(DEFINES)
      LINTFLAGS = $(LINTOPTS) $(INCLUDES) $(STD_DEFINES) $(DEFINES) -DLINT
        LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(SYSAUX_LIBRARIES)
   INSTUIDFLAGS = -m 4755
   INSTLIBFLAGS = -m 0664
   INSTINCFLAGS = -m 0444
   INSTMANFLAGS = -m 0444
   INSTAPPFLAGS = -m 0444

      USRLIBDIR = $(DESTDIR)/usr/lib
         BINDIR = $(DESTDIR)/usr/bin/X11
         LIBDIR = $(USRLIBDIR)/X11
     LINTLIBDIR = $(USRLIBDIR)/lint
         INCDIR = $(DESTDIR)/usr/include/X11
        FONTDIR = $(LIBDIR)/fonts
         UWMDIR = $(LIBDIR)/uwm
         AWMDIR = $(LIBDIR)/awm
         MANDIR = $(DESTDIR)/usr/man/mann
    XAPPLOADDIR = $(LIBDIR)/app-defaults
         ADMDIR = $(DESTDIR)/usr/adm

      CLIENTSRC = $(TOP)/clients
        DEMOSRC = $(TOP)/demos
         LIBSRC = $(TOP)/lib
        FONTSRC = $(TOP)/fonts
     INCLUDESRC = $(TOP)/X11
      SERVERSRC = $(TOP)/server
        UTILSRC = $(TOP)/utils
     EXAMPLESRC = $(TOP)/examples
     CONTRIBSRC = $(TOP)/contrib
         DOCSRC = $(TOP)/doc
      DEPENDSRC = $(UTILSRC)/makedepend
       IMAKESRC = /andrew/X11R3/util/imake
       IRULESRC = $(UTILSRC)/imake.includes
         RGBSRC = $(UTILSRC)/rgb
        XLIBSRC = $(LIBSRC)/X
     TOOLKITSRC = $(LIBSRC)/Xt
     AWIDGETSRC = $(LIBSRC)/Xaw
     OLDXLIBSRC = $(LIBSRC)/oldX
   EXTENSIONSRC = $(TOP)/extensions
        XMANSRC = $(DOCSRC)/Xlib/Xman
   EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
           XLIB = $(XLIBSRC)/libX11.a
        OLDXLIB = $(OLDXLIBSRC)/liboldX.a
       XTOOLLIB = $(TOOLKITSRC)/libXt.a
         XAWLIB = $(AWIDGETSRC)/libXaw.a
       LINTXLIB = $(XLIBSRC)/llib-lX11.ln
      LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
        LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
       INCLUDES = -I$(TOP) $(SYSAUX_INCLUDES)
      MACROFILE = Rt.macros
    INSTALL_CMD = $(INSTALL) $(INSTALLFLAGS)
      IMAKE_CMD = $(IMAKE) -DBSDrt -T$(IRULESRC)/Imake.tmpl -I$(IRULESRC) -s Makefile
         RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
			tags TAGS make.log
     INSTALLHOME = /usr/lib/xgks
         ILIBDIR = $(INSTALLHOME)/lib
         IHDIR   = $(INSTALLHOME)/include
       FONTDBDIR = $(ILIBDIR)/fontdb
     CDEBUGFLAGS = -O -DFONTDBDIR=\"$(FONTDBDIR)\"
      ALLSUBDIRS = src fortran demo
     DEMOSUBDIRS = demo

#
#
#		Copyright IBM Corporation 1989
#
#                      All Rights Reserved
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted,
# provided that the above copyright notice appear in all copies and that
# both that copyright notice and this permission notice appear in
# supporting documentation, and that the name of IBM not be
# used in advertising or publicity pertaining to distribution of the
# software without specific, written prior permission.
#
# IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
# ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN 0 EVENT SHALL
# IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
# ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
#
# Imakefile for src/x level of XGKS tree
#
# Author:  Bruce Greer
#
# $Header: Imakefile,v 4.4 89/09/06 15:02:44 amy Exp $
#
# $Log:	Imakefile,v $
# Revision 4.4  89/09/06  15:02:44  amy
# make dependencies
#
# Revision 4.3  89/09/06  14:35:22  amy
# make dependencies
#
# Revision 4.2  89/09/06  12:50:13  amy
# make dependencies
#
# Revision 4.1  89/09/06  12:41:58  amy
# make dependencies
#
# Revision 4.0  89/08/31  11:00:02  amy
# Changed IBM copyright for MIT distribution.
#
# Revision 1.6  89/06/01  16:26:45  bruce
# make dependencies
#
# Revision 1.5  89/06/01  16:24:20  bruce
# make dependencies
#
# Revision 1.4  89/05/19  10:38:57  bruce
# make dependencies
#
# Revision 1.3  89/05/12  15:36:16  bruce
# Changed spelling of colors to colours.
#
# Revision 1.2  89/05/12  15:35:03  bruce
# make dependencies
#
# Revision 1.1  89/05/12  11:36:10  bruce
# Initial revision
#
#

GKSLIB = ../../lib/libxgks.a

OBJS = xSet.o xopws.o xpline.o xevent.o xpmarker.o xfillarea.o xupdate.o \
	xtext.o xcolours.o xinqpixel.o xcellarray.o

SRCS = xSet.c xopws.c xpline.c xevent.c xpmarker.c xfillarea.c xupdate.c \
	xtext.c xcolours.c xinqpixel.c xcellarray.c

all:: $(GKSLIB)
	ar ru $(GKSLIB)  $(OBJS)
	$(RANLIB) $(GKSLIB)

$(GKSLIB)::  $(OBJS)

depend::
	-$(CO) -q -l Imakefile
	makedepend -f Imakefile -s"# DO NOT DELETE" $(INCLUDES) $(SRCS)
	-$(CI) -u -f -q -m"make dependencies" Imakefile

clean::
	-$(RM_CMD)

clean::
	-$(RM_CMD)

Makefile::
	-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
	$(IMAKE_CMD) -DTOPDIR=$(TOP)

install::
	@echo "install done"

Makefiles::

