forked from AuroraMiddleware/gtk
536fa88cd8
This adds support for OpenGL to the GDK Windows backend using the WGL API calls, which enables programs that uses the GTK+ GLArea widgets to work on Windows as well. This also adds a simple utility function to query for the version of OpenGL that is supported by the Windows system, like the one provided by the X11 backend. Many thanks to Alex (and Emmanuele, who started the OpenGL integration in GTK+) who offered advice and help along the way, as well as the X11 and Wayland backend for this work to refer to and to model upon. https://bugzilla.gnome.org/show_bug.cgi?id=740795
88 lines
1.7 KiB
Makefile
88 lines
1.7 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
libgdkincludedir = $(includedir)/gtk-3.0/gdk
|
|
libgdkwin32includedir = $(includedir)/gtk-3.0/gdk/win32
|
|
|
|
AM_CPPFLAGS = \
|
|
-DG_LOG_DOMAIN=\"Gdk\" \
|
|
-DINSIDE_GDK_WIN32 \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_builddir)/gdk \
|
|
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
|
$(GTK_DEBUG_FLAGS) \
|
|
$(GDK_DEP_CFLAGS) \
|
|
$(GDK_WIN32_EXTRA_CFLAGS) \
|
|
-DGDK_COMPILATION
|
|
|
|
LDADDS = $(GDK_DEP_LIBS)
|
|
|
|
noinst_LTLIBRARIES = libgdk-win32.la
|
|
|
|
SUBDIRS=rc
|
|
|
|
EXTRA_DIST += \
|
|
bdfcursor.c \
|
|
makefile.msc
|
|
|
|
libgdk_win32_la_SOURCES = \
|
|
gdkcursor-win32.c \
|
|
gdkdevicemanager-win32.c \
|
|
gdkdevicemanager-win32.h \
|
|
gdkdevice-virtual.c \
|
|
gdkdevice-virtual.h \
|
|
gdkdevice-win32.c \
|
|
gdkdevice-win32.h \
|
|
gdkdevice-wintab.c \
|
|
gdkdevice-wintab.h \
|
|
gdkdisplay-win32.c \
|
|
gdkdisplay-win32.h \
|
|
gdkdisplaymanager-win32.c \
|
|
gdkdnd-win32.c \
|
|
gdkevents-win32.c \
|
|
gdkgeometry-win32.c \
|
|
gdkglcontext-win32.c \
|
|
gdkglcontext-win32.h \
|
|
gdkglobals-win32.c \
|
|
gdkinput.c \
|
|
gdkkeys-win32.c \
|
|
gdkmain-win32.c \
|
|
gdkprivate-win32.h \
|
|
gdkproperty-win32.c \
|
|
gdkscreen-win32.c \
|
|
gdkselection-win32.c \
|
|
gdktestutils-win32.c \
|
|
gdkvisual-win32.c \
|
|
gdkwin32cursor.h \
|
|
gdkwin32display.h \
|
|
gdkwin32displaymanager.h \
|
|
gdkwin32dnd.h \
|
|
gdkwin32glcontext.h \
|
|
gdkwin32.h \
|
|
gdkwin32id.c \
|
|
gdkwin32keys.h \
|
|
gdkwin32screen.h \
|
|
gdkwin32window.h \
|
|
gdkwindow-win32.c \
|
|
gdkwindow-win32.h \
|
|
pktdef.h \
|
|
wintab.h \
|
|
xcursors.h
|
|
|
|
libgdkinclude_HEADERS = \
|
|
gdkwin32.h
|
|
|
|
libgdkwin32include_HEADERS = \
|
|
gdkwin32cursor.h \
|
|
gdkwin32display.h \
|
|
gdkwin32displaymanager.h\
|
|
gdkwin32dnd.h \
|
|
gdkwin32glcontext.h \
|
|
gdkwin32keys.h \
|
|
gdkwin32misc.h \
|
|
gdkwin32screen.h \
|
|
gdkwin32window.h
|
|
|
|
-include $(top_srcdir)/git.mk
|