Makefile revision 484
18N/A# Makefile for X Consolidation Open Source Application modules
18N/A#
18N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
18N/A# Use subject to license terms.
18N/A#
18N/A# Permission is hereby granted, free of charge, to any person obtaining a
18N/A# copy of this software and associated documentation files (the
18N/A# "Software"), to deal in the Software without restriction, including
18N/A# without limitation the rights to use, copy, modify, merge, publish,
18N/A# distribute, and/or sell copies of the Software, and to permit persons
18N/A# to whom the Software is furnished to do so, provided that the above
18N/A# copyright notice(s) and this permission notice appear in all copies of
18N/A# the Software and that both the above copyright notice(s) and this
18N/A# permission notice appear in supporting documentation.
18N/A#
18N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
18N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
18N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
18N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
844N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
18N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
18N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18N/A#
18N/A# Except as contained in this notice, the name of a copyright holder
18N/A# shall not be used in advertising or otherwise to promote the sale, use
18N/A# or other dealings in this Software without prior written authorization
18N/A# of the copyright holder.
18N/A#
18N/A# @(#)Makefile 1.63 08/07/31
18N/A#
42N/A###############################################################################
888N/A
888N/A# Dependency ordering:
135N/A# rss-glx needs to come after xscreensaver
18N/A
136N/AOS_SUBDIRS_common = \
136N/A appres \
136N/A bitmap \
136N/A constype \
136N/A editres \
136N/A fslsfonts \
136N/A fstobdf \
136N/A iceauth \
136N/A lbxproxy \
135N/A listres \
58N/A luit \
844N/A mesa-demos \
844N/A mkfontscale \
844N/A oclock \
844N/A sessreg \
18N/A setxkbmap \
18N/A showfont \
18N/A winsysck \
18N/A twm \
18N/A viewres \
18N/A x11perf \
137N/A xauth \
137N/A xbiff \
137N/A xcalc \
137N/A xclipboard \
137N/A xclock \
137N/A xcmsdb \
18N/A xconsole \
18N/A xcursorgen \
18N/A xdpyinfo \
18N/A xdriinfo \
58N/A xedit \
18N/A xev \
135N/A xfd \
135N/A xfsinfo \
135N/A xfwp \
136N/A xgamma \
136N/A xgc \
135N/A xhost \
135N/A xinit \
135N/A xkbcomp \
135N/A xkbprint \
135N/A xkill \
135N/A xload \
135N/A xlogo \
135N/A xlsatoms \
135N/A xlsclients \
135N/A xlsfonts \
135N/A xmag_multivis \
844N/A xmag \
135N/A xman \
135N/A xmodmap \
135N/A xpm \
137N/A xpr \
135N/A xprop \
135N/A xrandr \
844N/A xrdb \
844N/A xrefresh \
135N/A xrx \
135N/A xset \
136N/A xsetroot \
136N/A xstdcmap \
135N/A xvidtune \
135N/A xvinfo \
135N/A xwd \
135N/A xwininfo \
42N/A xwud \
18N/A xscreensaver \
18N/A rss-glx \
42N/A xeyes \
42N/A xterm
136N/A
136N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
18N/A
18N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
212N/A
212N/AMACH:sh=uname -p
212N/AOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
212N/A
212N/Aall:
18N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
42N/A
18N/AWorld: clean all
42N/A
18N/Aclean:
136N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
136N/A
42N/Ainstall:
42N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
42N/A
42N/Adownload:
42N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
42N/A
42N/Asource:
42N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=source
42N/A
42N/Asubdirs:
42N/A @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
18N/A for i in $(OS_SUBDIRS) ;\
18N/A do \
18N/A (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
18N/A $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
42N/A done
18N/A