Makefile revision 309
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein# Makefile for X Consolidation Open Source Application modules
af9f2bd7837c251df865825e03ad192e5c6aee18jim#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Use subject to license terms.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# Permission is hereby granted, free of charge, to any person obtaining a
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# copy of this software and associated documentation files (the
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# "Software"), to deal in the Software without restriction, including
571760de5e60c0b459cb11be45507b923cd023eejwoolley# without limitation the rights to use, copy, modify, merge, publish,
571760de5e60c0b459cb11be45507b923cd023eejwoolley# distribute, and/or sell copies of the Software, and to permit persons
9180a5933673ffb1af633c255ceee029340f3b1erbb# to whom the Software is furnished to do so, provided that the above
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# copyright notice(s) and this permission notice appear in all copies of
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# the Software and that both the above copyright notice(s) and this
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# permission notice appear in supporting documentation.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# Except as contained in this notice, the name of a copyright holder
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# shall not be used in advertising or otherwise to promote the sale, use
af4c982a7cf4515f124935f99a329744035fc699slive# or other dealings in this Software without prior written authorization
af4c982a7cf4515f124935f99a329744035fc699slive# of the copyright holder.
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699slive# @(#)Makefile 1.22 08/02/08
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699slive###############################################################################
af4c982a7cf4515f124935f99a329744035fc699slive
2a6c49cfaef5979a5a06098f3ce987cd76769409manojOS_SUBDIRS_common = \
531c23ff01a2489646f0a2029097013b328d935agstein constype \
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb editres \
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb mesa-demos \
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb mkfontscale \
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb xcalc \
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb xclipboard \
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb xconsole \
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb xcursorgen \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xdpyinfo \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xgamma \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xhost \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xkbcomp \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xkill \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xlsatoms \
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein xmag \
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein xmodmap \
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein xpm \
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein xprop \
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein xrandr \
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein xrdb \
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein xrefresh \
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein xset \
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe xsetroot \
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe xstdcmap \
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe xvidtune \
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe xvinfo \
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe xwininfo \
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe xscreensaver
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwroweOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwroweOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwroweMACH:sh=uname -p
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwroweOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddardall:
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddardWorld: clean all
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddardclean:
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddardinstall:
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
d57551cb28450661e77394ec332cf25b0f63aae1trawick
c3a2c6ae9a1c7f37d672a54c2c9a1b4f7941085btrawickdownload:
c3a2c6ae9a1c7f37d672a54c2c9a1b4f7941085btrawick $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
c3a2c6ae9a1c7f37d672a54c2c9a1b4f7941085btrawick
c3a2c6ae9a1c7f37d672a54c2c9a1b4f7941085btrawicksubdirs:
d57551cb28450661e77394ec332cf25b0f63aae1trawick @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
c3a2c6ae9a1c7f37d672a54c2c9a1b4f7941085btrawick for i in $(OS_SUBDIRS) ;\
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj do \
33a70d93b992bbb63b809c24df29451f38f017c1rbb (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
809cf6f87f7a07b348f6d69961834923bc16313egstein $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
46b9575c45e6e65788ec5b6362b1560737c12060jwoolley done
e8db1923768a99d1ea948c6b0df5337aaf467895bhyde