xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

Makefile.am (2165B)


      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 	-DHAVE_DIX_CONFIG_H	\
     30 	-I$(top_srcdir)		\
     31 	-I$(top_srcdir)/glamor	\
     32 	-I$(top_srcdir)/exa
     33 
     34 if XV
     35 XV_SRCS = ephyrvideo.c
     36 endif
     37 
     38 if GLAMOR
     39 if XV
     40 GLAMOR_XV_SRCS = ephyr_glamor_xv.c
     41 endif
     42 
     43 GLAMOR_SRCS = \
     44 	ephyr_glamor_glx.c \
     45 	ephyr_glamor_glx.h \
     46 	$(GLAMOR_XV_SRCS)  \
     47 	$()
     48 endif
     49 
     50 bin_PROGRAMS = Xephyr
     51 
     52 Xephyr_SOURCES = \
     53 	ephyr.c \
     54 	ephyr.h \
     55 	ephyrlog.h \
     56 	ephyr_draw.c \
     57 	ephyrinit.c \
     58 	ephyrcursor.c \
     59 	hostx.c \
     60 	hostx.h \
     61 	$(XV_SRCS) \
     62 	$(GLAMOR_SRCS) \
     63 	$()
     64 
     65 if GLAMOR
     66 AM_CPPFLAGS += $(XLIB_CFLAGS)
     67 XEPHYR_GLAMOR_LIB = \
     68 	$(top_builddir)/glamor/libglamor.la \
     69 	$(top_builddir)/glamor/libglamor_egl_stubs.la \
     70 	$()
     71 endif
     72 
     73 Xephyr_LDADD = 						\
     74 	$(top_builddir)/exa/libexa.la			\
     75 	$(XEPHYR_GLAMOR_LIB)				\
     76 	@KDRIVE_LIBS@					\
     77 	@XEPHYR_LIBS@
     78 
     79 Xephyr_DEPENDENCIES = @KDRIVE_LOCAL_LIBS@ $(XEPHYR_GLAMOR_LIB)
     80 
     81 Xephyr_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
     82 
     83 relink:
     84 	$(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS)