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