2004-08-31 18:33:05 +02:00
|
|
|
INCLUDES = \
|
|
|
|
@KDRIVE_INCS@ \
|
2006-03-07 20:57:46 +01:00
|
|
|
@KDRIVE_CFLAGS@ \
|
|
|
|
-I$(srcdir)/../../../exa
|
2004-08-31 18:33:05 +02:00
|
|
|
|
2007-11-07 18:48:23 +01:00
|
|
|
if XV
|
|
|
|
LIBXEPHYR_HOSTXV=libxephyr-hostxv.a
|
|
|
|
else
|
|
|
|
LIBXEPHYR_HOSTXV=
|
|
|
|
endif
|
2004-08-31 18:33:05 +02:00
|
|
|
|
2007-11-07 18:48:23 +01:00
|
|
|
if XEPHYR_HAS_DRI
|
|
|
|
LIBXEPHYR_HOSTDRI=libxephyr-hostdri.a
|
|
|
|
else
|
|
|
|
LIBXEPHYR_HOSTDRI=
|
|
|
|
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
|
|
|
|
|
|
|
libxephyr_hostx_a_SOURCES = \
|
|
|
|
hostx.c \
|
2007-07-21 12:08:39 +02:00
|
|
|
hostx.h
|
|
|
|
|
2007-11-07 18:48:23 +01:00
|
|
|
libxephyr_hostxv_a_INCLUDES = @XEPHYR_INCS@
|
2004-08-31 18:33:05 +02:00
|
|
|
|
2007-11-07 18:48:23 +01:00
|
|
|
if XV
|
2007-07-21 12:08:39 +02:00
|
|
|
libxephyr_hostxv_a_SOURCES= \
|
|
|
|
ephyrhostvideo.c \
|
|
|
|
ephyrhostvideo.h
|
2007-11-07 18:48:23 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if XEPHYR_HAS_DRI
|
|
|
|
|
|
|
|
libxephyr_hostdri_a_SOURCES= \
|
|
|
|
ephyrdriext.c \
|
|
|
|
ephyrdri.c \
|
|
|
|
ephyrdri.h \
|
|
|
|
XF86dri.c \
|
|
|
|
ephyrglxext.c \
|
|
|
|
ephyrglxext.h \
|
|
|
|
ephyrhostglx.c \
|
|
|
|
ephyrhostglx.h
|
|
|
|
|
|
|
|
libxephyr_hostdri_a_CFLAGS= \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
@LIBDRM_CFLAGS@ \
|
|
|
|
@DRIPROTO_CFLAGS@
|
|
|
|
|
|
|
|
endif
|
2007-07-21 12:08:39 +02:00
|
|
|
|
|
|
|
libxephyr_a_SOURCES = \
|
|
|
|
ephyr.c \
|
|
|
|
ephyr_draw.c \
|
|
|
|
ephyrvideo.c \
|
|
|
|
os.c \
|
|
|
|
hostx.h \
|
|
|
|
ephyr.h \
|
|
|
|
ephyrlog.h
|
2004-08-31 18:33:05 +02:00
|
|
|
|
2007-08-23 11:53:02 +02:00
|
|
|
libxephyr_a_CFLAGS = \
|
|
|
|
-I$(top_srcdir) \
|
2007-11-07 18:48:23 +01:00
|
|
|
@LIBDRM_CFLAGS@
|
2007-08-14 22:48:41 +02:00
|
|
|
|
2004-08-31 18:33:05 +02:00
|
|
|
Xephyr_SOURCES = \
|
|
|
|
ephyrinit.c
|
|
|
|
|
|
|
|
Xephyr_LDADD = \
|
|
|
|
libxephyr.a \
|
|
|
|
libxephyr-hostx.a \
|
2007-11-07 18:48:23 +01:00
|
|
|
$(LIBXEPHYR_HOSTXV) \
|
|
|
|
$(LIBXEPHYR_HOSTDRI) \
|
2006-04-17 09:10:31 +02:00
|
|
|
../../../exa/libexa.la \
|
2004-08-31 18:33:05 +02:00
|
|
|
@KDRIVE_LIBS@ \
|
2007-08-15 19:40:10 +02:00
|
|
|
@XEPHYR_LIBS@ \
|
|
|
|
@LIBDRM_LIBS@ \
|
2007-11-07 18:48:23 +01:00
|
|
|
@XEPHYR_DRI_LIBS@
|
2007-04-26 21:28:04 +02:00
|
|
|
|
2007-07-05 06:57:41 +02:00
|
|
|
Xephyr_DEPENDENCIES = \
|
|
|
|
libxephyr.a \
|
|
|
|
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)
|