Makefile revision 919
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove###############################################################################
eb86457f85638a9eb7c4d5f84eb367d24061abfbAdam Moore# Xorg server Makefile
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
eb86457f85638a9eb7c4d5f84eb367d24061abfbAdam Moore# Use is subject to license terms.
eb86457f85638a9eb7c4d5f84eb367d24061abfbAdam Moore# Permission is hereby granted, free of charge, to any person obtaining a
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# copy of this software and associated documentation files (the "Software"),
eb86457f85638a9eb7c4d5f84eb367d24061abfbAdam Moore# to deal in the Software without restriction, including without limitation
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# the rights to use, copy, modify, merge, publish, distribute, sublicense,
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# and/or sell copies of the Software, and to permit persons to whom the
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# Software is furnished to do so, subject to the following conditions:
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# The above copyright notice and this permission notice (including the next
52671ce4f644d565b2acd71a8ce4f6d20829a67cAdam Moore# paragraph) shall be included in all copies or substantial portions of the
d5f407f728b461f7362049b93dd6754a1ad8a24fRyan Grove# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
d5f407f728b461f7362049b93dd6754a1ad8a24fRyan Grove# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
d5f407f728b461f7362049b93dd6754a1ad8a24fRyan Grove# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
d5f407f728b461f7362049b93dd6754a1ad8a24fRyan Grove# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# DEALINGS IN THE SOFTWARE.
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# Build 32-bit or 64-bit?
c10296bbdbfbe582ff454be77952d702e261484cRyan Grove# Package name used in tarballs
eb86457f85638a9eb7c4d5f84eb367d24061abfbAdam Moore# Version number (used in path names)
# Used in rules shared between Xorg & Xvnc builds in Makefile.inc
-e 's%^.* _XSERVER64 .*$$%#include <sys/isa_defs.h>\
# Install xorg-server.pc in 32-bit pkgconfig dir on SPARC too
-rm -f $@
/usr/ccs/bin/nm -g $(XORGSERVER_BIN) $(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)/libXfont.so | grep -v UNDEF | sed -n -e 's/^.*\|FUNC \|GLOB \|.*\|\([A-Za-z].*\)$$/ \1 = FUNCTION extern;/p' -e 's/^.*\|OBJT \|GLOB \|.*\|\([A-Za-z].*\)$$/ \1 = DATA extern;/p' >> $@