Commit | Line | Data |
---|---|---|
a09e091a JB |
1 | # Copyright © 2013 Intel Corporation |
2 | # | |
3 | # Permission is hereby granted, free of charge, to any person obtaining a | |
4 | # copy of this software and associated documentation files (the "Software"), | |
5 | # to deal in the Software without restriction, including without limitation | |
6 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
7 | # and/or sell copies of the Software, and to permit persons to whom the | |
8 | # Software is furnished to do so, subject to the following conditions: | |
9 | # | |
10 | # The above copyright notice and this permission notice (including the next | |
11 | # paragraph) shall be included in all copies or substantial portions of the | |
12 | # Software. | |
13 | # | |
14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | |
20 | # IN THE SOFTWARE. | |
21 | ||
22 | SUBDIRS = man | |
23 | ||
24 | AM_CPPFLAGS = \ | |
25 | @KDRIVE_INCS@ \ | |
26 | @KDRIVE_CFLAGS@ \ | |
27 | @XEPHYR_INCS@ \ | |
28 | @XEPHYR_CFLAGS@ \ | |
29 | -I$(top_srcdir) \ | |
30 | -I$(top_srcdir)/exa | |
31 | ||
32 | if XV | |
33 | XV_SRCS = ephyrvideo.c | |
34 | endif | |
35 | ||
36 | if DRI | |
37 | DRI_SRCS = \ | |
38 | ephyrdriext.c \ | |
39 | ephyrdriext.h \ | |
40 | ephyrdri.c \ | |
41 | ephyrdri.h \ | |
42 | ephyrglxext.c \ | |
43 | ephyrglxext.h \ | |
44 | ephyrhostglx.c \ | |
45 | ephyrhostglx.h \ | |
46 | $() | |
47 | endif | |
48 | ||
49 | bin_PROGRAMS = Xephyr | |
50 | ||
51 | Xephyr_SOURCES = \ | |
52 | ephyr.c \ | |
53 | ephyr.h \ | |
54 | ephyrlog.h \ | |
55 | ephyr_draw.c \ | |
56 | os.c \ | |
57 | ephyrinit.c \ | |
58 | hostx.c \ | |
59 | hostx.h \ | |
60 | $(XV_SRCS) \ | |
61 | $(DRI_SRCS) \ | |
62 | $() | |
63 | ||
64 | Xephyr_LDADD = \ | |
65 | $(top_builddir)/exa/libexa.la \ | |
66 | @KDRIVE_LIBS@ \ | |
67 | @XEPHYR_LIBS@ | |
68 | ||
69 | Xephyr_DEPENDENCIES = @KDRIVE_LOCAL_LIBS@ | |
70 | ||
71 | Xephyr_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) | |
72 | ||
73 | relink: | |
74 | $(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS) |