aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/swrastwgl_dri/makefile
blob: bf0e66f16ea470f9d9e998afe3515b07ffaf69f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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: 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: 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