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