summaryrefslogtreecommitdiff
path: root/xserver/hw/kdrive/ephyr/Makefile.am
blob: a28701ba56748d6e61123ec0321faaeea297dc1a (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
INCLUDES = 					\
	@KDRIVE_INCS@				\
	@KDRIVE_CFLAGS@				\
	-I$(srcdir)/../../../exa

noinst_LIBRARIES = libxephyr.a libxephyr-hostx.a

bin_PROGRAMS = Xephyr

libxephyr_a_SOURCES =	\
	ephyr.c		\
	ephyr_draw.c	\
	os.c		\
	hostx.h          \
	ephyr.h

libxephyr_hostx_a_SOURCES =                             \
	hostx.c                                         \
	hostx.h    

libxephyr_hostx_a_INCLUDES = @XEPHYR_INCS@ 

Xephyr_SOURCES = \
	ephyrinit.c

Xephyr_LDADD = 						\
	libxephyr.a					\
	libxephyr-hostx.a			        \
	../../../exa/libexa.la				\
	@KDRIVE_LIBS@					\
	@XSERVER_LIBS@					\
        @XEPHYR_LIBS@

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

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

MAN_SRCS = Xephyr.man.pre

appmandir = $(APP_MAN_DIR)
appman_DATA = Xephyr.$(APP_MAN_SUFFIX)

Xephyr.$(APP_MAN_SUFFIX): Xephyr.man
	-rm -f Xephyr.$(APP_MAN_SUFFIX)
	$(LN_S) Xephyr.man Xephyr.$(APP_MAN_SUFFIX)

include $(top_srcdir)/cpprules.in

CLEANFILES = $(appman_DATA) Xephyr.man

EXTRA_DIST = $(MAN_SRCS)