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