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
|
2009-09-06 13:44:18 -06:00
|
|
|
LIBXEPHYR_HOSTXV=libxephyr-hostxv.a
|
2008-11-02 08:26:08 -07:00
|
|
|
endif
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
if DRI
|
|
|
|
LIBXEPHYR_HOSTDRI=libxephyr-hostdri.a
|
2008-11-02 08:26:08 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_LIBRARIES = libxephyr-hostx.a $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) libxephyr.a
|
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
|
|
|
|
|
|
|
|
libxephyr_hostx_a_SOURCES = $(HOSTX_SRCS)
|
2008-11-02 08:26:08 -07:00
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
if XV
|
|
|
|
libxephyr_hostxv_a_SOURCES = $(HOSTVIDEO_SRCS)
|
2008-11-02 08:26:08 -07:00
|
|
|
endif
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
if DRI
|
|
|
|
libxephyr_hostdri_a_SOURCES = $(HOSTDRI_SRCS)
|
|
|
|
endif
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
libxephyr_a_SOURCES = $(XEPHYR_SRCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
Xephyr_SOURCES = \
|
|
|
|
ephyrinit.c
|
|
|
|
|
|
|
|
Xephyr_LDADD = \
|
|
|
|
libxephyr.a \
|
2009-09-06 13:44:18 -06:00
|
|
|
libxephyr-hostx.a \
|
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 = \
|
2006-11-26 11:13:41 -07:00
|
|
|
libxephyr.a \
|
2009-09-06 13:44:18 -06: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
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(HOSTVIDEO_SRCS) \
|
|
|
|
$(HOSTDRI_SRCS) \
|
|
|
|
$(MAN_SRCS)
|