135c4bbdfSmrg# Copyright © 2013 Intel Corporation 235c4bbdfSmrg# 335c4bbdfSmrg# Permission is hereby granted, free of charge, to any person obtaining a 435c4bbdfSmrg# copy of this software and associated documentation files (the "Software"), 535c4bbdfSmrg# to deal in the Software without restriction, including without limitation 635c4bbdfSmrg# the rights to use, copy, modify, merge, publish, distribute, sublicense, 735c4bbdfSmrg# and/or sell copies of the Software, and to permit persons to whom the 835c4bbdfSmrg# Software is furnished to do so, subject to the following conditions: 935c4bbdfSmrg# 1035c4bbdfSmrg# The above copyright notice and this permission notice (including the next 1135c4bbdfSmrg# paragraph) shall be included in all copies or substantial portions of the 1235c4bbdfSmrg# Software. 1335c4bbdfSmrg# 1435c4bbdfSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1535c4bbdfSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1635c4bbdfSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1735c4bbdfSmrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1835c4bbdfSmrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 1935c4bbdfSmrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 2035c4bbdfSmrg# IN THE SOFTWARE. 2135c4bbdfSmrg 229ace9065SmrgSUBDIRS = man 239ace9065Smrg 2435c4bbdfSmrgAM_CPPFLAGS = \ 254642e01fSmrg @KDRIVE_INCS@ \ 264642e01fSmrg @KDRIVE_CFLAGS@ \ 274642e01fSmrg @XEPHYR_INCS@ \ 284642e01fSmrg @XEPHYR_CFLAGS@ \ 291b5d61b8Smrg -DHAVE_DIX_CONFIG_H \ 304642e01fSmrg -I$(top_srcdir) \ 3135c4bbdfSmrg -I$(top_srcdir)/glamor \ 324642e01fSmrg -I$(top_srcdir)/exa 3305b261ecSmrg 344642e01fSmrgif XV 3535c4bbdfSmrgXV_SRCS = ephyrvideo.c 364642e01fSmrgendif 374642e01fSmrg 3835c4bbdfSmrgif GLAMOR 3935c4bbdfSmrgif XV 4035c4bbdfSmrgGLAMOR_XV_SRCS = ephyr_glamor_xv.c 414642e01fSmrgendif 424642e01fSmrg 4335c4bbdfSmrgGLAMOR_SRCS = \ 4435c4bbdfSmrg ephyr_glamor_glx.c \ 4535c4bbdfSmrg ephyr_glamor_glx.h \ 4635c4bbdfSmrg $(GLAMOR_XV_SRCS) \ 4735c4bbdfSmrg $() 4835c4bbdfSmrgendif 494642e01fSmrg 5035c4bbdfSmrgbin_PROGRAMS = Xephyr 5105b261ecSmrg 5205b261ecSmrgXephyr_SOURCES = \ 5335c4bbdfSmrg ephyr.c \ 5435c4bbdfSmrg ephyr.h \ 5535c4bbdfSmrg ephyrlog.h \ 5635c4bbdfSmrg ephyr_draw.c \ 5735c4bbdfSmrg ephyrinit.c \ 5835c4bbdfSmrg ephyrcursor.c \ 5935c4bbdfSmrg hostx.c \ 6035c4bbdfSmrg hostx.h \ 6135c4bbdfSmrg $(XV_SRCS) \ 6235c4bbdfSmrg $(GLAMOR_SRCS) \ 6335c4bbdfSmrg $() 6435c4bbdfSmrg 6535c4bbdfSmrgif GLAMOR 6635c4bbdfSmrgAM_CPPFLAGS += $(XLIB_CFLAGS) 6735c4bbdfSmrgXEPHYR_GLAMOR_LIB = \ 6835c4bbdfSmrg $(top_builddir)/glamor/libglamor.la \ 6935c4bbdfSmrg $(top_builddir)/glamor/libglamor_egl_stubs.la \ 7035c4bbdfSmrg $() 7135c4bbdfSmrgendif 7205b261ecSmrg 7305b261ecSmrgXephyr_LDADD = \ 744642e01fSmrg $(top_builddir)/exa/libexa.la \ 7535c4bbdfSmrg $(XEPHYR_GLAMOR_LIB) \ 7605b261ecSmrg @KDRIVE_LIBS@ \ 774642e01fSmrg @XEPHYR_LIBS@ 7805b261ecSmrg 7935c4bbdfSmrgXephyr_DEPENDENCIES = @KDRIVE_LOCAL_LIBS@ $(XEPHYR_GLAMOR_LIB) 8005b261ecSmrg 814642e01fSmrgXephyr_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) 824642e01fSmrg 8305b261ecSmrgrelink: 846747b715Smrg $(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS) 85