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

103 lines
1.8 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
LIBXEPHYR_HOSTXV=libxephyr-hostxv.la
endif
2004-08-31 18:33:05 +02:00
if DRI
LIBXEPHYR_HOSTDRI=libxephyr-hostdri.la
endif
noinst_LTLIBRARIES = libxephyr-hostx.la $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) libxephyr.la
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
libxephyr_hostx_la_SOURCES = $(HOSTX_SRCS)
2008-04-23 16:45:37 +02:00
if XV
libxephyr_hostxv_la_SOURCES = $(HOSTVIDEO_SRCS)
2008-04-23 16:45:37 +02:00
endif
if DRI
libxephyr_hostdri_la_SOURCES = $(HOSTDRI_SRCS)
2008-04-23 16:45:37 +02:00
endif
libxephyr_la_SOURCES = $(XEPHYR_SRCS)
2008-04-23 16:45:37 +02:00
2004-08-31 18:33:05 +02:00
Xephyr_SOURCES = \
ephyrinit.c
Xephyr_LDADD = \
libxephyr.la \
libxephyr-hostx.la \
$(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.la \
libxephyr-hostx.la \
$(LIBXEPHYR_HOSTXV) \
$(LIBXEPHYR_HOSTDRI) \
@KDRIVE_LOCAL_LIBS@
2008-07-02 17:25:50 +02:00
Xephyr_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
relink:
$(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS)
2008-04-23 16:45:37 +02:00
MAN_SRCS = Xephyr.man.pre
appmandir = $(APP_MAN_DIR)
appman_DATA = Xephyr.$(APP_MAN_SUFFIX)
Xephyr.$(APP_MAN_SUFFIX): Xephyr.man
-$(AM_V_at)rm -f Xephyr.$(APP_MAN_SUFFIX)
$(AM_V_at)$(LN_S) Xephyr.man Xephyr.$(APP_MAN_SUFFIX)
include $(top_srcdir)/cpprules.in
CLEANFILES = $(appman_DATA) Xephyr.man
2008-04-23 16:45:37 +02:00
EXTRA_DIST = \
$(HOSTVIDEO_SRCS) \
$(HOSTDRI_SRCS) \
$(MAN_SRCS)