xserver-multidpi/hw/kdrive/ephyr/Makefile.am

87 lines
1.4 KiB
Makefile
Raw Normal View History

2008-04-23 16:45:19 +02:00
INCLUDES = \
@KDRIVE_INCS@ \
@KDRIVE_CFLAGS@ \
@XEPHYR_INCS@ \
2008-04-23 16:45:54 +02:00
@XEPHYR_CFLAGS@ \
@DRIPROTO_CFLAGS@ \
2008-04-23 16:45:19 +02:00
-I$(top_srcdir) \
-I$(top_srcdir)/exa
if XV
2008-04-23 16:45:19 +02:00
LIBXEPHYR_HOSTXV=libxephyr-hostxv.a
endif
2004-08-31 18:33:05 +02:00
if DRI
2008-04-23 16:45:19 +02:00
LIBXEPHYR_HOSTDRI=libxephyr-hostdri.a
endif
noinst_LIBRARIES = libxephyr-hostx.a $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) libxephyr.a
2004-08-31 18:33:05 +02:00
bin_PROGRAMS = Xephyr
2004-08-31 18:33:05 +02:00
2008-04-23 16:45:37 +02:00
HOSTX_SRCS = \
2008-04-23 16:45:19 +02:00
hostx.c \
2007-07-21 12:08:39 +02:00
hostx.h
2008-04-23 16:45:37 +02:00
HOSTVIDEO_SRCS = \
2008-04-23 16:45:19 +02:00
ephyrvideo.c \
ephyrhostvideo.c \
2007-07-21 12:08:39 +02:00
ephyrhostvideo.h
2008-04-23 16:45:37 +02:00
HOSTDRI_SRCS = \
2008-04-23 16:45:19 +02:00
ephyrdriext.c \
ephyrdriext.h \
ephyrdri.c \
ephyrdri.h \
XF86dri.c \
2008-04-23 16:46:15 +02:00
xf86dri.h \
2008-04-23 16:45:19 +02:00
ephyrglxext.c \
ephyrglxext.h \
ephyrhostglx.c \
ephyrhostglx.h
2007-07-21 12:08:39 +02:00
2008-04-23 16:45:37 +02:00
XEPHYR_SRCS = \
2008-04-23 16:45:19 +02:00
ephyr.c \
ephyr.h \
ephyrlog.h \
ephyr_draw.c \
os.c
2008-04-23 16:45:37 +02:00
libxephyr_hostx_a_SOURCES = $(HOSTX_SRCS)
if XV
libxephyr_hostxv_a_SOURCES = $(HOSTVIDEO_SRCS)
endif
if DRI
2008-04-23 16:45:37 +02:00
libxephyr_hostdri_a_SOURCES = $(HOSTDRI_SRCS)
endif
libxephyr_a_SOURCES = $(XEPHYR_SRCS)
2004-08-31 18:33:05 +02:00
Xephyr_SOURCES = \
ephyrinit.c
Xephyr_LDADD = \
libxephyr.a \
2008-04-23 16:45:19 +02:00
libxephyr-hostx.a \
$(LIBXEPHYR_HOSTXV) \
$(LIBXEPHYR_HOSTDRI) \
2008-04-23 16:45:19 +02:00
$(top_builddir)/exa/libexa.la \
2004-08-31 18:33:05 +02:00
@KDRIVE_LIBS@ \
2008-04-23 16:45:54 +02:00
@XEPHYR_LIBS@
Xephyr_DEPENDENCIES = \
libxephyr.a \
2008-04-23 16:45:19 +02:00
libxephyr-hostx.a \
$(LIBXEPHYR_HOSTXV) \
$(LIBXEPHYR_HOSTDRI) \
@KDRIVE_LOCAL_LIBS@
relink:
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)
2008-04-23 16:45:37 +02:00
EXTRA_DIST = \
$(HOSTVIDEO_SRCS) \
$(HOSTDRI_SRCS)