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