Makefile revision 128
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Makefile for X Consolidation Open Source Application modules
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Use subject to license terms.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# copy of this software and associated documentation files (the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# "Software"), to deal in the Software without restriction, including
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# without limitation the rights to use, copy, modify, merge, publish,
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# distribute, and/or sell copies of the Software, and to permit persons
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# to whom the Software is furnished to do so, provided that the above
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# copyright notice(s) and this permission notice appear in all copies of
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# the Software and that both the above copyright notice(s) and this
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# permission notice appear in supporting documentation.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Except as contained in this notice, the name of a copyright holder
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# shall not be used in advertising or otherwise to promote the sale, use
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# or other dealings in this Software without prior written authorization
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# of the copyright holder.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# @(#)Makefile 1.5 07/03/20
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User###############################################################################
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox UserOS_SUBDIRS:sh=uname -p | sed 's/^\(.*\)$/\$\(OS_SUBDIRS_\1\)/'
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/proto/$$i..."; \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \