2011-11-05 07:32:40 -06:00
|
|
|
SUBDIRS = man
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
INCLUDES = \
|
|
|
|
@KDRIVE_INCS@ \
|
|
|
|
@KDRIVE_CFLAGS@ \
|
|
|
|
@XEPHYR_INCS@ \
|
|
|
|
@XEPHYR_CFLAGS@ \
|
|
|
|
@DRIPROTO_CFLAGS@ \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/exa
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
if XV
|
2010-07-27 13:02:24 -06:00
|
|
|
LIBXEPHYR_HOSTXV=libxephyr-hostxv.la
|
2008-11-02 08:26:08 -07:00
|
|
|
endif
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
if DRI
|
2010-07-27 13:02:24 -06:00
|
|
|
LIBXEPHYR_HOSTDRI=libxephyr-hostdri.la
|
2008-11-02 08:26:08 -07:00
|
|
|
endif
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
noinst_LTLIBRARIES = libxephyr-hostx.la $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) libxephyr.la
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
bin_PROGRAMS = Xephyr
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
HOSTX_SRCS = \
|
|
|
|
hostx.c \
|
2008-11-02 08:26:08 -07:00
|
|
|
hostx.h
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
HOSTVIDEO_SRCS = \
|
|
|
|
ephyrvideo.c \
|
|
|
|
ephyrhostvideo.c \
|
2008-11-02 08:26:08 -07:00
|
|
|
ephyrhostvideo.h
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
HOSTDRI_SRCS = \
|
|
|
|
ephyrdriext.c \
|
|
|
|
ephyrdriext.h \
|
|
|
|
ephyrdri.c \
|
|
|
|
ephyrdri.h \
|
|
|
|
XF86dri.c \
|
|
|
|
xf86dri.h \
|
|
|
|
ephyrglxext.c \
|
|
|
|
ephyrglxext.h \
|
|
|
|
ephyrhostglx.c \
|
|
|
|
ephyrhostglx.h
|
|
|
|
|
|
|
|
XEPHYR_SRCS = \
|
|
|
|
ephyr.c \
|
|
|
|
ephyr.h \
|
|
|
|
ephyrlog.h \
|
|
|
|
ephyr_draw.c \
|
|
|
|
os.c
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
libxephyr_hostx_la_SOURCES = $(HOSTX_SRCS)
|
2008-11-02 08:26:08 -07:00
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
if XV
|
2010-07-27 13:02:24 -06:00
|
|
|
libxephyr_hostxv_la_SOURCES = $(HOSTVIDEO_SRCS)
|
2008-11-02 08:26:08 -07:00
|
|
|
endif
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
if DRI
|
2010-07-27 13:02:24 -06:00
|
|
|
libxephyr_hostdri_la_SOURCES = $(HOSTDRI_SRCS)
|
2009-09-06 13:44:18 -06:00
|
|
|
endif
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
libxephyr_la_SOURCES = $(XEPHYR_SRCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
Xephyr_SOURCES = \
|
|
|
|
ephyrinit.c
|
|
|
|
|
|
|
|
Xephyr_LDADD = \
|
2010-07-27 13:02:24 -06:00
|
|
|
libxephyr.la \
|
|
|
|
libxephyr-hostx.la \
|
2008-11-02 08:26:08 -07:00
|
|
|
$(LIBXEPHYR_HOSTXV) \
|
|
|
|
$(LIBXEPHYR_HOSTDRI) \
|
2009-09-06 13:44:18 -06:00
|
|
|
$(top_builddir)/exa/libexa.la \
|
2006-11-26 11:13:41 -07:00
|
|
|
@KDRIVE_LIBS@ \
|
2009-09-06 13:44:18 -06:00
|
|
|
@XEPHYR_LIBS@
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
Xephyr_DEPENDENCIES = \
|
2010-07-27 13:02:24 -06:00
|
|
|
libxephyr.la \
|
|
|
|
libxephyr-hostx.la \
|
2008-11-02 08:26:08 -07:00
|
|
|
$(LIBXEPHYR_HOSTXV) \
|
|
|
|
$(LIBXEPHYR_HOSTDRI) \
|
2007-11-24 10:55:21 -07:00
|
|
|
@KDRIVE_LOCAL_LIBS@
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
Xephyr_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
relink:
|
2010-07-27 13:02:24 -06:00
|
|
|
$(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS)
|
2008-06-15 10:20:07 -06:00
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(HOSTVIDEO_SRCS) \
|
2011-11-05 07:32:40 -06:00
|
|
|
$(HOSTDRI_SRCS)
|