Makefile revision 295
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# Makefile for X Consolidation Open Source Application modules
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye#
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# Use subject to license terms.
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye#
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# Permission is hereby granted, free of charge, to any person obtaining a
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# copy of this software and associated documentation files (the
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# "Software"), to deal in the Software without restriction, including
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# without limitation the rights to use, copy, modify, merge, publish,
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# distribute, and/or sell copies of the Software, and to permit persons
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Kosco# to whom the Software is furnished to do so, provided that the above
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# copyright notice(s) and this permission notice appear in all copies of
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# the Software and that both the above copyright notice(s) and this
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# permission notice appear in supporting documentation.
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye#
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Kosco# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye#
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# Except as contained in this notice, the name of a copyright holder
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# shall not be used in advertising or otherwise to promote the sale, use
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# or other dealings in this Software without prior written authorization
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# of the copyright holder.
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye#
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye# @(#)Makefile 1.19 08/01/24
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye#
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye###############################################################################
980d346f8cb17af1bca5def7cdbea8531881009aKnut Anders Hatlen
980d346f8cb17af1bca5def7cdbea8531881009aKnut Anders HatlenOS_SUBDIRS_common = \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye constype \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye mesa-demos \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye mkfontscale \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xcalc \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xcursorgen \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xdpyinfo \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xgamma \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xhost \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xkbcomp \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye xkill \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye xlsatoms \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye xmag \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye xmodmap \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye xpm \
980d346f8cb17af1bca5def7cdbea8531881009aKnut Anders Hatlen xprop \
980d346f8cb17af1bca5def7cdbea8531881009aKnut Anders Hatlen xrandr \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xrefresh \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xset \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xsetroot \
3c4aab151d1a59932f673f7d58127e0401cd0fbdKnut Anders Hatlen xvidtune \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye xvinfo \
424bbf2925717f8fb65eacb38aa67959c4cce3b1Trond Norbye xwininfo \
xscreensaver
OS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
OS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
MACH:sh=uname -p
OS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
all:
$(MAKE) $(MFLAGS) subdirs OS_TARGET=all
World: clean all
clean:
$(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
install:
$(MAKE) $(MFLAGS) subdirs OS_TARGET=install
download:
$(MAKE) $(MFLAGS) subdirs OS_TARGET=download
subdirs:
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(OS_SUBDIRS) ;\
do \
(cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
$(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
done