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