aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL/windows/Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/GL/windows/Imakefile')
-rwxr-xr-xnx-X11/programs/Xserver/GL/windows/Imakefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/GL/windows/Imakefile b/nx-X11/programs/Xserver/GL/windows/Imakefile
new file mode 100755
index 000000000..2b3ddeb12
--- /dev/null
+++ b/nx-X11/programs/Xserver/GL/windows/Imakefile
@@ -0,0 +1,36 @@
+#include <Server.tmpl>
+
+LinkSourceFile(compsize.c,$(MESASRCDIR)/src/glx/x11)
+
+ SRCS = compsize.c indirect.c glwrap.c
+ OBJS = compsize.o indirect.o glwrap.o
+
+ INCLUDES = -I. \
+ -I$(INCLUDESRC) \
+ -I$(XINCLUDESRC) \
+ -I$(EXTINCSRC) \
+ -I$(SERVERSRC)/include \
+ -I$(SERVERSRC)/render \
+ -I$(SERVERSRC)/hw/xwin \
+ -I$(SERVERSRC)/GL/include \
+ -I$(SERVERSRC)/GL/glx \
+ -I$(LIBSRC)/GL/glx \
+ -I$(LIBSRC)/GL/include \
+ -I$(MESASRCDIR)/include \
+ -I$(MESASRCDIR)/src \
+ -I$(MESASRCDIR)/src/mesa/glapi \
+ $(GL_INCLUDES)
+
+#if defined(GlxUseWindows) && GlxUseWindows
+ CYGWIN_GL_DEFINES = -DUSE_OPENGL32
+#endif
+#if defined(Win32Architecture)
+# undef __stdcall
+ APIENTRY_DEFS = -DAPIENTRY=__stdcall
+#endif
+ DEFINES = $(GLX_DEFINES) $(CYGWIN_GL_DEFINES) $(APIENTRY_DEFS)
+
+NormalLibraryTarget(GLcore,$(OBJS))
+NormalLibraryObjectRule()
+
+DependTarget()