aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL/apple/Imakefile
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
commitf4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch)
tree2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/programs/Xserver/GL/apple/Imakefile
parenta840692edc9c6d19cd7c057f68e39c7d95eb767d (diff)
downloadnx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository
Diffstat (limited to 'nx-X11/programs/Xserver/GL/apple/Imakefile')
-rw-r--r--nx-X11/programs/Xserver/GL/apple/Imakefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/GL/apple/Imakefile b/nx-X11/programs/Xserver/GL/apple/Imakefile
new file mode 100644
index 000000000..36b780c73
--- /dev/null
+++ b/nx-X11/programs/Xserver/GL/apple/Imakefile
@@ -0,0 +1,49 @@
+XCOMM $XFree86: xc/programs/Xserver/GL/apple/Imakefile,v 1.2 2003/09/16 00:36:11 torrey Exp $
+
+#include <Server.tmpl>
+
+ 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))
+LinkSourceFile(compsize.c,$(MESASRCDIR)/src/glx/x11)
+
+ BASE_SRCS = compsize.c
+ BASE_OBJS = compsize.o
+
+ AGL_SRCS = aglGlx.c
+ AGL_OBJS = aglGlx.o
+
+#if HasXplugin
+ GL_SRCS = indirect.c x-hash.c x-list.c
+ GL_OBJS = indirect.o x-hash.o x-list.o
+
+ AS = /System/Library/Frameworks/ApplicationServices.framework
+
+ GL_INCLUDES = -I$(LIBSRC)/GL/apple -I$(XPRDIR) -I$(XPINCDIR) \
+ -F$(AS)/Frameworks
+#endif
+
+ SRCS = $(BASE_SRCS) $(AGL_SRCS) $(GL_SRCS)
+ OBJS = $(BASE_OBJS) $(AGL_OBJS) $(GL_OBJS)
+
+ INCLUDES = -I. -I$(INCLUDESRC) -I$(XINCLUDESRC) -I$(EXTINCSRC) \
+ -I$(LIBSRC)/GL/glx -I$(LIBSRC)/GL/include \
+ -I$(SERVERSRC)/mi -I$(SERVERSRC)/include -I$(FONTINCSRC) \
+ -I$(SERVERSRC)/render -I$(SERVERSRC)/GL/include \
+ -I$(SERVERSRC)/GL/glx -I$(SERVERSRC)/hw/darwin/quartz/cr \
+ -I$(SERVERSRC)/hw/darwin/quartz $(GL_INCLUDES) \
+ -I$(MESASRCDIR)/include -I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(XF86OSSRC)
+
+ DEFINES = $(GLX_DEFINES)
+
+NormalLibraryTarget(AGLcore,$(AGL_OBJS) $(BASE_OBJS))
+#if HasXplugin
+NormalLibraryTarget(CGLcore,$(GL_OBJS) $(BASE_OBJS))
+#endif
+NormalLibraryObjectRule()
+
+DependTarget()