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