xephyr: Makefile cleanup 1

This commit is contained in:
George Sapountzis 2008-04-23 17:45:19 +03:00
parent cdc4571b58
commit d4d19b2f22

View File

@ -1,18 +1,22 @@
INCLUDES = \ INCLUDES = \
@KDRIVE_INCS@ \ @KDRIVE_INCS@ \
@KDRIVE_CFLAGS@ \ @KDRIVE_CFLAGS@ \
-I$(srcdir)/../../../exa @XEPHYR_INCS@ \
-I$(top_srcdir) \
-I$(top_srcdir)/exa
if XEPHYR_HAS_DRI
INCLUDES += \
@LIBDRM_CFLAGS@ \
@DRIPROTO_CFLAGS@
endif
if XV if XV
LIBXEPHYR_HOSTXV=libxephyr-hostxv.a LIBXEPHYR_HOSTXV=libxephyr-hostxv.a
else
LIBXEPHYR_HOSTXV=
endif endif
if XEPHYR_HAS_DRI if XEPHYR_HAS_DRI
LIBXEPHYR_HOSTDRI=libxephyr-hostdri.a LIBXEPHYR_HOSTDRI=libxephyr-hostdri.a
else
LIBXEPHYR_HOSTDRI=
endif endif
noinst_LIBRARIES = libxephyr-hostx.a $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) libxephyr.a noinst_LIBRARIES = libxephyr-hostx.a $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) libxephyr.a
@ -23,16 +27,14 @@ libxephyr_hostx_a_SOURCES = \
hostx.c \ hostx.c \
hostx.h hostx.h
libxephyr_hostxv_a_INCLUDES = @XEPHYR_INCS@
if XV if XV
libxephyr_hostxv_a_SOURCES= \ libxephyr_hostxv_a_SOURCES= \
ephyrvideo.c \
ephyrhostvideo.c \ ephyrhostvideo.c \
ephyrhostvideo.h ephyrhostvideo.h
endif endif
if XEPHYR_HAS_DRI if XEPHYR_HAS_DRI
libxephyr_hostdri_a_SOURCES= \ libxephyr_hostdri_a_SOURCES= \
ephyrdriext.c \ ephyrdriext.c \
ephyrdriext.h \ ephyrdriext.h \
@ -43,26 +45,14 @@ ephyrglxext.c \
ephyrglxext.h \ ephyrglxext.h \
ephyrhostglx.c \ ephyrhostglx.c \
ephyrhostglx.h ephyrhostglx.h
libxephyr_hostdri_a_CFLAGS= \
-I$(top_srcdir) \
@LIBDRM_CFLAGS@ \
@DRIPROTO_CFLAGS@
endif endif
libxephyr_a_SOURCES = \ libxephyr_a_SOURCES = \
ephyr.c \ ephyr.c \
ephyr_draw.c \
ephyrvideo.c \
os.c \
hostx.h \
ephyr.h \ ephyr.h \
ephyrlog.h ephyrlog.h \
ephyr_draw.c \
libxephyr_a_CFLAGS = \ os.c
-I$(top_srcdir) \
@LIBDRM_CFLAGS@
Xephyr_SOURCES = \ Xephyr_SOURCES = \
ephyrinit.c ephyrinit.c
@ -76,7 +66,7 @@ Xephyr_LDADD = \
libxephyr-hostx.a \ libxephyr-hostx.a \
$(LIBXEPHYR_HOSTXV) \ $(LIBXEPHYR_HOSTXV) \
$(LIBXEPHYR_HOSTDRI) \ $(LIBXEPHYR_HOSTDRI) \
../../../exa/libexa.la \ $(top_builddir)/exa/libexa.la \
@KDRIVE_LIBS@ \ @KDRIVE_LIBS@ \
@XEPHYR_LIBS@ \ @XEPHYR_LIBS@ \
@LIBDRM_LIBS@ \ @LIBDRM_LIBS@ \