Makefile revision 935
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen###############################################################################
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# Xorg server Makefile
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
98720d3b830e8ec762e9bdde94a71c0ef184595dTimo Sirainen# Permission is hereby granted, free of charge, to any person obtaining a
ed51404d355ae65d762cee68aefdbf900903a658Timo Sirainen# copy of this software and associated documentation files (the "Software"),
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# to deal in the Software without restriction, including without limitation
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# the rights to use, copy, modify, merge, publish, distribute, sublicense,
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# and/or sell copies of the Software, and to permit persons to whom the
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# Software is furnished to do so, subject to the following conditions:
987fc5cabbdae635942b0d6ee262fa1dcbc94caeTimo Sirainen# The above copyright notice and this permission notice (including the next
987fc5cabbdae635942b0d6ee262fa1dcbc94caeTimo Sirainen# paragraph) shall be included in all copies or substantial portions of the
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
987fc5cabbdae635942b0d6ee262fa1dcbc94caeTimo Sirainen# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
987fc5cabbdae635942b0d6ee262fa1dcbc94caeTimo Sirainen# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
58c61ac5650583d21c891e61e051c614290d31fbTimo Sirainen# DEALINGS IN THE SOFTWARE.
53f37d41e1abb068131320f39f870fc92e81f560Timo Sirainen# Build 32-bit or 64-bit?
# 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' >> $@