aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/swrastwgl_dri/makefile
blob: 201f2aeb9366eb8f7969cf46cafbb85c92bd7afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ifndef PYTHON3
$(error Please define PYTHON3 environment variable)
endif

SHAREDLIB = swrastwgl_dri

INCLUDES += $(OBJDIR) ..\..\.. .. ..\glx
DEFINES += INSERVER HAVE_XWIN_CONFIG_H PTW32_STATIC_LIB

$(OBJDIR)\swrastwgl_dri.dll : ..\..\..\$(SERVOBJDIR)\vcxsrv.exe
LINKLIBS += ..\..\..\$(SERVOBJDIR)\vcxsrv.lib

CSRCS = swrastwgl_dri.c glwrap.c wgl_ext_api.c

vpath %.c ../glx

$(OBJDIR)\generated_gl_wrappers.c: ../glx/gen_gl_wrappers.py ../glx/gl.xml ../glx/gen_gl_wrappers.py ../glx/reg.py ../../../glx/dispatch.h
	$(PYTHON3) ../glx/gen_gl_wrappers.py -outfile $@ -nodbgcount -registry ../glx/gl.xml -staticwrappers -dispatchheader ../../../glx/dispatch.h

$(OBJDIR)\generated_wgl_wrappers.c: ../glx/gen_gl_wrappers.py ../glx/wgl.xml ../glx/gen_gl_wrappers.py ../glx/reg.py
	$(PYTHON3) ../glx/gen_gl_wrappers.py -outfile $@ -nodbgcount -registry ../glx/wgl.xml -prefix wgl -preresolve