Makefile revision 810
409N/A# Makefile for X Consolidation Open Source bits
290N/A#
290N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
290N/A# Use is subject to license terms.
290N/A#
290N/A# Permission is hereby granted, free of charge, to any person obtaining a
290N/A# copy of this software and associated documentation files (the
290N/A# "Software"), to deal in the Software without restriction, including
290N/A# without limitation the rights to use, copy, modify, merge, publish,
290N/A# distribute, and/or sell copies of the Software, and to permit persons
290N/A# to whom the Software is furnished to do so, provided that the above
290N/A# copyright notice(s) and this permission notice appear in all copies of
290N/A# the Software and that both the above copyright notice(s) and this
290N/A# permission notice appear in supporting documentation.
290N/A#
290N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
290N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
290N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
290N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
290N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
290N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
395N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
395N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
395N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
290N/A#
290N/A# Except as contained in this notice, the name of a copyright holder
290N/A# shall not be used in advertising or otherwise to promote the sale, use
290N/A# or other dealings in this Software without prior written authorization
290N/A# of the copyright holder.
290N/A#
383N/A# ident "@(#)Makefile 1.23 09/10/13 SMI"
290N/A#
395N/A###############################################################################
290N/A#
395N/A
290N/A# Need to install to proto area by default for inter-package dependencies to
290N/A# work right.
290N/Adefault_target: install
290N/A
290N/A# Modules have to be built in a specific order for dependencies to be
383N/A# handled properly
290N/A
290N/A# Some specific notes:
290N/A# - app/rgb depends on the rgb.h header installed by the xserver, so has to
290N/A# be built after xserver
290N/A# - util/util-macros must be first, since any module that does autoreconf
290N/A# requires it
290N/A# - data/xbitmaps must be before app, as some applications depend on the
290N/A# bitmaps installed, but the rest of data depends on applications like
290N/A# xcursorgen for processing, so must come later
290N/A# - font depends on utils like mkfontdir from app
290N/A
290N/A# High level dependencies
290N/Aproto: util/util-macros
395N/Alib: proto
395N/Aapp: lib data/xbitmaps
290N/Axserver: proto doc lib
395N/Adriver: xserver
395N/Aapp/rgb: xserver
290N/Adata: app
395N/Afont: app
395N/A
290N/AOS_SUBDIRS_common = \
395N/A util/util-macros \
395N/A proto \
290N/A data/xbitmaps \
290N/A util \
290N/A doc \
290N/A lib \
290N/A app \
290N/A xserver \
290N/A driver \
290N/A app/rgb \
290N/A data \
290N/A font
290N/A
290N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
395N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
290N/A
290N/APWD:sh=pwd
290N/ATOP=$(PWD)
290N/A
290N/A### Include common definitions
395N/ADIRNAME=""
395N/Ainclude $(TOP)/common/Makefile.subdirs
395N/A
395N/A