Makefile revision 400
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein# Makefile for X Consolidation Open Source Application modules
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Use subject to license terms.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Permission is hereby granted, free of charge, to any person obtaining a
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# copy of this software and associated documentation files (the
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# "Software"), to deal in the Software without restriction, including
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# without limitation the rights to use, copy, modify, merge, publish,
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# distribute, and/or sell copies of the Software, and to permit persons
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# to whom the Software is furnished to do so, provided that the above
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# copyright notice(s) and this permission notice appear in all copies of
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# the Software and that both the above copyright notice(s) and this
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# permission notice appear in supporting documentation.
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb#
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
2a4b7a53f3573605d4f5686f03a67c37425dc22bgregames# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
2a4b7a53f3573605d4f5686f03a67c37425dc22bgregames# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
5ac928b7a71a12bc1a6b42194c47edbff1dcc02fgregames# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
5ac928b7a71a12bc1a6b42194c47edbff1dcc02fgregames# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
2a4b7a53f3573605d4f5686f03a67c37425dc22bgregames# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
531c23ff01a2489646f0a2029097013b328d935agstein#
50298555098049d0ebddd539668502fb5b796de0wrowe# Except as contained in this notice, the name of a copyright holder
50298555098049d0ebddd539668502fb5b796de0wrowe# shall not be used in advertising or otherwise to promote the sale, use
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# or other dealings in this Software without prior written authorization
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# of the copyright holder.
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb#
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# @(#)Makefile 1.40 08/04/11
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb#
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb###############################################################################
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# Dependency ordering:
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# rss-glx needs to come after xscreensaver
447c6ce3ff08073c44f6785d5256271fcb877512wrowe
447c6ce3ff08073c44f6785d5256271fcb877512wroweOS_SUBDIRS_common = \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard appres \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard bitmap \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard constype \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard editres \
10b386767f6c87b45937244371cb751f0b454d16wrowe iceauth \
10b386767f6c87b45937244371cb751f0b454d16wrowe listres \
863ec32e13d6c9619414c48b51109f3dca99cbc6wrowe luit \
863ec32e13d6c9619414c48b51109f3dca99cbc6wrowe mesa-demos \
75960f20f88dad6bc67892c711c429946063d133stoddard mkfontscale \
75960f20f88dad6bc67892c711c429946063d133stoddard oclock \
75960f20f88dad6bc67892c711c429946063d133stoddard setxkbmap \
75960f20f88dad6bc67892c711c429946063d133stoddard twm \
75960f20f88dad6bc67892c711c429946063d133stoddard viewres \
75960f20f88dad6bc67892c711c429946063d133stoddard x11perf \
75960f20f88dad6bc67892c711c429946063d133stoddard xauth \
10b386767f6c87b45937244371cb751f0b454d16wrowe xcalc \
10b386767f6c87b45937244371cb751f0b454d16wrowe xclipboard \
10b386767f6c87b45937244371cb751f0b454d16wrowe xcmsdb \
10b386767f6c87b45937244371cb751f0b454d16wrowe xconsole \
10b386767f6c87b45937244371cb751f0b454d16wrowe xcursorgen \
10b386767f6c87b45937244371cb751f0b454d16wrowe xdpyinfo \
50298555098049d0ebddd539668502fb5b796de0wrowe xev \
10b386767f6c87b45937244371cb751f0b454d16wrowe xfd \
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj xfwp \
f6a6245816cd866361da8c576b1f47c7a54b6610fanf xgamma \
f6a6245816cd866361da8c576b1f47c7a54b6610fanf xgc \
97b758d0b174d7b7c5a1de1a583f5840ec3fc910trawick xhost \
db3ccce11afac4fc1d4f51a65424412f7480c46cgstein xkbcomp \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xkill \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xlogo \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xlsatoms \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xlsclients \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xmag \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick xmodmap \
9eccc0a669a3e711629345b357c46acce5fefdb4gstein xpm \
9eccc0a669a3e711629345b357c46acce5fefdb4gstein xprop \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xrandr \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xrdb \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xrefresh \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xset \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xsetroot \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xstdcmap \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xvidtune \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xvinfo \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xwd \
750fcd3495b59eff6d4844409ae1dfb46d026059gstein xwininfo \
9eccc0a669a3e711629345b357c46acce5fefdb4gstein xwud \
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gstein xscreensaver \
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gstein rss-glx
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gstein
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gsteinOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gstein
26ef89f716a43048630e73f527dd2f0ee84f72c2rbbOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
26ef89f716a43048630e73f527dd2f0ee84f72c2rbb
26ef89f716a43048630e73f527dd2f0ee84f72c2rbbMACH:sh=uname -p
26ef89f716a43048630e73f527dd2f0ee84f72c2rbbOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
9eccc0a669a3e711629345b357c46acce5fefdb4gstein
281da4c02cf40c663298ded7e4e5b913a8f8b814gsteinall:
281da4c02cf40c663298ded7e4e5b913a8f8b814gstein $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
281da4c02cf40c663298ded7e4e5b913a8f8b814gstein
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gsteinWorld: clean all
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gsteinclean:
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gsteininstall:
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddarddownload:
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddardsource:
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard $(MAKE) $(MFLAGS) subdirs OS_TARGET=source
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddardsubdirs:
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard for i in $(OS_SUBDIRS) ;\
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard do \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
33a70d93b992bbb63b809c24df29451f38f017c1rbb $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
bebc7b9445f95339822c26bfd470349006f9ec40stoddard done
bebc7b9445f95339822c26bfd470349006f9ec40stoddard