0N/A# Copyright (c) 2006, 2011, Oracle
and/or its affiliates. All rights reserved.
0N/A# Permission is hereby granted, free of charge, to any person obtaining a
911N/A# copy of this software and associated documentation files (the "Software"),
810N/A# to deal in the Software without restriction, including without limitation
0N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
0N/A#
and/or sell copies of the Software, and to permit persons to whom the
0N/A# Software is furnished to do so, subject to the following conditions:
0N/A# The above copyright notice and this permission notice (including the next
0N/A# paragraph) shall be included in all copies or substantial portions of the
0N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
0N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0N/A# DEALINGS IN THE SOFTWARE.
0N/AGFX_COMMON = ../../gfx_common
0N/A#DEBUG = -g $(SBFLAG)
0N/AINCL += -I ${GFX_COMMON}/include
0N/ACFLAGS += ${DEBUG} -m64 -xCC ${DEFS} -DSUN__${DEV} -Dsun -Dsparc -DSVR4 \
0N/A -DSYSV -D__EXTENSIONS__ -DDPMSExtension -DXRECORD -DEVI -DSHAPE -DXINPUT \
818N/A -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DPANORAMIX -DNEED_DBE_BUF_BITS \
0N/A -DNEED_DBE_BUF_VALIDATE -DPIXPRIV -DFBPM -DSUNSOFT -DSUNSOFT_BUYBACK -DXDPS \
911N/A -DNEED_LINEHELPER -DINCLUDE_ALLOCA_H -DMITSHM -DNODBBS
156N/Aall: libvtsSUNW${Dev}.so.1
0N/AlibvtsSUNW${Dev}.so.1: $(LIB_OBJS) mapfile
818N/A ${CC} ${CFLAGS} ${LIB_LDFLAGS} -M mapfile -G -lXext -lX11 $(LIB_OBJS) -o $@
591N/A${Dev}_uselib64: xfb_uselib64
591N/A ${CC} ${CFLAGS} -c ${INCL} -Kpic -xregs=no%appl -o $@ $<
493N/A rm -f ${Dev}_uselib64 xfb_uselib64 libvtsSUNW${Dev}.so.1 $(LIB_OBJS)
837N/Ainstall: $(INSTALL_LIB_DIR)/libvtsSUNW${Dev}.so.1
846N/A$(INSTALL_LIB_DIR)/libvtsSUNW${Dev}.so.1: libvtsSUNW${Dev}.so.1
493N/A $(INSTALL) -m 0755 $? $@