* hw/kdrive/ephyr/XF86dri.c: re format this correctly. Make function decls honour the Ansi-C standard. * hw/kdrive/ephyr/ephyr.c: protect glx/dri related extension initialisation with the XEPHYR_DRI macro. Initialize the GLX ext hijacking at startup. * hw/kdrive/ephyr/ephyrdri.c: add more logging to ease debugging * hw/kdrive/ephyr/ephyrdriext.c: ditto. reformat. * hw/kdrive/ephyr/ephyrglxext.c,h: add this extension to proxy GLX requests to the host X. started to proxy those nedded to make glxinfo work with fglrx. Not yet finished. * hw/kdrive/ephyr/ephyrhostglx.c,h: put here the actual Xlib code used to hit the host X server because Xlib stuff cannot be mixed with xserver internal code, otherwise compilation erros due to type clashes happen. So no Xlib type should be exported by the entrypoints defined here.
64 lines
1.1 KiB
Makefile
64 lines
1.1 KiB
Makefile
INCLUDES = \
|
|
@KDRIVE_INCS@ \
|
|
@KDRIVE_CFLAGS@ \
|
|
-I$(srcdir)/../../../exa
|
|
|
|
noinst_LIBRARIES = libxephyr-hostx.a libxephyr-hostxv.a libxephyr.a
|
|
|
|
bin_PROGRAMS = Xephyr
|
|
|
|
|
|
libxephyr_hostx_a_SOURCES = \
|
|
hostx.c \
|
|
hostx.h
|
|
|
|
libxephyr_hostx_a_INCLUDES = @XEPHYR_INCS@
|
|
|
|
libxephyr_hostxv_a_SOURCES= \
|
|
ephyrhostvideo.c \
|
|
ephyrhostvideo.h
|
|
|
|
libxephyr_a_SOURCES = \
|
|
ephyr.c \
|
|
ephyr_draw.c \
|
|
ephyrvideo.c \
|
|
XF86dri.c \
|
|
ephyrdriext.c \
|
|
ephyrdri.c \
|
|
ephyrdri.h \
|
|
ephyrglxext.c \
|
|
ephyrglxext.h \
|
|
ephyrhostglx.c \
|
|
ephyrhostglx.h \
|
|
os.c \
|
|
hostx.h \
|
|
ephyr.h \
|
|
ephyrlog.h
|
|
|
|
libxephyr_a_CFLAGS = \
|
|
@LIBDRM_CFLAGS@ \
|
|
-I$(top_srcdir) \
|
|
@DRIPROTO_CFLAGS@
|
|
|
|
Xephyr_SOURCES = \
|
|
ephyrinit.c
|
|
|
|
Xephyr_LDADD = \
|
|
libxephyr.a \
|
|
libxephyr-hostx.a \
|
|
libxephyr-hostxv.a \
|
|
../../../exa/libexa.la \
|
|
@KDRIVE_LIBS@ \
|
|
@XEPHYR_LIBS@ \
|
|
@LIBDRM_LIBS@ \
|
|
-lGL
|
|
|
|
Xephyr_DEPENDENCIES = \
|
|
libxephyr.a \
|
|
libxephyr-hostx.a \
|
|
libxephyr-hostxv.a \
|
|
@KDRIVE_LOCAL_LIBS@
|
|
|
|
relink:
|
|
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)
|