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