diff options
Diffstat (limited to 'xorg-server/hw/xwin/swrastwgl_dri/makefile')
-rwxr-xr-x | xorg-server/hw/xwin/swrastwgl_dri/makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/swrastwgl_dri/makefile b/xorg-server/hw/xwin/swrastwgl_dri/makefile new file mode 100755 index 000000000..201f2aeb9 --- /dev/null +++ b/xorg-server/hw/xwin/swrastwgl_dri/makefile @@ -0,0 +1,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 |