2006-11-26 11:13:41 -07:00
|
|
|
INCLUDES = \
|
|
|
|
@KDRIVE_INCS@ \
|
|
|
|
@KDRIVE_CFLAGS@ \
|
|
|
|
-I$(srcdir)/../../../exa
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
if XV
|
|
|
|
LIBXEPHYR_HOSTXV=libxephyr-hostxv.a
|
|
|
|
else
|
|
|
|
LIBXEPHYR_HOSTXV=
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XEPHYR_HAS_DRI
|
|
|
|
LIBXEPHYR_HOSTDRI=libxephyr-hostdri.a
|
|
|
|
else
|
|
|
|
LIBXEPHYR_HOSTDRI=
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_LIBRARIES = libxephyr-hostx.a $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) libxephyr.a
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
bin_PROGRAMS = Xephyr
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
libxephyr_hostx_a_SOURCES = \
|
|
|
|
hostx.c \
|
|
|
|
hostx.h
|
|
|
|
|
|
|
|
libxephyr_hostxv_a_INCLUDES = @XEPHYR_INCS@
|
|
|
|
|
|
|
|
if XV
|
|
|
|
libxephyr_hostxv_a_SOURCES= \
|
|
|
|
ephyrhostvideo.c \
|
|
|
|
ephyrhostvideo.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XEPHYR_HAS_DRI
|
|
|
|
|
|
|
|
libxephyr_hostdri_a_SOURCES= \
|
|
|
|
ephyrdriext.c \
|
|
|
|
ephyrdriext.h \
|
|
|
|
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
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
libxephyr_a_SOURCES = \
|
|
|
|
ephyr.c \
|
|
|
|
ephyr_draw.c \
|
2008-11-02 08:26:08 -07:00
|
|
|
ephyrvideo.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
os.c \
|
2008-11-02 08:26:08 -07:00
|
|
|
hostx.h \
|
|
|
|
ephyr.h \
|
|
|
|
ephyrlog.h
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
libxephyr_a_CFLAGS = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
@LIBDRM_CFLAGS@
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
Xephyr_SOURCES = \
|
|
|
|
ephyrinit.c
|
|
|
|
|
|
|
|
Xephyr_LDADD = \
|
|
|
|
libxephyr.a \
|
|
|
|
libxephyr-hostx.a \
|
2008-11-02 08:26:08 -07:00
|
|
|
$(LIBXEPHYR_HOSTXV) \
|
|
|
|
$(LIBXEPHYR_HOSTDRI) \
|
2006-11-26 11:13:41 -07:00
|
|
|
../../../exa/libexa.la \
|
|
|
|
@KDRIVE_LIBS@ \
|
2008-11-02 08:26:08 -07:00
|
|
|
@XEPHYR_LIBS@ \
|
|
|
|
@LIBDRM_LIBS@ \
|
|
|
|
@XEPHYR_DRI_LIBS@
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
Xephyr_DEPENDENCIES = \
|
2006-11-26 11:13:41 -07:00
|
|
|
libxephyr.a \
|
2007-11-24 10:55:21 -07:00
|
|
|
libxephyr-hostx.a \
|
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:
|
|
|
|
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)
|
2008-06-15 10:20:07 -06:00
|
|
|
|
|
|
|
MAN_SRCS = Xephyr.man.pre
|
|
|
|
|
|
|
|
appmandir = $(APP_MAN_DIR)
|
|
|
|
appman_DATA = Xephyr.$(APP_MAN_SUFFIX)
|
|
|
|
|
|
|
|
Xephyr.$(APP_MAN_SUFFIX): Xephyr.man
|
|
|
|
-rm -f Xephyr.$(APP_MAN_SUFFIX)
|
|
|
|
$(LN_S) Xephyr.man Xephyr.$(APP_MAN_SUFFIX)
|
|
|
|
|
|
|
|
include $(top_srcdir)/cpprules.in
|
|
|
|
|
|
|
|
CLEANFILES = $(appman_DATA) Xephyr.man
|
|
|
|
|
|
|
|
EXTRA_DIST = $(MAN_SRCS)
|