diff options
Diffstat (limited to 'nx-X11/lib/GLU/Imakefile')
-rw-r--r-- | nx-X11/lib/GLU/Imakefile | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/nx-X11/lib/GLU/Imakefile b/nx-X11/lib/GLU/Imakefile new file mode 100644 index 000000000..5e6ae3139 --- /dev/null +++ b/nx-X11/lib/GLU/Imakefile @@ -0,0 +1,133 @@ +XCOMM $XFree86: xc/lib/GLU/Imakefile,v 1.5 2001/06/05 23:03:20 dawes Exp $ + +XCOMM License Applicability. Except to the extent portions of this file are +XCOMM made subject to an alternative license as permitted in the SGI Free +XCOMM Software License B, Version 1.1 (the "License"), the contents of this +XCOMM file are subject only to the provisions of the License. You may not use +XCOMM this file except in compliance with the License. You may obtain a copy +XCOMM of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 +XCOMM Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: +XCOMM +XCOMM http://oss.sgi.com/projects/FreeB +XCOMM +XCOMM Note that, as provided in the License, the Software is distributed on an +XCOMM "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS +XCOMM DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND +XCOMM CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A +XCOMM PARTICULAR PURPOSE, AND NON-INFRINGEMENT. +XCOMM +XCOMM Original Code. The Original Code is: OpenGL Sample Implementation, +XCOMM Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, +XCOMM Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. +XCOMM Copyright in any portions created by third parties is as indicated +XCOMM elsewhere herein. All Rights Reserved. +XCOMM +XCOMM Additional Notice Provisions: The application programming interfaces +XCOMM established by SGI in conjunction with the Original Code are The +XCOMM OpenGL(R) Graphics System: A Specification (Version 1.2.1), released +XCOMM April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version +XCOMM 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X +XCOMM Window System(R) (Version 1.3), released October 19, 1998. This software +XCOMM was created using the OpenGL(R) version 1.2.1 Sample Implementation +XCOMM published by SGI, but has not been independently verified as being +XCOMM compliant with the OpenGL(R) version 1.2.1 Specification. +XCOMM + +#define IHaveSubdirs + +#define DoNormalLib NormalLibGlu +#define DoSharedLib SharedLibGlu +#define DoDebugLib DebugLibGlu +#define DoProfileLib ProfileLibGlu +#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' + +LIBNAME = GLU +SOREV = $(SOGLUREV) + +#define CplusplusSource + +#ifdef SharedGLUReqs +REQUIREDLIBS = SharedGLUReqs +#endif + +#ifndef SeparateSharedCompile +#define SeparateSharedCompile YES +#endif +#if NormalLibGlu && SharedLibGlu && SeparateSharedCompile +STATIC_OBJSDIR = unshared/ +#endif + +SUBDIRS = \ + include \ + libutil \ + libtess \ + libnurbs/internals \ + libnurbs/interface \ + libnurbs/nurbtess + + SHARED_OBJS = libutil/?*.o libtess/?*.o \ + libnurbs/internals/?*.o \ + libnurbs/interface/?*.o \ + libnurbs/nurbtess/?*.o + + STATIC_OBJS = libutil/$(STATIC_OBJSDIR)?*.o libtess/$(STATIC_OBJSDIR)?*.o \ + libnurbs/internals/$(STATIC_OBJSDIR)?*.o \ + libnurbs/interface/$(STATIC_OBJSDIR)?*.o \ + libnurbs/nurbtess/$(STATIC_OBJSDIR)?*.o + + DEBUG_OBJS = libutil/debugger/?*.o libtess/debugger/?*.o \ + libnurbs/internals/debugger/?*.o \ + libnurbs/interface/debugger/?*.o \ + libnurbs/nurbtess/debugger/?*.o + + PROFILE_OBJS = libutil/profiled/?*.o libtess/profiled/?*.o \ + libnurbs/internals/profiled/?*.o \ + libnurbs/interface/profiled/?*.o \ + libnurbs/nurbtess/profiled/?*.o + + DONES = libutil/DONE libtess/DONE \ + libnurbs/internals/DONE \ + libnurbs/interface/DONE \ + libnurbs/nurbtess/DONE + +#if HasParallelMake +MakeMutex($(SUBDIRS) $(DONES)) +#endif + +#if HasGnuMake || HasBsdMake +$(DONES): $(SUBDIRS) +#endif + +#include <Library.tmpl> + +#undef _LinkBuildLibrary +#define _LinkBuildLibrary(lib) LinkBuildLibrary(lib) + +#if NormalLibGlu +NormalDepLibraryTarget($(LIBNAME),$(SUBDIRS) $(DONES),$(STATIC_OBJS)) +InstallLibrary($(LIBNAME),$(USRLIBDIR)) +#endif + +#if SharedLibGlu +#ifdef SharedDepCplusplusLibraryTarget +SharedDepCplusplusLibraryTarget($(LIBNAME),$(SOREV),$(SUBDIRS) $(DONES),$(SHARED_OBJS),.,.) +#else +SharedDepLibraryTarget($(LIBNAME),$(SOREV),$(SUBDIRS) $(DONES),$(SHARED_OBJS),.,.) +#endif +InstallSharedLibrary($(LIBNAME),$(SOREV),$(SHLIBDIR)) +#endif + +#if DebugLibGlu +DebuggedDepLibraryTarget($(LIBNAME),$(SUBDIRS) $(DONES),$(DEBUG_OBJS)) +InstallLibrary($(LIBNAME)_d,$(USRLIBDIR)) +#endif /* DebugLibGlu */ + +#if ProfileLibGlu +ProfiledDepLibraryTarget($(LIBNAME),$(SUBDIRS) $(DONES),$(PROFILE_OBJS)) +InstallLibrary($(LIBNAME)_p,$(USRLIBDIR)) +#endif /* ProfileLibGlu */ + + +ForceSubdirs($(SUBDIRS)) +DependSubdirs($(SUBDIRS)) + |