Makefile revision 1030
747612c740f3dae2c06b9402fa4679344d115a5ahajma###############################################################################
747612c740f3dae2c06b9402fa4679344d115a5ahajma# Xorg server Makefile
747612c740f3dae2c06b9402fa4679344d115a5ahajma# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
747612c740f3dae2c06b9402fa4679344d115a5ahajma# Permission is hereby granted, free of charge, to any person obtaining a
747612c740f3dae2c06b9402fa4679344d115a5ahajma# copy of this software and associated documentation files (the "Software"),
747612c740f3dae2c06b9402fa4679344d115a5ahajma# to deal in the Software without restriction, including without limitation
747612c740f3dae2c06b9402fa4679344d115a5ahajma# the rights to use, copy, modify, merge, publish, distribute, sublicense,
747612c740f3dae2c06b9402fa4679344d115a5ahajma# and/or sell copies of the Software, and to permit persons to whom the
747612c740f3dae2c06b9402fa4679344d115a5ahajma# Software is furnished to do so, subject to the following conditions:
747612c740f3dae2c06b9402fa4679344d115a5ahajma# The above copyright notice and this permission notice (including the next
747612c740f3dae2c06b9402fa4679344d115a5ahajma# paragraph) shall be included in all copies or substantial portions of the
747612c740f3dae2c06b9402fa4679344d115a5ahajma# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
747612c740f3dae2c06b9402fa4679344d115a5ahajma# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# Used in rules shared between Xorg & Xvnc builds in Makefile.inc
# Used in sun-manpage.patch to set distro name in Xserver man page
# DISTRO_NAME is set in open-src/common/Makefile.options.*
# Steps that need to complete before the install_fix_paths 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' >> $@
ln -s ../../../../..$(SERVERMOD_subdir:$(SUBDIR64)=..)/var/run/opengl/server/$(SERVERMOD_subdir)/libglx.so \
$(EXTRA_ATTRDATA_FILES) \
mkdir -p $@
@rm -f $@
mkdir -p $@
@rm -f $@
mkdir -p $@
@rm -f $@