1SUBDIRS = man 2 3INCLUDES = \ 4 @KDRIVE_INCS@ \ 5 @KDRIVE_CFLAGS@ \ 6 @XEPHYR_INCS@ \ 7 @XEPHYR_CFLAGS@ \ 8 @DRIPROTO_CFLAGS@ \ 9 -I$(top_srcdir) \ 10 -I$(top_srcdir)/exa 11 12if XV 13LIBXEPHYR_HOSTXV=libxephyr-hostxv.la 14endif 15 16if DRI 17LIBXEPHYR_HOSTDRI=libxephyr-hostdri.la 18endif 19 20noinst_LTLIBRARIES = libxephyr-hostx.la $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) libxephyr.la 21 22bin_PROGRAMS = Xephyr 23 24HOSTX_SRCS = \ 25 hostx.c \ 26 hostx.h 27 28HOSTVIDEO_SRCS = \ 29 ephyrvideo.c \ 30 ephyrhostvideo.c \ 31 ephyrhostvideo.h 32 33HOSTDRI_SRCS = \ 34 ephyrdriext.c \ 35 ephyrdriext.h \ 36 ephyrdri.c \ 37 ephyrdri.h \ 38 XF86dri.c \ 39 xf86dri.h \ 40 ephyrglxext.c \ 41 ephyrglxext.h \ 42 ephyrhostglx.c \ 43 ephyrhostglx.h 44 45XEPHYR_SRCS = \ 46 ephyr.c \ 47 ephyr.h \ 48 ephyrlog.h \ 49 ephyr_draw.c \ 50 os.c 51 52libxephyr_hostx_la_SOURCES = $(HOSTX_SRCS) 53 54if XV 55libxephyr_hostxv_la_SOURCES = $(HOSTVIDEO_SRCS) 56endif 57 58if DRI 59libxephyr_hostdri_la_SOURCES = $(HOSTDRI_SRCS) 60endif 61 62libxephyr_la_SOURCES = $(XEPHYR_SRCS) 63 64Xephyr_SOURCES = \ 65 ephyrinit.c 66 67Xephyr_LDADD = \ 68 libxephyr.la \ 69 libxephyr-hostx.la \ 70 $(LIBXEPHYR_HOSTXV) \ 71 $(LIBXEPHYR_HOSTDRI) \ 72 $(top_builddir)/exa/libexa.la \ 73 @KDRIVE_LIBS@ \ 74 @XEPHYR_LIBS@ 75 76Xephyr_DEPENDENCIES = \ 77 libxephyr.la \ 78 libxephyr-hostx.la \ 79 $(LIBXEPHYR_HOSTXV) \ 80 $(LIBXEPHYR_HOSTDRI) \ 81 @KDRIVE_LOCAL_LIBS@ 82 83Xephyr_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) 84 85relink: 86 $(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS) 87 88EXTRA_DIST = \ 89 $(HOSTVIDEO_SRCS) \ 90 $(HOSTDRI_SRCS) 91