Makefile revision 372
9e20026ee2defa33ee5175d93139414793419181David Luna# Makefile for X Consolidation Open Source font modules
9e20026ee2defa33ee5175d93139414793419181David Luna#
9e20026ee2defa33ee5175d93139414793419181David Luna# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
9e20026ee2defa33ee5175d93139414793419181David Luna# Use subject to license terms.
9e20026ee2defa33ee5175d93139414793419181David Luna#
9e20026ee2defa33ee5175d93139414793419181David Luna# Permission is hereby granted, free of charge, to any person obtaining a
9e20026ee2defa33ee5175d93139414793419181David Luna# copy of this software and associated documentation files (the
9e20026ee2defa33ee5175d93139414793419181David Luna# "Software"), to deal in the Software without restriction, including
9e20026ee2defa33ee5175d93139414793419181David Luna# without limitation the rights to use, copy, modify, merge, publish,
9e20026ee2defa33ee5175d93139414793419181David Luna# distribute, and/or sell copies of the Software, and to permit persons
9e20026ee2defa33ee5175d93139414793419181David Luna# to whom the Software is furnished to do so, provided that the above
9e20026ee2defa33ee5175d93139414793419181David Luna# copyright notice(s) and this permission notice appear in all copies of
9e20026ee2defa33ee5175d93139414793419181David Luna# the Software and that both the above copyright notice(s) and this
9e20026ee2defa33ee5175d93139414793419181David Luna# permission notice appear in supporting documentation.
9e20026ee2defa33ee5175d93139414793419181David Luna#
9e20026ee2defa33ee5175d93139414793419181David Luna# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
9e20026ee2defa33ee5175d93139414793419181David Luna# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
9e20026ee2defa33ee5175d93139414793419181David Luna# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
9e20026ee2defa33ee5175d93139414793419181David Luna# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
9e20026ee2defa33ee5175d93139414793419181David Luna# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
9e20026ee2defa33ee5175d93139414793419181David Luna# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
9e20026ee2defa33ee5175d93139414793419181David Luna# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
9e20026ee2defa33ee5175d93139414793419181David Luna# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
9e20026ee2defa33ee5175d93139414793419181David Luna# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
9e20026ee2defa33ee5175d93139414793419181David Luna#
9e20026ee2defa33ee5175d93139414793419181David Luna# Except as contained in this notice, the name of a copyright holder
9e20026ee2defa33ee5175d93139414793419181David Luna# shall not be used in advertising or otherwise to promote the sale, use
9e20026ee2defa33ee5175d93139414793419181David Luna# or other dealings in this Software without prior written authorization
9e20026ee2defa33ee5175d93139414793419181David Luna# of the copyright holder.
9e20026ee2defa33ee5175d93139414793419181David Luna#
9e20026ee2defa33ee5175d93139414793419181David Luna# @(#)Makefile 1.6 08/03/20 SMI
9e20026ee2defa33ee5175d93139414793419181David Luna#
9e20026ee2defa33ee5175d93139414793419181David Luna###############################################################################
9e20026ee2defa33ee5175d93139414793419181David Luna
9e20026ee2defa33ee5175d93139414793419181David LunaOS_SUBDIRS = \
9e20026ee2defa33ee5175d93139414793419181David Luna encodings \
3d8ee1629200b24b539b887a7feaec640fe610a8Kajetan Hemzaczek sun-aliases \
9e20026ee2defa33ee5175d93139414793419181David Luna bitstream-vera \
9e20026ee2defa33ee5175d93139414793419181David Luna deja-vu \
9e20026ee2defa33ee5175d93139414793419181David Luna liberation \
9e20026ee2defa33ee5175d93139414793419181David Luna adobe-utopia-type1 \
9e20026ee2defa33ee5175d93139414793419181David Luna bh-type1 \
9e20026ee2defa33ee5175d93139414793419181David Luna bitstream-type1 \
9e20026ee2defa33ee5175d93139414793419181David Luna ibm-type1 \
9e20026ee2defa33ee5175d93139414793419181David Luna xfree86-type1
9e20026ee2defa33ee5175d93139414793419181David Luna
3d8ee1629200b24b539b887a7feaec640fe610a8Kajetan Hemzaczek# Need to install to proto area by default for inter-package dependencies to
9e20026ee2defa33ee5175d93139414793419181David Luna# work right.
9e20026ee2defa33ee5175d93139414793419181David Lunaall: install
9e20026ee2defa33ee5175d93139414793419181David Luna
9e20026ee2defa33ee5175d93139414793419181David LunaWorld: clean install
9e20026ee2defa33ee5175d93139414793419181David Luna
9e20026ee2defa33ee5175d93139414793419181David Lunaclean:
9e20026ee2defa33ee5175d93139414793419181David Luna $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
9e20026ee2defa33ee5175d93139414793419181David Luna
9e20026ee2defa33ee5175d93139414793419181David Lunainstall:
9e20026ee2defa33ee5175d93139414793419181David Luna $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
9e20026ee2defa33ee5175d93139414793419181David Luna
9e20026ee2defa33ee5175d93139414793419181David Lunadownload:
9e20026ee2defa33ee5175d93139414793419181David Luna $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
9e20026ee2defa33ee5175d93139414793419181David Luna
9e20026ee2defa33ee5175d93139414793419181David Lunasubdirs:
3d8ee1629200b24b539b887a7feaec640fe610a8Kajetan Hemzaczek @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
9e20026ee2defa33ee5175d93139414793419181David Luna for i in $(OS_SUBDIRS) ;\
9e20026ee2defa33ee5175d93139414793419181David Luna do \
9e20026ee2defa33ee5175d93139414793419181David Luna (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/font/$$i..."; \
9e20026ee2defa33ee5175d93139414793419181David Luna $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
9e20026ee2defa33ee5175d93139414793419181David Luna done
9e20026ee2defa33ee5175d93139414793419181David Luna