Makefile revision 464
4d237bbe075b1d2c19428cd954d721d65b31f67cwrowe# Makefile for X Consolidation Open Source Application modules
ec79b29695b183f794264bbb578c51e93d1f9b1emartin#
1a5f954324f2584984fc9cee7a7a8ebe8ef39aeajim# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
b39ba1ea90cd1940dcd9e8d0f18c1ff02c187ac1jim# Use subject to license terms.
eacd93a9763f18f9cfd5f61ad1526f7ef32dd8d1rpluem#
eacd93a9763f18f9cfd5f61ad1526f7ef32dd8d1rpluem# Permission is hereby granted, free of charge, to any person obtaining a
b5d91f803b61ef5b13666e423173eb72d96f8938niq# copy of this software and associated documentation files (the
b5d91f803b61ef5b13666e423173eb72d96f8938niq# "Software"), to deal in the Software without restriction, including
b5d91f803b61ef5b13666e423173eb72d96f8938niq# without limitation the rights to use, copy, modify, merge, publish,
927df87b4c47e1cef32194ccdcbe44598e7495e9fielding# distribute, and/or sell copies of the Software, and to permit persons
927df87b4c47e1cef32194ccdcbe44598e7495e9fielding# to whom the Software is furnished to do so, provided that the above
927df87b4c47e1cef32194ccdcbe44598e7495e9fielding# copyright notice(s) and this permission notice appear in all copies of
927df87b4c47e1cef32194ccdcbe44598e7495e9fielding# the Software and that both the above copyright notice(s) and this
1104271514ab6eee6391f8a0e670d9cc98184d9bfielding# permission notice appear in supporting documentation.
1104271514ab6eee6391f8a0e670d9cc98184d9bfielding#
1104271514ab6eee6391f8a0e670d9cc98184d9bfielding# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Except as contained in this notice, the name of a copyright holder
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# shall not be used in advertising or otherwise to promote the sale, use
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# or other dealings in this Software without prior written authorization
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# of the copyright holder.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# @(#)Makefile 1.58 08/07/16
b6b1df87b7ce62620d48526a7ab630897cdaad90chrisd#
b6b1df87b7ce62620d48526a7ab630897cdaad90chrisd###############################################################################
b6b1df87b7ce62620d48526a7ab630897cdaad90chrisd
b6b1df87b7ce62620d48526a7ab630897cdaad90chrisd# Dependency ordering:
b6b1df87b7ce62620d48526a7ab630897cdaad90chrisd# rss-glx needs to come after xscreensaver
4cf58054a85830c67dc23890ee613f62e1f7bdc8minfrin
4cf58054a85830c67dc23890ee613f62e1f7bdc8minfrinOS_SUBDIRS_common = \
4cf58054a85830c67dc23890ee613f62e1f7bdc8minfrin appres \
4cf58054a85830c67dc23890ee613f62e1f7bdc8minfrin bitmap \
4cf58054a85830c67dc23890ee613f62e1f7bdc8minfrin constype \
4cf58054a85830c67dc23890ee613f62e1f7bdc8minfrin editres \
caaa32f2d2e3b28063c745c2632d3979da7f8326minfrin fslsfonts \
caaa32f2d2e3b28063c745c2632d3979da7f8326minfrin fstobdf \
caaa32f2d2e3b28063c745c2632d3979da7f8326minfrin iceauth \
caaa32f2d2e3b28063c745c2632d3979da7f8326minfrin lbxproxy \
66a8e1cc29cc4612cd938bc8fcabc0ef569e5769rpluem listres \
caaa32f2d2e3b28063c745c2632d3979da7f8326minfrin luit \
e02cb8f5090d904c054633ff33dfd1111e16e404minfrin mesa-demos \
e02cb8f5090d904c054633ff33dfd1111e16e404minfrin mkfontscale \
e02cb8f5090d904c054633ff33dfd1111e16e404minfrin oclock \
66a8e1cc29cc4612cd938bc8fcabc0ef569e5769rpluem sessreg \
e02cb8f5090d904c054633ff33dfd1111e16e404minfrin setxkbmap \
8a3e2ef19ddfb8addcccdc61da0d1442695a8280rpluem showfont \
8a3e2ef19ddfb8addcccdc61da0d1442695a8280rpluem twm \
8a3e2ef19ddfb8addcccdc61da0d1442695a8280rpluem viewres \
213e520edc00641400771fc8f90b37a967a2d9ebdirkx x11perf \
213e520edc00641400771fc8f90b37a967a2d9ebdirkx xauth \
213e520edc00641400771fc8f90b37a967a2d9ebdirkx xcalc \
213e520edc00641400771fc8f90b37a967a2d9ebdirkx xclipboard \
213e520edc00641400771fc8f90b37a967a2d9ebdirkx xclock \
a449830d5caa5b9900fe64cc383658b3641f9810dirkx xcmsdb \
a449830d5caa5b9900fe64cc383658b3641f9810dirkx xconsole \
a449830d5caa5b9900fe64cc383658b3641f9810dirkx xcursorgen \
a449830d5caa5b9900fe64cc383658b3641f9810dirkx xdpyinfo \
a449830d5caa5b9900fe64cc383658b3641f9810dirkx xdriinfo \
a449830d5caa5b9900fe64cc383658b3641f9810dirkx xev \
a449830d5caa5b9900fe64cc383658b3641f9810dirkx xfd \
a449830d5caa5b9900fe64cc383658b3641f9810dirkx xfsinfo \
06d3a46db9574ad55b65fed36b856fee72bd71a7rpluem xfwp \
06d3a46db9574ad55b65fed36b856fee72bd71a7rpluem xgamma \
06d3a46db9574ad55b65fed36b856fee72bd71a7rpluem xgc \
82632a19f2f9c346fee2b28a65920ba9737b3973minfrin xhost \
82632a19f2f9c346fee2b28a65920ba9737b3973minfrin xinit \
82632a19f2f9c346fee2b28a65920ba9737b3973minfrin xkbcomp \
82632a19f2f9c346fee2b28a65920ba9737b3973minfrin xkbprint \
82632a19f2f9c346fee2b28a65920ba9737b3973minfrin xkill \
0481ff0599c9e3c0c7ad5c1930939dcdac908582chrisd xload \
0481ff0599c9e3c0c7ad5c1930939dcdac908582chrisd xlogo \
0481ff0599c9e3c0c7ad5c1930939dcdac908582chrisd xlsatoms \
835d676191444a46d695171e8760d55a66c60fecminfrin xlsclients \
835d676191444a46d695171e8760d55a66c60fecminfrin xlsfonts \
835d676191444a46d695171e8760d55a66c60fecminfrin xmag \
835d676191444a46d695171e8760d55a66c60fecminfrin xman \
723f9f463f1922eaef3d24d00cb289e10daa73ffminfrin xmodmap \
723f9f463f1922eaef3d24d00cb289e10daa73ffminfrin xpm \
723f9f463f1922eaef3d24d00cb289e10daa73ffminfrin xprop \
723f9f463f1922eaef3d24d00cb289e10daa73ffminfrin xrandr \
c2213b3a46a2666e2e7606ceec509cc4978f187fminfrin xrdb \
c2213b3a46a2666e2e7606ceec509cc4978f187fminfrin xrefresh \
c2213b3a46a2666e2e7606ceec509cc4978f187fminfrin xrx \
c2213b3a46a2666e2e7606ceec509cc4978f187fminfrin xset \
d4562e99f620170ce0bedddc16887b900b34913bminfrin xsetroot \
d4562e99f620170ce0bedddc16887b900b34913bminfrin xstdcmap \
d4562e99f620170ce0bedddc16887b900b34913bminfrin xvidtune \
fd279fe992f7171dc3f6d4d40d6db5bb74f2d96eminfrin xvinfo \
fd279fe992f7171dc3f6d4d40d6db5bb74f2d96eminfrin xwd \
fd279fe992f7171dc3f6d4d40d6db5bb74f2d96eminfrin xwininfo \
fd279fe992f7171dc3f6d4d40d6db5bb74f2d96eminfrin xwud \
fed63d1b62cc7e56aad77b70ee5b5cc7f5c6aademinfrin xscreensaver \
fed63d1b62cc7e56aad77b70ee5b5cc7f5c6aademinfrin rss-glx \
fed63d1b62cc7e56aad77b70ee5b5cc7f5c6aademinfrin xeyes \
fed63d1b62cc7e56aad77b70ee5b5cc7f5c6aademinfrin xterm
fed63d1b62cc7e56aad77b70ee5b5cc7f5c6aademinfrin
abe0d0e38b9705f21a13ac8748bce1e3ed35e488minfrinOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
abe0d0e38b9705f21a13ac8748bce1e3ed35e488minfrin
abe0d0e38b9705f21a13ac8748bce1e3ed35e488minfrinOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
abe0d0e38b9705f21a13ac8748bce1e3ed35e488minfrin
abe0d0e38b9705f21a13ac8748bce1e3ed35e488minfrinMACH:sh=uname -p
fb8ee8b7a3a2503b95bf47685f9083e0b9834e6fminfrinOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
fb8ee8b7a3a2503b95bf47685f9083e0b9834e6fminfrin
fb8ee8b7a3a2503b95bf47685f9083e0b9834e6fminfrinall:
fb8ee8b7a3a2503b95bf47685f9083e0b9834e6fminfrin $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisdWorld: clean all
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisdclean:
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisdinstall:
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
4228aba3de67f3d9cce68f7a915d5435faa43adarpluem
4228aba3de67f3d9cce68f7a915d5435faa43adarpluemdownload:
4228aba3de67f3d9cce68f7a915d5435faa43adarpluem $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
78a20a6e7ad3a0229900ee54c7d11a65f647b663niq
9582ad6e149d28b118d4e8571101ecb6f85e0191niqsource:
9582ad6e149d28b118d4e8571101ecb6f85e0191niq $(MAKE) $(MFLAGS) subdirs OS_TARGET=source
9582ad6e149d28b118d4e8571101ecb6f85e0191niq
78a20a6e7ad3a0229900ee54c7d11a65f647b663niqsubdirs:
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd for i in $(OS_SUBDIRS) ;\
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd do \
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
e1a26e8050bf62459a7ef1c5064b714811767417rpluem done
e1a26e8050bf62459a7ef1c5064b714811767417rpluem