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,68 +1,58 @@
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
bin_PROGRAMS = Xephyr bin_PROGRAMS = Xephyr
libxephyr_hostx_a_SOURCES = \ 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= \
ephyrhostvideo.c \ ephyrvideo.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 \ ephyrdri.c \
ephyrdri.c \ ephyrdri.h \
ephyrdri.h \ XF86dri.c \
XF86dri.c \ ephyrglxext.c \
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 \ ephyr.h \
ephyrvideo.c \ ephyrlog.h \
os.c \ ephyr_draw.c \
hostx.h \ os.c
ephyr.h \
ephyrlog.h
libxephyr_a_CFLAGS = \
-I$(top_srcdir) \
@LIBDRM_CFLAGS@
Xephyr_SOURCES = \ Xephyr_SOURCES = \
ephyrinit.c ephyrinit.c
@ -73,18 +63,18 @@ endif
Xephyr_LDADD = \ Xephyr_LDADD = \
libxephyr.a \ libxephyr.a \
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@ \
@XEPHYR_DRI_LIBS@ @XEPHYR_DRI_LIBS@
Xephyr_DEPENDENCIES = \ Xephyr_DEPENDENCIES = \
libxephyr.a \ libxephyr.a \
libxephyr-hostx.a \ libxephyr-hostx.a \
$(LIBXEPHYR_HOSTXV) \ $(LIBXEPHYR_HOSTXV) \
$(LIBXEPHYR_HOSTDRI) \ $(LIBXEPHYR_HOSTDRI) \
@KDRIVE_LOCAL_LIBS@ @KDRIVE_LOCAL_LIBS@