Makefile revision 326
2N/A# Makefile for X Consolidation Open Source Application modules
2N/A#
2N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2N/A# Use subject to license terms.
2N/A#
2N/A# Permission is hereby granted, free of charge, to any person obtaining a
2N/A# copy of this software and associated documentation files (the
2N/A# "Software"), to deal in the Software without restriction, including
2N/A# without limitation the rights to use, copy, modify, merge, publish,
2N/A# distribute, and/or sell copies of the Software, and to permit persons
2N/A# to whom the Software is furnished to do so, provided that the above
2N/A# copyright notice(s) and this permission notice appear in all copies of
2N/A# the Software and that both the above copyright notice(s) and this
2N/A# permission notice appear in supporting documentation.
2N/A#
2N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
2N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
2N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
2541N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
2N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
2N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
2N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2N/A#
23N/A# Except as contained in this notice, the name of a copyright holder
23N/A# shall not be used in advertising or otherwise to promote the sale, use
23N/A# or other dealings in this Software without prior written authorization
23N/A# of the copyright holder.
23N/A#
32N/A# @(#)Makefile 1.30 08/02/22
32N/A#
32N/A###############################################################################
34N/A
32N/AOS_SUBDIRS_common = \
34N/A appres \
32N/A bitmap \
32N/A constype \
58N/A editres \
32N/A iceauth \
225N/A listres \
225N/A mesa-demos \
225N/A mkfontscale \
225N/A twm \
225N/A x11perf \
225N/A xauth \
225N/A xcalc \
225N/A xclipboard \
225N/A xcmsdb \
225N/A xconsole \
2N/A xcursorgen \
38N/A xdpyinfo \
38N/A xev \
38N/A xgamma \
38N/A xhost \
38N/A xkbcomp \
38N/A xkill \
38N/A xlsatoms \
83N/A xlsclients \
1273N/A xmag \
83N/A xmodmap \
99N/A xpm \
2N/A xprop \
92N/A xrandr \
634N/A xrdb \
92N/A xrefresh \
634N/A xset \
92N/A xsetroot \
1900N/A xstdcmap \
1900N/A xvidtune \
1900N/A xvinfo \
1900N/A xwd \
1900N/A xwininfo \
1900N/A xwud \
1900N/A xscreensaver
2N/A
2N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
313N/A
2N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
34N/A
2N/AMACH:sh=uname -p
313N/AOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
313N/A
1273N/Aall:
1273N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
313N/A
34N/AWorld: clean all
2N/A
313N/Aclean:
814N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
53N/A
34N/Ainstall:
814N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
70N/A
2N/Adownload:
2N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
2N/A
2N/Asubdirs:
70N/A @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
105N/A for i in $(OS_SUBDIRS) ;\
105N/A do \
883N/A (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
2N/A $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
634N/A done
634N/A