xephyr: Makefile cleanup 2

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

View File

@ -23,19 +23,16 @@ noinst_LIBRARIES = libxephyr-hostx.a $(LIBXEPHYR_HOSTXV) $(LIBXEPHYR_HOSTDRI) li
bin_PROGRAMS = Xephyr bin_PROGRAMS = Xephyr
libxephyr_hostx_a_SOURCES = \ HOSTX_SRCS = \
hostx.c \ hostx.c \
hostx.h hostx.h
if XV HOSTVIDEO_SRCS = \
libxephyr_hostxv_a_SOURCES= \
ephyrvideo.c \ ephyrvideo.c \
ephyrhostvideo.c \ ephyrhostvideo.c \
ephyrhostvideo.h ephyrhostvideo.h
endif
if XEPHYR_HAS_DRI HOSTDRI_SRCS = \
libxephyr_hostdri_a_SOURCES= \
ephyrdriext.c \ ephyrdriext.c \
ephyrdriext.h \ ephyrdriext.h \
ephyrdri.c \ ephyrdri.c \
@ -45,15 +42,26 @@ libxephyr_hostdri_a_SOURCES= \
ephyrglxext.h \ ephyrglxext.h \
ephyrhostglx.c \ ephyrhostglx.c \
ephyrhostglx.h ephyrhostglx.h
endif
libxephyr_a_SOURCES = \ XEPHYR_SRCS = \
ephyr.c \ ephyr.c \
ephyr.h \ ephyr.h \
ephyrlog.h \ ephyrlog.h \
ephyr_draw.c \ ephyr_draw.c \
os.c os.c
libxephyr_hostx_a_SOURCES = $(HOSTX_SRCS)
if XV
libxephyr_hostxv_a_SOURCES = $(HOSTVIDEO_SRCS)
endif
if XEPHYR_HAS_DRI
libxephyr_hostdri_a_SOURCES = $(HOSTDRI_SRCS)
endif
libxephyr_a_SOURCES = $(XEPHYR_SRCS)
Xephyr_SOURCES = \ Xephyr_SOURCES = \
ephyrinit.c ephyrinit.c
@ -81,3 +89,7 @@ Xephyr_DEPENDENCIES = \
relink: relink:
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS) rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)
EXTRA_DIST = \
$(HOSTVIDEO_SRCS) \
$(HOSTDRI_SRCS)