Makefile revision 418
4d237bbe075b1d2c19428cd954d721d65b31f67cwrowe# Makefile for X Consolidation Open Source Application modules
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna#
f80ef15dcf58050fbfbe12b000de043f6ae6ac82pquerna# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
f80ef15dcf58050fbfbe12b000de043f6ae6ac82pquerna# Use subject to license terms.
505e342aefa9fbccc857f1bc653a310e25511946sf#
505e342aefa9fbccc857f1bc653a310e25511946sf# Permission is hereby granted, free of charge, to any person obtaining a
505e342aefa9fbccc857f1bc653a310e25511946sf# copy of this software and associated documentation files (the
505e342aefa9fbccc857f1bc653a310e25511946sf# "Software"), to deal in the Software without restriction, including
26734c75baf170a492ef6a82f07b24ee1af7d0b1sf# without limitation the rights to use, copy, modify, merge, publish,
26734c75baf170a492ef6a82f07b24ee1af7d0b1sf# distribute, and/or sell copies of the Software, and to permit persons
26734c75baf170a492ef6a82f07b24ee1af7d0b1sf# to whom the Software is furnished to do so, provided that the above
dda254ba84bdff5e236917af1b31693ca4360eabcovener# copyright notice(s) and this permission notice appear in all copies of
dda254ba84bdff5e236917af1b31693ca4360eabcovener# the Software and that both the above copyright notice(s) and this
dda254ba84bdff5e236917af1b31693ca4360eabcovener# permission notice appear in supporting documentation.
dda254ba84bdff5e236917af1b31693ca4360eabcovener#
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquerna# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
3becbd2611ffb2e8391a8eacce765b43dcb1c669wrowe# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
3becbd2611ffb2e8391a8eacce765b43dcb1c669wrowe# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
3becbd2611ffb2e8391a8eacce765b43dcb1c669wrowe# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
8e5e9b2d4c6cbcd21ca182fe1109d59284239515wrowe# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
3becbd2611ffb2e8391a8eacce765b43dcb1c669wrowe# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
9c78f8d71737dfbbbf4da2f9acb397567a10e88bsf# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
9c78f8d71737dfbbbf4da2f9acb397567a10e88bsf# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
9c78f8d71737dfbbbf4da2f9acb397567a10e88bsf#
9c78f8d71737dfbbbf4da2f9acb397567a10e88bsf# Except as contained in this notice, the name of a copyright holder
9c78f8d71737dfbbbf4da2f9acb397567a10e88bsf# shall not be used in advertising or otherwise to promote the sale, use
4be9c459920a7c1cfe62d654327dae5c4bb6b284sf# or other dealings in this Software without prior written authorization
4be9c459920a7c1cfe62d654327dae5c4bb6b284sf# of the copyright holder.
4be9c459920a7c1cfe62d654327dae5c4bb6b284sf#
47ff2654d827dd3596ce2e4099d69cec0f1009b9takashi# @(#)Makefile 1.43 08/05/19
47ff2654d827dd3596ce2e4099d69cec0f1009b9takashi#
47ff2654d827dd3596ce2e4099d69cec0f1009b9takashi###############################################################################
b4ae72381175122ebfe42ff0d11db7a7f4162014takashi
b4ae72381175122ebfe42ff0d11db7a7f4162014takashi# Dependency ordering:
b4ae72381175122ebfe42ff0d11db7a7f4162014takashi# rss-glx needs to come after xscreensaver
5e1ae35c05125b8b6c6c648c60e576f5796ea061rpluem
5e1ae35c05125b8b6c6c648c60e576f5796ea061rpluemOS_SUBDIRS_common = \
5e1ae35c05125b8b6c6c648c60e576f5796ea061rpluem appres \
5e1ae35c05125b8b6c6c648c60e576f5796ea061rpluem bitmap \
5e1ae35c05125b8b6c6c648c60e576f5796ea061rpluem constype \
b9a830d395feaa66ab621841a5cd86e1fa2d184brjung editres \
b9a830d395feaa66ab621841a5cd86e1fa2d184brjung iceauth \
82e6711dc508d2822d9397f07136ba4ddd8764e1niq listres \
82e6711dc508d2822d9397f07136ba4ddd8764e1niq luit \
82e6711dc508d2822d9397f07136ba4ddd8764e1niq mesa-demos \
82e6711dc508d2822d9397f07136ba4ddd8764e1niq mkfontscale \
82e6711dc508d2822d9397f07136ba4ddd8764e1niq oclock \
82e6711dc508d2822d9397f07136ba4ddd8764e1niq setxkbmap \
82e6711dc508d2822d9397f07136ba4ddd8764e1niq twm \
f43104f173247435cb4ade2b89aa2ca8108aedb7niq viewres \
f43104f173247435cb4ade2b89aa2ca8108aedb7niq x11perf \
f43104f173247435cb4ade2b89aa2ca8108aedb7niq xauth \
1fdcfb04a08e53ce28af657d854922efbbabecf4niq xcalc \
1fdcfb04a08e53ce28af657d854922efbbabecf4niq xclipboard \
1fdcfb04a08e53ce28af657d854922efbbabecf4niq xcmsdb \
1fdcfb04a08e53ce28af657d854922efbbabecf4niq xconsole \
c26aa743a70c2148cdca1e6c637c605d9025b051niq xcursorgen \
c26aa743a70c2148cdca1e6c637c605d9025b051niq xdpyinfo \
c26aa743a70c2148cdca1e6c637c605d9025b051niq xdriinfo \
c26aa743a70c2148cdca1e6c637c605d9025b051niq xev \
e076b09731977eafcef2bfc6f5323f3ab7e83b15niq xfd \
e076b09731977eafcef2bfc6f5323f3ab7e83b15niq xfwp \
3fba96a56fbced0f14edde04f417d74d7f5bdb1eniq xgamma \
3a183ee5b8f8129f6d3ec493be51abacda7c6ea7niq xgc \
3a183ee5b8f8129f6d3ec493be51abacda7c6ea7niq xhost \
3a183ee5b8f8129f6d3ec493be51abacda7c6ea7niq xkbcomp \
64dbb5532fba398c5e81efeb21c7fd50c05819d7niq xkill \
64dbb5532fba398c5e81efeb21c7fd50c05819d7niq xlogo \
64dbb5532fba398c5e81efeb21c7fd50c05819d7niq xlsatoms \
d31d6c32262a8d1cbfc63d9f7adccae46002c8f7niq xlsclients \
d31d6c32262a8d1cbfc63d9f7adccae46002c8f7niq xmag \
d31d6c32262a8d1cbfc63d9f7adccae46002c8f7niq xmodmap \
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquerna xpm \
a50db00c3663c2a0d3531965c64d995516b06288niq xprop \
11f2c481e1d57bedb3f758565307501e9a2730ddtrawick xrandr \
11f2c481e1d57bedb3f758565307501e9a2730ddtrawick xrdb \
11f2c481e1d57bedb3f758565307501e9a2730ddtrawick xrefresh \
11f2c481e1d57bedb3f758565307501e9a2730ddtrawick xset \
11f2c481e1d57bedb3f758565307501e9a2730ddtrawick xsetroot \
11f2c481e1d57bedb3f758565307501e9a2730ddtrawick xstdcmap \
4aa736735709d0434c02ae6cc65b0738eb9882cctakashi xvidtune \
4aa736735709d0434c02ae6cc65b0738eb9882cctakashi xvinfo \
4aa736735709d0434c02ae6cc65b0738eb9882cctakashi xwd \
99d46a23c6eac800f327b29f8009f7d7da986230trawick xwininfo \
99d46a23c6eac800f327b29f8009f7d7da986230trawick xwud \
99d46a23c6eac800f327b29f8009f7d7da986230trawick xscreensaver \
99d46a23c6eac800f327b29f8009f7d7da986230trawick rss-glx \
6c2782f8988f498ad9e5fc84256e202175c3edc9covener xterm
6c2782f8988f498ad9e5fc84256e202175c3edc9covener
6c2782f8988f498ad9e5fc84256e202175c3edc9covenerOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
6c2782f8988f498ad9e5fc84256e202175c3edc9covener
a50db00c3663c2a0d3531965c64d995516b06288niqOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
bf27540ecb929632fd82264742045c96006c382cniq
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquernaMACH:sh=uname -p
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquernaOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquerna
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquernaall:
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquerna $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquerna
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquernaWorld: clean all
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquerna
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquernaclean:
bcb567d8f48f5de8aa84e0b19e93357e0a4d970epquerna $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
ea6ff3396df1d6d43ee0ecfa3e26ada981d8e9a3sctemme
8a0c75e992cc657a98317e78374b800d16963cfatrawickinstall:
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
ab1b172430f2d4e1b222b541bb8c1d431c1a7bc7sf
8315a125b56710a222167e4d65b96c3c891f4b25sfdownload:
8315a125b56710a222167e4d65b96c3c891f4b25sf $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
ab1b172430f2d4e1b222b541bb8c1d431c1a7bc7sf
3f985866b9b5b49fb57735b5eb135591163f30dfsfsource:
3f985866b9b5b49fb57735b5eb135591163f30dfsf $(MAKE) $(MFLAGS) subdirs OS_TARGET=source
7f51e5c395d431b8c20226f77de28efe13272bfasf
7f51e5c395d431b8c20226f77de28efe13272bfasfsubdirs:
7f51e5c395d431b8c20226f77de28efe13272bfasf @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
7f51e5c395d431b8c20226f77de28efe13272bfasf for i in $(OS_SUBDIRS) ;\
17d64c884a44f5ca72f6901afd3e50991bfc1c63sf do \
17d64c884a44f5ca72f6901afd3e50991bfc1c63sf (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
17d64c884a44f5ca72f6901afd3e50991bfc1c63sf $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
a6e4caaa97e433cc2ef78d957bc32756d9c49f79sf done
a6e4caaa97e433cc2ef78d957bc32756d9c49f79sf