aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL/windows/Imakefile
blob: 2b3ddeb127d64a8d36d17fd832a355f698c14596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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()