XCOMM -*-Makefile-*-
XCOMM --------------------------------------------------------------------------
XCOMM File:         Imakefile
XCOMM RCS:          $Header: /users/npm/src/winterp/src-server/widgets/RCS/Imakefile,v 2.1 1994/06/06 15:48:01 npm Exp $
XCOMM Description:  Imakefile for libwidgets.a
XCOMM Author:       Niels Mayer
XCOMM Created:      Fri Nov 24 19:47:38 1989
XCOMM Modified:     
XCOMM Language:     Imake
XCOMM Package:      N/A
XCOMM Status:       X11r6 contrib release
XCOMM
XCOMM Copyright (C) 1994, Enterprise Integration Technologies Corp. and Niels Mayer.
XCOMM WINTERP 1.15-1.99, Copyright (c) 1993, Niels P. Mayer.
XCOMM WINTERP 1.0-1.14, Copyright (c) 1989-1992 Hewlett-Packard Co. and Niels Mayer.
XCOMM 
XCOMM Permission to use, copy, modify, distribute, and sell this software and
XCOMM its documentation for any purpose is hereby granted without fee, provided
XCOMM that the above copyright notice appear in all copies and that both that
XCOMM copyright notice and this permission notice appear in supporting
XCOMM documentation, and that the name of Enterprise Integration Technologies,
XCOMM Hewlett-Packard Company, or Niels Mayer not be used in advertising or
XCOMM publicity pertaining to distribution of the software without specific,
XCOMM written prior permission. Enterprise Integration Technologies, 
XCOMM Hewlett-Packard Company, and Niels Mayer makes no representations about
XCOMM the suitability of this software for any purpose.  It is provided "as is"
XCOMM without express or implied warranty.
XCOMM 
XCOMM ENTERPRISE INTEGRATION TECHNOLOGIES, HEWLETT-PACKARD COMPANY AND NIELS
XCOMM MAYER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
XCOMM ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 
XCOMM ENTERPRISE INTEGRATION TECHNOLOGIES, HEWLETT-PACKARD COMPANY OR NIELS
XCOMM MAYER BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
XCOMM DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
XCOMM IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
XCOMM OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
XCOMM
XCOMM See ./winterp/COPYRIGHT for information on contacting the authors.
XCOMM
XCOMM Please e-mail comments, modifications, questions, improvements and
XCOMM bugfixes to the WINTERP mailing list winterp@netcom.com. Please send 
XCOMM mailing list subscribe/unsubscribe notices to winterp-request@netcom.com .
XCOMM 
XCOMM Post XLISP-specific questions/information to the USENET newsgroup
XCOMM comp.lang.lisp.x.
XCOMM
XCOMM --------------------------------------------------------------------------

/******************************************************************************/

#if (defined(SunArchitecture) && (OSMajorVersion > 4))
XCOMM -- Solaris 2.3 running built-in X11/Motif/cc from 2.3 SDK option.
 INCLUDES = -I. -I/usr/openwin/include -I/opt/SUNWmotif/include
 DEFINES = -DWINTERP
#else /* (defined(SunArchitecture) && (OSMajorVersion > 4)) */

#if (defined(SunArchitecture) && (OSMajorVersion <= 4))
XCOMM -- SunOS 4.1.3 -- you'll probably need to set -L in SYS_LIBRARIES
XCOMM -- and -I in INCLUDES unless your imake/xmkmf was set up correctly
XCOMM -- for your Motif (since there's no std location for this on SunOS).
 INCLUDES = -I.
 DEFINES = -DWINTERP
#else /* (defined(SunArchitecture) && (OSMajorVersion <= 4)) */

#ifdef HPArchitecture
XCOMM -- HPUX 9.0 w/ C/X/Motif developers environment has a useable built-in
XCOMM -- version of Motif 1.2 and X11r5. Set up SYS_LIBRARIES INCLUDES
XCOMM -- to refer to this Motif/Xtoolkit/Xlib.
 INCLUDES = -I. -I/usr/include/Motif1.2 -I/usr/include/X11R5
 DEFINES = -DWINTERP
#else /* !defined(HPArchitecture) */

#ifdef SGIArchitecture
XCOMM -- SGI Irix 5.X running built-in X11/Motif/cc from "IDO" option.
XCOMM -- use mmkmf (Motif version of xmkmf) to build Imakefiles
 INCLUDES = -I. -I/usr/include
 DEFINES = -DWINTERP
#else /* !defined(SGIArchitecture) */

#ifdef OSF1Architecture
XCOMM -- DEC OSF1 V2.0 running DEC's X11/Motif/cc developer environment option.
 INCLUDES = -I. -I/usr/include
 DEFINES = -DWINTERP
#else /* !defined(OSF1Architecture) */

XCOMM -- Default Architecture: you may need to add directories -I<xm-inc-dir>
XCOMM -- to INCLUDES and add -L<xm-lib-dir> to SYS_LIBRARIES if your
XCOMM -- 'xmkmf' and/or 'imake' has not been configured for compiling Motif
XCOMM --  programs.
 INCLUDES = -I.
 DEFINES = -DWINTERP

#endif /* OSF1Architecture */
#endif /* SGIArchitecture */
#endif /* HPArchitecture */
#endif /* (defined(SunArchitecture) && (OSMajorVersion <= 4)) */
#endif /* (defined(SunArchitecture) && (OSMajorVersion > 4)) */

/******************************************************************************/

 HEADERS      = Arc.h \
		ArcP.h \
		Graph.h \
		GraphP.h \
		Table.h \
		TableP.h \
		xgif.h

 SRCS         = Arc.c \
		Graph.c \
		Table.c \
		xgif.c

 OBJS         = $(SRCS:.c=.o)

NormalLibraryTarget(widgets,$(OBJS))
DependTarget()
