summaryrefslogtreecommitdiff
path: root/hw/kdrive/ephyr/Makefile.am
blob: 604e22eaa156371e796b65395f13be63e72b5419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
INCLUDES = 					\
	@KDRIVE_INCS@				\
	@KDRIVE_CFLAGS@				\
	-I$(srcdir)/../../../exa

noinst_LIBRARIES = libxephyr-hostx.a libxephyr-hostxv.a libxephyr.a

bin_PROGRAMS = Xephyr


libxephyr_hostx_a_SOURCES =                             \
	hostx.c                                         \
	hostx.h

libxephyr_hostx_a_INCLUDES = @XEPHYR_INCS@

libxephyr_hostxv_a_SOURCES=				\
	ephyrhostvideo.c \
	ephyrhostvideo.h

libxephyr_a_SOURCES =	\
	ephyr.c		\
	ephyr_draw.c	\
	ephyrvideo.c	\
	XF86dri.c	\
	ephyrdriext.c	\
	ephyrdri.c	\
	ephyrdri.h	\
	ephyrglxext.c	\
	ephyrglxext.h	\
	ephyrhostglx.c	\
	ephyrhostglx.h	\
	ephyrhostproxy.c \
	ephyrhostproxy.h \
	ephyrhostproxy.c \
	ephyrproxyext.c	\
	ephyrproxyext.h	\
	os.c		\
	hostx.h         \
	ephyr.h		\
	ephyrlog.h

libxephyr_a_CFLAGS = \
@LIBDRM_CFLAGS@ \
-I$(top_srcdir) \
@DRIPROTO_CFLAGS@

Xephyr_SOURCES = \
	ephyrinit.c

Xephyr_LDADD = 						\
	libxephyr.a					\
	libxephyr-hostx.a			        \
	libxephyr-hostxv.a			        \
	../../../exa/libexa.la				\
	@KDRIVE_LIBS@					\
        @XEPHYR_LIBS@ 					\
	@LIBDRM_LIBS@					\
	-lGL

Xephyr_DEPENDENCIES =	\
	libxephyr.a					\
	libxephyr-hostx.a			        \
	libxephyr-hostxv.a			        \
	@KDRIVE_LOCAL_LIBS@

relink:
	rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)