Makefile revision 1123
6846N/A# Makefile for X Consolidation Open Source bits
6846N/A#
6846N/A# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
6846N/A#
6846N/A# Permission is hereby granted, free of charge, to any person obtaining a
6846N/A# copy of this software and associated documentation files (the "Software"),
6846N/A# to deal in the Software without restriction, including without limitation
6846N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
6846N/A# and/or sell copies of the Software, and to permit persons to whom the
6846N/A# Software is furnished to do so, subject to the following conditions:
6846N/A#
6846N/A# The above copyright notice and this permission notice (including the next
6846N/A# paragraph) shall be included in all copies or substantial portions of the
6846N/A# Software.
6846N/A#
6846N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6846N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6846N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
6846N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6846N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
6846N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
6846N/A# DEALINGS IN THE SOFTWARE.
6846N/A#
6846N/A#
6846N/A###############################################################################
6846N/A#
6846N/A
6846N/A# Need to install to proto area by default for inter-package dependencies to
6846N/A# work right.
6846N/Adefault_target: install
6846N/A
6846N/A# Modules have to be built in a specific order for dependencies to be
6846N/A# handled properly
6846N/A
6846N/A# Some specific notes:
6846N/A# - app/rgb depends on the rgb.h header installed by the Xorg xserver,
6846N/A# so has to be built after xserver/xorg
6846N/A# - util/util-macros must be first, since any module that does autoreconf
6846N/A# requires it
6846N/A# - data/xbitmaps must be before app, as some applications depend on the
6846N/A# bitmaps installed, but the rest of data depends on applications like
6846N/A# xcursorgen for processing, so must come later
6846N/A# - font depends on utils like mkfontdir from app
6846N/A
6846N/A# High level dependencies
6846N/Aproto: util/util-macros util/lndir
6846N/Autil/lndir: proto/x11proto
6846N/Alib: proto font/util util
6846N/Autil: proto font/util
6846N/Aapp: lib data/xbitmaps font/util
6846N/Axserver/xorg xserver/xvnc: proto doc/xorg-sgml-doctools lib font/util
6846N/Adriver: xserver/xorg
6846N/Aapp/rgb: xserver/xorg
6846N/Adoc/xorg-docs: doc/xorg-sgml-doctools
6846N/Adata: app
6846N/AFONTAPPS = app/bdftopcf app/mkfontscale app/mkfontdir
6846N/Afont: $(FONTAPPS) font/util
6846N/A$(FONTAPPS): lib
6846N/A
6846N/AOS_SUBDIRS_common = \
6846N/A util/util-macros \
6846N/A proto/x11proto \
6846N/A util/lndir \
6846N/A proto \
6846N/A data/xbitmaps \
6846N/A font/util \
6846N/A util \
6846N/A doc/xorg-sgml-doctools \
6846N/A doc/xorg-docs \
6846N/A lib \
6846N/A app \
6846N/A $(FONTAPPS) \
6846N/A xserver/xorg \
6846N/A xserver/xvnc \
6846N/A xserver/xserver-common \
6846N/A driver \
6846N/A app/rgb \
6846N/A data \
6846N/A font
6846N/A
6846N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
6846N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
6846N/A
6846N/A# Subdirs we used to build, but now just need to clean up
6846N/AOBSOLETE_SUBDIRS = \
6846N/A doc/docbook-utils
6846N/A
6846N/APWD:sh=pwd
6846N/ATOP=$(PWD)/..
6846N/A
6846N/A### Include common definitions
6846N/ADIRNAME=""
6846N/Ainclude $(TOP)/open-src/common/Makefile.subdirs
6846N/A
6846N/A