Makefile revision 1265
1409N/A###############################################################################
1409N/A#
1409N/A# Xorg server Makefile
1607N/A#
1409N/A# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
1409N/A#
1409N/A# Permission is hereby granted, free of charge, to any person obtaining a
1409N/A# copy of this software and associated documentation files (the "Software"),
1409N/A# to deal in the Software without restriction, including without limitation
1409N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1409N/A# and/or sell copies of the Software, and to permit persons to whom the
1409N/A# Software is furnished to do so, subject to the following conditions:
1409N/A#
1409N/A# The above copyright notice and this permission notice (including the next
1409N/A# paragraph) shall be included in all copies or substantial portions of the
1409N/A# Software.
1409N/A#
1409N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1409N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1409N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1409N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1409N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1409N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1409N/A# DEALINGS IN THE SOFTWARE.
1409N/A#
1409N/A#
1409N/A
1409N/A# Package name used in tarballs
1409N/AMODULE_NAME=xorg-server
1409N/A
1409N/A# Version number (used in path names) - set in open-src/common/Makefile.init
1409N/AMODULE_VERSION=$(XORGSERVER_VERS)
1409N/A
1409N/A# Checksums for upstream tarball
1409N/ATARBALL_MD5 = 3a3c4281f32c8702749e8f129372a355
1409N/ATARBALL_SHA1 = 5f48db767f71e9f58ded6ff356f3b8340820e524
1409N/ATARBALL_SHA256= 280a14c5de8697a4aab18dca85429671286e69e5ada0c1535f03666e56f07799
1409N/A
1409N/A# Patches to apply to source after unpacking, in order
1409N/A# *** Moved to patch-list file so they can be shared between Xorg & Xvnc builds
1409N/ASOURCE_PATCHES=$(XORG_SOURCE_PATCHES)
1409N/A
1409N/A# Used in rules shared between Xorg & Xvnc builds in Makefile.inc
1409N/A# to allow for different source layouts
1409N/AXORG_BUILD_DIR=$(SOURCE_DIR)
1409N/A
1409N/A# ARC cases that covered this module
1409N/A# PSARC/2004/187 Xorg Server for Solaris
1409N/AMODULE_ARC_CASES = PSARC/2004/187
1409N/A# PSARC/2004/685 Xorg server upgrade to X11R6.8 release
1409N/AMODULE_ARC_CASES += PSARC/2004/685
1409N/A# PSARC/2004/829 Xorg 6.8.2 server upgrade for Solaris
1409N/AMODULE_ARC_CASES += PSARC/2004/829
1409N/A# PSARC/2005/450 Xorg 6.9 for Solaris
1533N/AMODULE_ARC_CASES += PSARC/2005/450
1533N/A# PSARC/2006/609 Xserver provider for DTrace
1533N/AMODULE_ARC_CASES += PSARC/2006/609
1409N/A# PSARC/2007/051 Xorg server upgrade to 7.2
1409N/AMODULE_ARC_CASES += PSARC/2007/051
1409N/A# PSARC/2007/434 Xorg server 1.3
1409N/AMODULE_ARC_CASES += PSARC/2007/434
1409N/A# PSARC/2007/500 X11 MIT-SHM Extension across zones
1409N/AMODULE_ARC_CASES += PSARC/2007/500
1409N/A# PSARC/2008/294 Xorg driver selection based on VIS_GETIDENTIFIER
1409N/AMODULE_ARC_CASES += PSARC/2008/294
1409N/A# PSARC/2009/021 Xorg server 1.5
1409N/AMODULE_ARC_CASES += PSARC/2009/021
1409N/A# PSARC/2009/292 Xorg server 1.6
1409N/AMODULE_ARC_CASES += PSARC/2009/292
1409N/A# PSARC/2009/679 Xorg server 1.7
1409N/AMODULE_ARC_CASES += PSARC/2009/679
1409N/A# PSARC/2010/109 Introduce libXcb in Solaris
1409N/AMODULE_ARC_CASES += PSARC/2010/109
1409N/A# PSARC/2011/008 Xorg server 1.9
1493N/AMODULE_ARC_CASES += PSARC/2011/008
1409N/A# PSARC/2010/382 Removal of 32-bit X servers
1409N/AMODULE_ARC_CASES += PSARC/2010/382
1409N/A# PSARC/2011/214 Xorg server 1.10
1409N/AMODULE_ARC_CASES += PSARC/2011/214
1409N/A
1409N/A# Man pages to apply Sun footer to & attributes to list
1409N/ASUNTOUCHED_MANPAGES= \
1409N/A man/Xserver.man \
1409N/A hw/kdrive/ephyr/man/Xephyr.man \
1409N/A hw/xfree86/utils/man/cvt.man \
1409N/A hw/xfree86/utils/man/gtf.man \
1409N/A hw/xfree86/man/Xorg.man \
1409N/A hw/xfree86/man/xorg.conf.man \
1409N/A hw/xfree86/man/xorg.conf.d.man \
1422N/A hw/vfb/man/Xvfb.man
1409N/A
1409N/AMODULE_STABILITY=Volatile
1409N/A
1409N/A# Override specific attributes for specific man pages
1409N/AMODULE_SUNTOUCH_MAN_FLAGS= \
1409N/A $(SUNTOUCH_MAN_FLAGS_$(@F:%.man.$(FIXED_MAN_SUFFIX)=%))
1409N/A# Xephyr, Xvfb, and Xdmx are split out into their own packages
1422N/ASUNTOUCH_MAN_FLAGS_Xephyr = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xephyr)}'
1409N/ASUNTOUCH_MAN_FLAGS_Xvfb = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xvfb)}'
1409N/ASUNTOUCH_MAN_FLAGS_Xdmx = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xdmx)}'
1409N/ASUNTOUCH_MAN_FLAGS_Xserver = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xserver-common)}'
1422N/A
1409N/A# Binary built in tree
1409N/AXORGSERVER_BIN=$(SOURCE_DIR)/hw/xfree86/Xorg
1409N/A
1409N/ABUILD_TARGETS=$(XORGSERVER_BIN) build_mdb set-elf-comments \
1409N/A $(BUILD_DIR)/mapfile-Xorg-externs
1515N/ABUILD_TARGETS_SET=yes
1409N/A
1409N/A# Need to convert dtrace docs from xml to text/html ourselves, since
1409N/A# Solaris doesn't bundle the xmlto tool used upstream
1409N/AMODULE_DOC_DIR = $(MODULE_PREFIX)/share/doc/Xserver
1409N/AMODULE_DOC_DIR_SET=yes
1409N/AMODULE_XML_PATH = $(SOURCE_DIR)/doc
1409N/ADTRACE_DOC_DIR = $(MODULE_XML_PATH)/dtrace
1409N/ADTRACE_DOCS = $(DTRACE_DOC_DIR)/Xserver-DTrace.html
1409N/ADTRACE_DOCS += $(DTRACE_DOC_DIR)/Xserver-DTrace.txt
1409N/ABUILD_TARGETS += $(DTRACE_DOCS)
1409N/A
1409N/A# Need to regenerate autoconf/automake files after patching
1409N/AAUTORECONF=yes
1409N/A
1409N/A# Command line options to GNU autoconf configure script
1409N/A# XXX: --disable-dga
1422N/AMODULE_CONFIG_OPTS = $(XSERVER_CONFIG_OPTS) \
1409N/A --enable-dmx \
1409N/A --enable-builddocs \
1607N/A --enable-kdrive --enable-xephyr --disable-xsdl \
1607N/A MKFONTDIR="$(MKFONTDIR)" \
1607N/A MKFONTSCALE="$(MKFONTSCALE)"
1607N/A
1409N/AMODULE_LDFLAGS = $(XSERVER_LDFLAGS)
1630N/AMODULE_LD_OPTIONS = $(MAPFILES_FOR_ALL)
1416N/A
1416N/A# Pass linker mapfile listing symbols that modules can count on resolving
1409N/A# from the Xorg binary itself
1409N/AXORG_EXTERNS_FLAG = -Wl,-M,$(PWD)/$(XORG_EXTERNS_FILE)
1409N/AMODULE_BUILD_ENV = XORG_EXTERNS_FLAG='$(XORG_EXTERNS_FLAG)'
1409N/AMODULE_LDFLAGS += $(XORG_EXTERNS_FLAG)
1409N/A
1409N/A# Optimization doesn't always remove unused inline functions, leaving many
1409N/A# binaries referencing pixman symbols that normally don't need them. Using
1409N/A# -z ignore should ensure that it's not added when not really needed.
1409N/AMODULE_CONFIG_OPTS += LIBS="-z ignore -lpixman-1"
1409N/A
1409N/A# pkg-config files that need to have -R added
1409N/AFIX_PC_FILES=xorg-server.pc.in
1409N/A# Remove compiler specific visibility flag that breaks builds of drivers
1409N/A# with other compilers
1409N/AMODULE_FIX_PC_FLAGS= -e 's|\@symbol_visibility\@||'
1409N/A
1409N/A# Need to use GNU Make to build due to hw/xfree86/loader
1409N/AMODULE_MAKE=$(GNUMAKE)
1409N/AMODULE_MAKE_SET=yes
1409N/A
1409N/A# Additional configure time targets beyond the defaults
1607N/AMODULE_ADD_CONFIGURE_TARGETS=clear_build_date
1607N/A
1607N/A# Additional install targets beyond the defaults
1607N/AMODULE_ADD_INSTALL_TARGETS=install_extras install_mdb install_pc_common \
1607N/A install_fix_paths install_docs
1409N/A
1409N/A# Have to avoid dependency loop between install_pc_common and
1409N/A# install_pkgconfig_uninstalled
1409N/AINSTALL_PCU_DEPS = $(INSTALL_TARGETS:install_pc_common=)
1409N/AINSTALL_PCU_DEPS_SET=yes
1409N/A
1409N/A# Merge in additional sources from sun-src directory
1494N/AADDITIONAL_SOURCE_DIR=sun-src
1409N/A
1409N/A# Compatibility links from /usr/X11/bin to /usr/bin
1409N/A# Only needed for programs that were in /usr/X11/bin before we moved
1409N/AMODULE_X11_BINCOMPAT_LINKS = Xorg Xephyr Xvfb cvt gtf
1409N/AMODULE_X11_BINCOMPAT_LINKS_i386 = amd64
1409N/AMODULE_X11_BINCOMPAT_LINKS += $(MODULE_X11_BINCOMPAT_LINKS_$(MACH))
1409N/A
1409N/A# Binaries that were linked to isaexec on x86 to choose 32-bit or 64-bit,
1409N/A# now just symlinks from amd64 to parent directory
1409N/ALINKED_TO_ISAEXEC = Xorg Xephyr Xvfb Xdmx
1409N/A
1409N/Ainclude ../Makefile.inc
1409N/A
1494N/A# Don't include build date & time in delivered binaries as it just causes
1494N/A# unnecessary binary differences to be pulled into package updates, but
1409N/A# leave it in debug builds for developer convenience
1422N/A$(BUILD_DEBUG:yes=$(POUND_SIGN)) CBD_TARGET = actually_clear_build_date
1422N/A
1422N/Aclear_build_date: $(CBD_TARGET)
1422N/A
1607N/Aactually_clear_build_date: $(AUTOCONF_TARGET)
1607N/A printf '#undef BUILD_DATE\n#undef BUILD_TIME\n' > \
1607N/A $(SOURCE_DIR)/hw/xfree86/common/xf86Build.h
1607N/A
1607N/A$(XORGSERVER_BIN): default_build
1607N/A
1607N/ASDK_INCLUDES_DIR=$(PROTODIR)$(X11_INCLUDES_DIR)/xorg/
1607N/A
1607N/Ainstall_extras: default_install
1607N/A -rm -f $(SDK_INCLUDES_DIR)/xorg-server.h
1607N/A sed -e 's%#define XF86DRI 1%/* #define XF86DRI 1 */%' \
1607N/A $(SOURCE_DIR)/include/xorg-server.h > $(SDK_INCLUDES_DIR)/xorg-server.h
1607N/A cp -pf $(SOURCE_DIR)/mi/mioverlay.h \
1607N/A $(SOURCE_DIR)/hw/xfree86/os-support/bus/xf86Sbus.h \
1422N/A $(SOURCE_DIR)/hw/xfree86/dri/*.h $(SDK_INCLUDES_DIR)/
1409N/A mkdir -p $(PROTODIR)$(X11_MAN_DIR)/man1
1607N/A cp -pf $(SOURCE_DIR)/hw/xfree86/man/xorgcfg.1 \
1607N/A $(SOURCE_DIR)/hw/xfree86/man/xorgconfig.1 \
1607N/A $(PROTODIR)$(X11_MAN_DIR)/man1
1409N/A mkdir -p $(PROTODIR)/etc/hal/fdi/preprobe/10osvendor
1607N/A cp -pf $(SOURCE_DIR)/config/x11-input.fdi \
1409N/A $(PROTODIR)/etc/hal/fdi/preprobe/10osvendor/10-x11-input.fdi
1607N/A mkdir -p $(PROTODIR)/etc/X11/xorg.conf.d \
1409N/A $(PROTODIR)/etc/X11/xorg.conf.avail \
1607N/A $(PROTODIR)/usr/share/X11/xorg.conf.d
1409N/A cp -pf 90-zap.conf $(PROTODIR)/etc/X11/xorg.conf.avail
1607N/A
1409N/A# Workaround bug in installing pkgconfig file to wrong directory in 64-bit
1409N/A# builds, and install xorg-server.pc in 32-bit pkgconfig dir too
1409N/Ainstall_pc_common: default_install install_pkgconfig_uninstalled
1409N/A -rm -f $(PROTODIR)$(PKGCONFIG_DIR)/xorg-server.pc
1409N/A mkdir -p $(PROTODIR)$(PKGCONFIG_DIR)
1409N/A cp -pf $(SOURCE_DIR)/xorg-server.pc \
1409N/A $(PROTODIR)$(PKGCONFIG_DIR)/xorg-server.pc
1425N/A -rm -f $(PROTODIR)$(PKGCONFIG_DIR_32)/xorg-server.pc \
1409N/A $(PROTODIR)$(PKGCONFIG_DIR_32)/xorg-server-uninstalled.pc
1409N/A mkdir -p $(PROTODIR)$(PKGCONFIG_DIR_32)
1425N/A ln -s ../$(SUBDIR64)$(PKGCONFIG_DIR_suffix)/xorg-server.pc \
1409N/A ../$(SUBDIR64)$(PKGCONFIG_DIR_suffix)/xorg-server-uninstalled.pc \
1409N/A $(PROTODIR)$(PKGCONFIG_DIR_32)/
1409N/A
1409N/A# Generate a list of exported functions & data objects so that we can verify
1409N/A# loadable modules don't reference symbols that have been deleted or renamed.
1409N/ASYMBOL_AWK_SCRIPT = \
1409N/A'BEGIN { print "\043 Functions exported by Xorg server to loadable modules" ; \
1409N/A print "\n\044mapfile_version 2\n\nSYMBOL_SCOPE {\n\tglobal:" } \
1409N/A END { print "};" } \
1409N/A $$7 ~ /UNDEF|\.tdata/ { next } \
1409N/A $$5 !~ /GLOB/ { next } \
1409N/A $$8 ~ /^(__|_edata|_end|_etext|_start|_environ|_lib_version)/ { next } \
1409N/A $$4 ~ /FUNC/ && $$7 ~ /\.text/ { printf "\t\t%-40s { FLAGS = EXTERN };\n", $$8 } \
1409N/A $$4 ~ /OBJT/ && $$7 ~ /data|bss/ { printf "\t\t%-40s { FLAGS = EXTERN };\n", $$8}'
1409N/A
1409N/A$(BUILD_DIR)/mapfile-Xorg-externs: $(XORGSERVER_BIN)
1409N/A -rm -f $@
1409N/A LC_ALL=C /usr/bin/nm -gs $(XORGSERVER_BIN) | \
1409N/A gawk -F\| $(SYMBOL_AWK_SCRIPT) > $@
1409N/A cmp $(XORG_EXTERNS_FILE) $@
1409N/A
1409N/A# Fix paths in proto area to match paths in packages / installed systems
1477N/Ainstall_fix_paths_X: default_install
1409N/A rm -f $(PROTODIR)$(MODULE_PREFIX)/bin/X \
1477N/A $(PROTODIR)$(MODULE_PREFIX)/bin/$(ARCHBINSUBDIR)/X
1477N/A ln -s Xserver $(PROTODIR)$(MODULE_PREFIX)/bin/X
1477N/A
1477N/Ainstall_fix_paths: install_fix_paths_X
1477N/A
1477N/AMESA_MODULE_DIR = /usr/lib/mesa/modules/extensions
1477N/AEXT_MODULE_DIR = $(X11_SERVERMODS_DIR)/extensions
1477N/A
1477N/Ainstall_fix_paths_glxmodule: default_install
1477N/A @rm -f $(PROTODIR)$(MESA_MODULE_DIR)/libglx.so
1477N/A mkdir -p $(PROTODIR)$(MESA_MODULE_DIR)/
1477N/A mv -f $(PROTODIR)$(EXT_MODULE_DIR)/libglx.so \
1477N/A $(PROTODIR)$(MESA_MODULE_DIR)/libglx.so
1477N/A ln -s ../../../../../system/volatile/opengl/server/libglx.so \
1477N/A $(PROTODIR)$(EXT_MODULE_DIR)/libglx.so
1477N/A
1477N/Ainstall_fix_paths: install_fix_paths_glxmodule
1477N/A
1477N/A# Install metadata for Xephyr, Xvfb, Xdmx, & xtsol packages too
1477N/AXCOMMON_PKG_METADATA_DIR = $(MODULE_PKG_METADATA_DIR:%-xorg=%-xserver-common)
1477N/AXEPHYR_PKG_METADATA_DIR = $(MODULE_PKG_METADATA_DIR:%-xorg=%-xephyr)
1477N/AXVFB_PKG_METADATA_DIR = $(MODULE_PKG_METADATA_DIR:%-xorg=%-xvfb)
1477N/AXDMX_PKG_METADATA_DIR = $(MODULE_PKG_METADATA_DIR:%-xorg=%-xdmx)
1477N/AXTSOL_PKG_METADATA_DIR = $(MODULE_PKG_METADATA_DIR:%-server-xorg=%-trusted-trusted-xorg)
1477N/A
1409N/AEXTRA_METADATA_DIRS = $(XCOMMON_PKG_METADATA_DIR) \
1425N/A $(XEPHYR_PKG_METADATA_DIR) \
1425N/A $(XVFB_PKG_METADATA_DIR) \
1425N/A $(XDMX_PKG_METADATA_DIR) \
1425N/A $(XTSOL_PKG_METADATA_DIR)
1425N/A
1425N/AEXTRA_ATTRDATA_FILES = $(EXTRA_METADATA_DIRS:%=%/$(ATTRDATA_FILE_NAME))
1409N/AEXTRA_LICENSE_FILES = $(EXTRA_METADATA_DIRS:%=%/$(LICENSE_FILE_NAME))
1425N/A
1425N/AEXTRA_METADATA_TARGETS= $(EXTRA_METADATA_DIRS) \
1610N/A $(EXTRA_ATTRDATA_FILES) \
1409N/A $(EXTRA_LICENSE_FILES)
1409N/A
1425N/Ainstall_metadata: $(EXTRA_METADATA_TARGETS)
1409N/A
1425N/A$(EXTRA_ATTRDATA_FILES) $(EXTRA_LICENSE_FILES): $(EXTRA_METADATA_DIRS)
1425N/A
1409N/A$(EXTRA_METADATA_DIRS):
1425N/A mkdir -p $@
1409N/A
1425N/A# Xtsol module is covered only by Oracle copyright/license
1425N/AXTSOL_LICENSE = $(XTSOL_PKG_METADATA_DIR)/$(LICENSE_FILE_NAME)
1409N/A$(XTSOL_LICENSE):= LICENSE_NAME = $(ORACLE_LICENSE_NAME)
1425N/A$(XTSOL_LICENSE):= LICENSE_FILE = COPYING.tsol
1477N/A$(XTSOL_LICENSE):= LICENSE_APPEND = $(ORACLE_LICENSE_APPEND)
1409N/A
1409N/A# Special compatibility links from /usr/X11/include to /usr/include
1409N/AX11_INCLUDE_COMPAT_DIR = $(PROTODIR)/usr/X11/include
1409N/AX11_INCLUDE_COMPAT_LINKS = $(X11_INCLUDE_COMPAT_DIR)/drm \
1409N/A $(X11_INCLUDE_COMPAT_DIR)/xorg
1409N/A
1409N/Ainstall: $(X11_INCLUDE_COMPAT_LINKS)
1409N/A
1409N/A$(X11_INCLUDE_COMPAT_DIR):
1409N/A mkdir -p $@
1409N/A
1409N/A$(X11_INCLUDE_COMPAT_LINKS): $(X11_INCLUDE_COMPAT_DIR)
1409N/A @rm -f $@
1494N/A ln -s ../../include/$(@F) $@
1409N/A
1409N/A## mdb module rules
1610N/A# Build & install mdb modules & scripts that aren't integrated to
1610N/A# normal build process.
1610N/AMDB_SOURCE_DIR=$(XORG_BUILD_DIR)/os/solaris/mdb
1610N/AMDB_MODULE_DIR=/usr/lib/mdb/proc/$(ARCHLIBSUBDIR)
1610N/AMDB_SCRIPT_DIR=/usr/demo/Xserver/mdb
1610N/AMDB_SCRIPTS=list_Xserver_clients \
1610N/A list_Xserver_devicegrab_client \
1610N/A list_Xserver_servergrab_client
1610N/AMDB_MODULE_NAMES=Xephyr Xorg Xvfb Xvnc Xdmx
1610N/A
1610N/ABUILT_MDB_MODULE=$(MDB_SOURCE_DIR)/modules/Xserver.so
1409N/ABUILT_MDB_SCRIPTS=$(MDB_SCRIPTS:%=$(MDB_SOURCE_DIR)/scripts/%)
1610N/A
1610N/AINSTALLED_MDB_LINKS=$(MDB_MODULE_NAMES:%=$(PROTODIR)$(MDB_MODULE_DIR)/%.so)
1610N/AINSTALLED_MDB_MODULE=$(PROTODIR)$(MDB_MODULE_DIR)/Xserver.so
1610N/AINSTALLED_MDB_SCRIPTS=$(MDB_SCRIPTS:%=$(PROTODIR)$(MDB_SCRIPT_DIR)/%)
1610N/AINSTALLED_MDB_ALL=$(INSTALLED_MDB_MODULE) $(INSTALLED_MDB_LINKS) \
1610N/A $(INSTALLED_MDB_SCRIPTS)
1610N/A
1610N/A# Since configure options aren't used to build the mdb modules, pass
1610N/A# those variables at build time
1610N/AMDB_BUILD_ENV=$(CONFIG_ENV) $(BUILD_ENV)
1610N/AMDB_BUILD_ENV += CFLAGS="$(LIB_CFLAGS)" LDFLAGS="$(LIB_LDFLAGS)"
1610N/A
1610N/Abuild_mdb: $(BUILT_MDB_MODULE)
1610N/A
1610N/A$(BUILT_MDB_SCRIPTS): $(SOURCE_TARGETS)
1610N/A
1409N/A$(BUILT_MDB_MODULE): $(CONFIGURE_TARGETS)
1409N/A (cd $(MDB_SOURCE_DIR) ; \
1610N/A $(MDB_BUILD_ENV) $(MAKE) $(MAKEFLAGS) $(DEFAULT_BUILD_MAKEFLAGS))
1610N/A
1409N/A$(PROTODIR)$(MDB_MODULE_DIR) $(PROTODIR)$(MDB_SCRIPT_DIR):
1409N/A mkdir -p $@
1610N/A
1610N/A$(INSTALLED_MDB_MODULE): $(PROTODIR)$(MDB_MODULE_DIR) $(BUILT_MDB_MODULE)
1610N/A $(INSTALL_SCRIPT) -c -m 0555 $(BUILT_MDB_MODULE) $@
1409N/A
1409N/A$(INSTALLED_MDB_LINKS): $(PROTODIR)$(MDB_MODULE_DIR)
1409N/A @rm -f $@
1409N/A ln -s Xserver.so $@
1409N/A
1409N/A$(INSTALLED_MDB_SCRIPTS): $(BUILT_MDB_SCRIPTS) $(PROTODIR)$(MDB_SCRIPT_DIR)
1409N/A $(INSTALL_SCRIPT) -c -m 0555 $(MDB_SOURCE_DIR)/scripts/$(@F) \
1409N/A $(PROTODIR)$(MDB_SCRIPT_DIR)/
1409N/A
1409N/Ainstall_mdb: $(INSTALLED_MDB_ALL)
1409N/A $(INSTALL_SCRIPT) -c -m 0444 $(MDB_SOURCE_DIR)/README \
1409N/A $(PROTODIR)$(MDB_SCRIPT_DIR)/
1409N/A
1409N/A## Dtrace docs rules
1409N/A$(DTRACE_DOC_DIR)/Xserver-DTrace.xml: $(AUTOCONF_TARGET)
1409N/A
1409N/Ainstall_docs: $(DTRACE_DOCS) $(PROTODIR)$(MODULE_DOC_DIR)
1409N/A $(INSTALL_SCRIPT) -c -m 0444 $(DTRACE_DOCS) $(PROTODIR)$(MODULE_DOC_DIR)
1409N/A