Makefile revision 90
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# Makefile for X Consolidation Open Source Application modules
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering#
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# Use subject to license terms.
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering#
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# Permission is hereby granted, free of charge, to any person obtaining a
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# copy of this software and associated documentation files (the
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# "Software"), to deal in the Software without restriction, including
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# without limitation the rights to use, copy, modify, merge, publish,
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# distribute, and/or sell copies of the Software, and to permit persons
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# to whom the Software is furnished to do so, provided that the above
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# copyright notice(s) and this permission notice appear in all copies of
d6bc8348d5be8576a475ac8ced2b0146e60fb71fDaniel Buch# the Software and that both the above copyright notice(s) and this
2db7648aa8bc9a31342d82a3fa0e63664cae5431Lennart Poettering# permission notice appear in supporting documentation.
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering#
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
ecde7065f7b11a7a226d2f7b0e90e998a6347a59Lennart Poettering# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
b532bdeae9b13fe93a54850f5e7f99c753bda6faLennart Poettering# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
b53374f99b619abd90a7c19d69d37a3298b084d5Zbigniew Jędrzejewski-Szmek# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# Except as contained in this notice, the name of a copyright holder
# shall not be used in advertising or otherwise to promote the sale, use
# or other dealings in this Software without prior written authorization
# of the copyright holder.
#
# @(#)Makefile 1.2 07/01/03
#
###############################################################################
OS_SUBDIRS = \
xgamma \
xpm \
xrandr \
xvidtune \
xvinfo \
xscreensaver
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/proto/$$i..."; \
$(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
done