Makefile revision 316
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein# Makefile for X Consolidation Open Source Application modules
1832c015282e23772f5518059eea4b54a9d142cfjerenkrantz#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Use subject to license terms.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
a8d5ccbcbde8cb6cf3a9dcf2eb05f393ab76baa9ianh# Permission is hereby granted, free of charge, to any person obtaining a
fcef0136828a2525b702f4a2ac465bd789cc5686ianh# copy of this software and associated documentation files (the
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron# "Software"), to deal in the Software without restriction, including
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz# without limitation the rights to use, copy, modify, merge, publish,
4a257be29f8aeab984fe5622fa69e0b2aab204d7jerenkrantz# distribute, and/or sell copies of the Software, and to permit persons
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# to whom the Software is furnished to do so, provided that the above
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# copyright notice(s) and this permission notice appear in all copies of
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# the Software and that both the above copyright notice(s) and this
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# permission notice appear in supporting documentation.
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley#
571760de5e60c0b459cb11be45507b923cd023eejwoolley# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
571760de5e60c0b459cb11be45507b923cd023eejwoolley# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
9180a5933673ffb1af633c255ceee029340f3b1erbb# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb#
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# Except as contained in this notice, the name of a copyright holder
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# shall not be used in advertising or otherwise to promote the sale, use
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# or other dealings in this Software without prior written authorization
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# of the copyright holder.
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick#
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# @(#)Makefile 1.24 08/02/14
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj###############################################################################
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
af4c982a7cf4515f124935f99a329744035fc699sliveOS_SUBDIRS_common = \
af4c982a7cf4515f124935f99a329744035fc699slive constype \
af4c982a7cf4515f124935f99a329744035fc699slive editres \
af4c982a7cf4515f124935f99a329744035fc699slive mesa-demos \
af4c982a7cf4515f124935f99a329744035fc699slive mkfontscale \
af4c982a7cf4515f124935f99a329744035fc699slive x11perf \
af4c982a7cf4515f124935f99a329744035fc699slive xauth \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj xcalc \
531c23ff01a2489646f0a2029097013b328d935agstein xclipboard \
28a83b4628080a704c56bbfcc149b94eb873d555coar xconsole \
bf289b7cf642fb65ab05c22611226619e4e3bb3acoar xcursorgen \
bf289b7cf642fb65ab05c22611226619e4e3bb3acoar xdpyinfo \
bf289b7cf642fb65ab05c22611226619e4e3bb3acoar xgamma \
a9a0f66fee736c72861cb2819b67b7784896a37cjerenkrantz xhost \
a9a0f66fee736c72861cb2819b67b7784896a37cjerenkrantz xkbcomp \
a9a0f66fee736c72861cb2819b67b7784896a37cjerenkrantz xkill \
427af37b52c0ce1d8c85c9966f41d2b055e652facoar xlsatoms \
427af37b52c0ce1d8c85c9966f41d2b055e652facoar xmag \
427af37b52c0ce1d8c85c9966f41d2b055e652facoar xmodmap \
427af37b52c0ce1d8c85c9966f41d2b055e652facoar xpm \
1fdeac77a45beb33bdb094738fb90c14e2584f68jerenkrantz xprop \
1fdeac77a45beb33bdb094738fb90c14e2584f68jerenkrantz xrandr \
bf289b7cf642fb65ab05c22611226619e4e3bb3acoar xrdb \
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp xrefresh \
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp xset \
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp xsetroot \
6758b07b4b79f898b0f56375016cea7da0bfb495wrowe xstdcmap \
6758b07b4b79f898b0f56375016cea7da0bfb495wrowe xvidtune \
6758b07b4b79f898b0f56375016cea7da0bfb495wrowe xvinfo \
6758b07b4b79f898b0f56375016cea7da0bfb495wrowe xwininfo \
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp xscreensaver
54e1babd5a5a56c576eeeace54110150769cc916coar
54e1babd5a5a56c576eeeace54110150769cc916coarOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
54e1babd5a5a56c576eeeace54110150769cc916coar
0bcb1fe39dfaacf9745b6633f5cc9ebc8e2596caaaronOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
54e1babd5a5a56c576eeeace54110150769cc916coar
7fe18c15b669db9d191859695901dc4fcf3829dawroweMACH:sh=uname -p
7fe18c15b669db9d191859695901dc4fcf3829dawroweOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
7fe18c15b669db9d191859695901dc4fcf3829dawrowe
b84f66c93f820824b1d5455181f55598b766319cwroweall:
7fe18c15b669db9d191859695901dc4fcf3829dawrowe $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
976501adbc040220270f7d1d77c4b8373033be69wrowe
976501adbc040220270f7d1d77c4b8373033be69wroweWorld: clean all
976501adbc040220270f7d1d77c4b8373033be69wrowe
976501adbc040220270f7d1d77c4b8373033be69wroweclean:
976501adbc040220270f7d1d77c4b8373033be69wrowe $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
b84f66c93f820824b1d5455181f55598b766319cwrowe
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbinstall:
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbdownload:
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
a9a0f66fee736c72861cb2819b67b7784896a37cjerenkrantzsubdirs:
a9a0f66fee736c72861cb2819b67b7784896a37cjerenkrantz @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
a9a0f66fee736c72861cb2819b67b7784896a37cjerenkrantz for i in $(OS_SUBDIRS) ;\
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb do \
b84f66c93f820824b1d5455181f55598b766319cwrowe (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
b84f66c93f820824b1d5455181f55598b766319cwrowe $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
b84f66c93f820824b1d5455181f55598b766319cwrowe done
b84f66c93f820824b1d5455181f55598b766319cwrowe