From f4092abdf94af6a99aff944d6264bc1284e8bdd4 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Mon, 10 Oct 2011 17:43:39 +0200 Subject: Imported nx-X11-3.1.0-1.tar.gz Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository --- nx-X11/lib/GL/apple/Imakefile | 54 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 nx-X11/lib/GL/apple/Imakefile (limited to 'nx-X11/lib/GL/apple/Imakefile') diff --git a/nx-X11/lib/GL/apple/Imakefile b/nx-X11/lib/GL/apple/Imakefile new file mode 100644 index 000000000..0a593e63e --- /dev/null +++ b/nx-X11/lib/GL/apple/Imakefile @@ -0,0 +1,54 @@ +XCOMM $XFree86: xc/lib/GL/apple/Imakefile,v 1.2 2003/10/09 23:42:32 torrey Exp $ + +#include + +#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) +#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) +#define DoExtraLib SharedLibGlx +#define DoDebugLib DebugLibGlx +#define DoProfileLib ProfileLibGlx + + XPRDIR = $(SERVERSRC)/hw/darwin/quartz/xpr + +LinkSourceFile(x-list.c,$(XPRDIR)) +LinkSourceFile(x-list.h,$(XPRDIR)) +LinkSourceFile(x-hash.c,$(XPRDIR)) +LinkSourceFile(x-hash.h,$(XPRDIR)) + +#if Malloc0ReturnsNull +ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL +#endif + + DRI_SRCS = dri_glx.c dri_driver.c dri_dispatch.c x-hash.c x-list.c + DRI_OBJS = dri_glx.o dri_driver.o dri_dispatch.o x-hash.o x-list.o + DRI_INCS = -I. -I$(GLXLIBSRC)/glx -I$(INCLUDESRC) -I$(INCLUDESRC)/GL \ + -I$(XINCLUDESRC) -I$(SERVERSRC)/GL/dri -I$(XPINCDIR) \ + -I$(MESASRCDIR)/include -I$(MESASRCDIR)/src/mesa/glapi \ + -I$(GLXLIBSRC)/include + + AS = /System/Library/Frameworks/ApplicationServices.framework + + DEFINES = $(ALLOC_DEFINES) GlxDefines $(GLX_DEFS) -DXP_NO_X_HEADERS=1 \ + -DOSVERSION=OSMajorVersion*100+OSMinorVersion + INCLUDES = -I$(XLIBSRC) -I$(EXTINCSRC) -I$(XF86OSSRC) \ + -I$(DRMSRCDIR)/shared-core -I$(DRI_INCS) -F$(AS)/Frameworks + SRCS = appledri.c $(DRI_SRCS) + OBJS = appledri.o $(DRI_OBJS) + +/* We won't require this to run when building normally, just for updating. + Also, don't give it any dependences so make doesn't attempt to rebuild + it if the dates get screwed up. (It actually depends on build-dispatch + and dri_dispatch.defs) */ +dri_dispatch.h : + ./build-dispatch $@ + +LinkSourceFile(drm.h,$(DRMSRCDIR)/shared-core) + +#include + +LibraryObjectRule() + +SubdirLibraryRule($(OBJS)) +NormalLintTarget($(SRCS)) + +DependTarget() -- cgit v1.2.3