Makefile revision 484
70N/A# Makefile for X Consolidation Open Source Application modules
70N/A#
286N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
70N/A# Use subject to license terms.
70N/A#
70N/A# Permission is hereby granted, free of charge, to any person obtaining a
70N/A# copy of this software and associated documentation files (the
70N/A# "Software"), to deal in the Software without restriction, including
70N/A# without limitation the rights to use, copy, modify, merge, publish,
70N/A# distribute, and/or sell copies of the Software, and to permit persons
70N/A# to whom the Software is furnished to do so, provided that the above
70N/A# copyright notice(s) and this permission notice appear in all copies of
70N/A# the Software and that both the above copyright notice(s) and this
70N/A# permission notice appear in supporting documentation.
70N/A#
70N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
70N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
70N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
70N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
70N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
70N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
70N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
70N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
70N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
70N/A#
70N/A# Except as contained in this notice, the name of a copyright holder
70N/A# shall not be used in advertising or otherwise to promote the sale, use
70N/A# or other dealings in this Software without prior written authorization
70N/A# of the copyright holder.
70N/A#
434N/A# @(#)Makefile 1.63 08/07/31
70N/A#
70N/A###############################################################################
70N/A
359N/A# Dependency ordering:
359N/A# rss-glx needs to come after xscreensaver
359N/A
98N/AOS_SUBDIRS_common = \
321N/A appres \
321N/A bitmap \
213N/A constype \
304N/A editres \
425N/A fslsfonts \
425N/A fstobdf \
325N/A iceauth \
320N/A lbxproxy \
332N/A listres \
231N/A luit \
98N/A mesa-demos \
347N/A mkfontscale \
346N/A oclock \
425N/A sessreg \
324N/A setxkbmap \
347N/A showfont \
310N/A winsysck \
316N/A twm \
290N/A viewres \
332N/A x11perf \
332N/A xauth \
332N/A xbiff \
210N/A xcalc \
128N/A xclipboard \
414N/A xclock \
326N/A xcmsdb \
335N/A xconsole \
425N/A xcursorgen \
370N/A xdpyinfo \
70N/A xdriinfo \
400N/A xedit \
294N/A xev \
98N/A xfd \
434N/A xfsinfo \
277N/A xfwp \
433N/A xgamma \
356N/A xgc \
289N/A xhost \
326N/A xinit \
290N/A xkbcomp \
424N/A xkbprint \
286N/A xkill \
90N/A xload \
295N/A xlogo \
70N/A xlsatoms \
299N/A xlsclients \
262N/A xlsfonts \
277N/A xmag_multivis \
332N/A xmag \
332N/A xman \
70N/A xmodmap \
70N/A xpm \
319N/A xpr \
280N/A xprop \
319N/A xrandr \
359N/A xrdb \
418N/A xrefresh \
418N/A xrx \
70N/A xset \
98N/A xsetroot \
98N/A xstdcmap \
414N/A xvidtune \
98N/A xvinfo \
156N/A xwd \
156N/A xwininfo \
98N/A xwud \
70N/A xscreensaver \
70N/A rss-glx \
70N/A xeyes \
70N/A xterm
70N/A
70N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
70N/A
70N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
70N/A
70N/AMACH:sh=uname -p
70N/AOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
70N/A
70N/Aall:
70N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
380N/A
380N/AWorld: clean all
380N/A
70N/Aclean:
70N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
70N/A
70N/Ainstall:
253N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
70N/A
70N/Adownload:
$(MAKE) $(MFLAGS) subdirs OS_TARGET=download
source:
$(MAKE) $(MFLAGS) subdirs OS_TARGET=source
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