Makefile revision 156
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Makefile for X Consolidation Open Source Application modules
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Use subject to license terms.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# Permission is hereby granted, free of charge, to any person obtaining a
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# copy of this software and associated documentation files (the
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# "Software"), to deal in the Software without restriction, including
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# without limitation the rights to use, copy, modify, merge, publish,
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# distribute, and/or sell copies of the Software, and to permit persons
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# to whom the Software is furnished to do so, provided that the above
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# copyright notice(s) and this permission notice appear in all copies of
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# the Software and that both the above copyright notice(s) and this
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# permission notice appear in supporting documentation.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
4a81c8eb2a61b43a9dd0879a65feb834a6dde1d5stoddard# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
a9de2fcc94b1c6eebb717fe14b80d066598cb8d3trawick# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
a9de2fcc94b1c6eebb717fe14b80d066598cb8d3trawick# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick#
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb# Except as contained in this notice, the name of a copyright holder
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# shall not be used in advertising or otherwise to promote the sale, use
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# or other dealings in this Software without prior written authorization
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# of the copyright holder.
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard#
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard# @(#)Makefile 1.6 07/05/15
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard#
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard###############################################################################
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wroweOS_SUBDIRS_common = \
863ec32e13d6c9619414c48b51109f3dca99cbc6wrowe mkfontscale \
863ec32e13d6c9619414c48b51109f3dca99cbc6wrowe xdpyinfo \
75960f20f88dad6bc67892c711c429946063d133stoddard xgamma \
75960f20f88dad6bc67892c711c429946063d133stoddard xkbcomp \
75960f20f88dad6bc67892c711c429946063d133stoddard xpm \
75960f20f88dad6bc67892c711c429946063d133stoddard xrandr \
75960f20f88dad6bc67892c711c429946063d133stoddard xvidtune \
75960f20f88dad6bc67892c711c429946063d133stoddard xvinfo \
75960f20f88dad6bc67892c711c429946063d133stoddard xscreensaver
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wroweOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wroweOS_SUBDIRS_i386 = $(OS_SUBDIRS_common) \
10b386767f6c87b45937244371cb751f0b454d16wrowe mesa-demos
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wroweMACH:sh=uname -p
10b386767f6c87b45937244371cb751f0b454d16wroweOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj
f6a6245816cd866361da8c576b1f47c7a54b6610fanfall:
f6a6245816cd866361da8c576b1f47c7a54b6610fanf $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
97b758d0b174d7b7c5a1de1a583f5840ec3fc910trawick
db3ccce11afac4fc1d4f51a65424412f7480c46cgsteinWorld: clean all
63a6e35c961449778b328496ee9f476c160b930emanoj
63a6e35c961449778b328496ee9f476c160b930emanojclean:
63a6e35c961449778b328496ee9f476c160b930emanoj $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
63a6e35c961449778b328496ee9f476c160b930emanoj
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbbinstall:
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickdownload:
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
79d5106a9b65b956d646f5daae4b94bc79e315b8trawicksubdirs:
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick for i in $(OS_SUBDIRS) ;\
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj do \
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/proto/$$i..."; \
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard done
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard