2008-04-23 16:45:19 +02:00
|
|
|
INCLUDES = \
|
|
|
|
@KDRIVE_INCS@ \
|
|
|
|
@KDRIVE_CFLAGS@ \
|
|
|
|
@XEPHYR_INCS@ \
|
2008-04-23 16:45:54 +02:00
|
|
|
@XEPHYR_CFLAGS@ \
|
|
|
|
@DRIPROTO_CFLAGS@ \
|
2008-04-23 16:45:19 +02:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/exa
|
|
|
|
|
2007-11-07 18:48:23 +01:00
|
|
|
if XV
|
2008-04-23 16:45:19 +02:00
|
|
|
LIBXEPHYR_HOSTXV=libxephyr-hostxv.a
|
2007-11-07 18:48:23 +01:00
|
|
|
endif
|
2004-08-31 18:33:05 +02:00
|
|
|
|
2008-04-23 16:46:30 +02:00
|
|
|
if DRI
|
2008-04-23 16:45:19 +02:00
|
|
|
LIBXEPHYR_HOSTDRI=libxephyr-hostdri.a
|
2007-11-07 18:48:23 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_LIBRARIES = libxephyr-hostx.a $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) libxephyr.a
|
2004-08-31 18:33:05 +02:00
|
|
|
|
2007-11-07 18:48:23 +01:00
|
|
|
bin_PROGRAMS = Xephyr
|
2004-08-31 18:33:05 +02:00
|
|
|
|
2008-04-23 16:45:37 +02:00
|
|
|
HOSTX_SRCS = \
|
2008-04-23 16:45:19 +02:00
|
|
|
hostx.c \
|
2007-07-21 12:08:39 +02:00
|
|
|
hostx.h
|
|
|
|
|
2008-04-23 16:45:37 +02:00
|
|
|
HOSTVIDEO_SRCS = \
|
2008-04-23 16:45:19 +02:00
|
|
|
ephyrvideo.c \
|
|
|
|
ephyrhostvideo.c \
|
2007-07-21 12:08:39 +02:00
|
|
|
ephyrhostvideo.h
|
2007-11-07 18:48:23 +01:00
|
|
|
|
2008-04-23 16:45:37 +02:00
|
|
|
HOSTDRI_SRCS = \
|
2008-04-23 16:45:19 +02:00
|
|
|
ephyrdriext.c \
|
|
|
|
ephyrdriext.h \
|
|
|
|
ephyrdri.c \
|
|
|
|
ephyrdri.h \
|
|
|
|
XF86dri.c \
|
2008-04-23 16:46:15 +02:00
|
|
|
xf86dri.h \
|
2008-04-23 16:45:19 +02:00
|
|
|
ephyrglxext.c \
|
|
|
|
ephyrglxext.h \
|
|
|
|
ephyrhostglx.c \
|
|
|
|
ephyrhostglx.h
|
2007-07-21 12:08:39 +02:00
|
|
|
|
2008-04-23 16:45:37 +02:00
|
|
|
XEPHYR_SRCS = \
|
2008-04-23 16:45:19 +02:00
|
|
|
ephyr.c \
|
|
|
|
ephyr.h \
|
|
|
|
ephyrlog.h \
|
|
|
|
ephyr_draw.c \
|
|
|
|
os.c
|
2007-08-14 22:48:41 +02:00
|
|
|
|
2008-04-23 16:45:37 +02:00
|
|
|
libxephyr_hostx_a_SOURCES = $(HOSTX_SRCS)
|
|
|
|
|
|
|
|
if XV
|
|
|
|
libxephyr_hostxv_a_SOURCES = $(HOSTVIDEO_SRCS)
|
|
|
|
endif
|
|
|
|
|
2008-04-23 16:46:30 +02:00
|
|
|
if DRI
|
2008-04-23 16:45:37 +02:00
|
|
|
libxephyr_hostdri_a_SOURCES = $(HOSTDRI_SRCS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
libxephyr_a_SOURCES = $(XEPHYR_SRCS)
|
|
|
|
|
2004-08-31 18:33:05 +02:00
|
|
|
Xephyr_SOURCES = \
|
|
|
|
ephyrinit.c
|
|
|
|
|
|
|
|
Xephyr_LDADD = \
|
|
|
|
libxephyr.a \
|
2008-04-23 16:45:19 +02:00
|
|
|
libxephyr-hostx.a \
|
2007-11-07 18:48:23 +01:00
|
|
|
$(LIBXEPHYR_HOSTXV) \
|
|
|
|
$(LIBXEPHYR_HOSTDRI) \
|
2008-04-23 16:45:19 +02:00
|
|
|
$(top_builddir)/exa/libexa.la \
|
2004-08-31 18:33:05 +02:00
|
|
|
@KDRIVE_LIBS@ \
|
2008-04-23 16:45:54 +02:00
|
|
|
@XEPHYR_LIBS@
|
2007-04-26 21:28:04 +02:00
|
|
|
|
2007-07-05 06:57:41 +02:00
|
|
|
Xephyr_DEPENDENCIES = \
|
|
|
|
libxephyr.a \
|
2008-04-23 16:45:19 +02:00
|
|
|
libxephyr-hostx.a \
|
2007-11-07 18:48:23 +01:00
|
|
|
$(LIBXEPHYR_HOSTXV) \
|
|
|
|
$(LIBXEPHYR_HOSTDRI) \
|
2007-07-05 06:57:41 +02:00
|
|
|
@KDRIVE_LOCAL_LIBS@
|
2007-06-27 21:24:42 +02:00
|
|
|
|
2007-04-26 21:28:04 +02:00
|
|
|
relink:
|
|
|
|
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)
|
2008-04-23 16:45:37 +02:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(HOSTVIDEO_SRCS) \
|
|
|
|
$(HOSTDRI_SRCS)
|