Makefile revision 210
2cacab200fb387e290386593d9b2fca2e7beef33csovant###############################################################################
2cacab200fb387e290386593d9b2fca2e7beef33csovant#
2cacab200fb387e290386593d9b2fca2e7beef33csovant# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2cacab200fb387e290386593d9b2fca2e7beef33csovant# Use subject to license terms.
2cacab200fb387e290386593d9b2fca2e7beef33csovant#
2cacab200fb387e290386593d9b2fca2e7beef33csovant# Permission is hereby granted, free of charge, to any person obtaining a
2cacab200fb387e290386593d9b2fca2e7beef33csovant# copy of this software and associated documentation files (the
2cacab200fb387e290386593d9b2fca2e7beef33csovant# "Software"), to deal in the Software without restriction, including
2cacab200fb387e290386593d9b2fca2e7beef33csovant# without limitation the rights to use, copy, modify, merge, publish,
2cacab200fb387e290386593d9b2fca2e7beef33csovant# distribute, and/or sell copies of the Software, and to permit persons
2cacab200fb387e290386593d9b2fca2e7beef33csovant# to whom the Software is furnished to do so, provided that the above
2cacab200fb387e290386593d9b2fca2e7beef33csovant# copyright notice(s) and this permission notice appear in all copies of
2cacab200fb387e290386593d9b2fca2e7beef33csovant# the Software and that both the above copyright notice(s) and this
2cacab200fb387e290386593d9b2fca2e7beef33csovant# permission notice appear in supporting documentation.
2cacab200fb387e290386593d9b2fca2e7beef33csovant#
2cacab200fb387e290386593d9b2fca2e7beef33csovant# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2cacab200fb387e290386593d9b2fca2e7beef33csovant# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2cacab200fb387e290386593d9b2fca2e7beef33csovant# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
2cacab200fb387e290386593d9b2fca2e7beef33csovant# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
2cacab200fb387e290386593d9b2fca2e7beef33csovant# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
2cacab200fb387e290386593d9b2fca2e7beef33csovant# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
2cacab200fb387e290386593d9b2fca2e7beef33csovant# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
2cacab200fb387e290386593d9b2fca2e7beef33csovant# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
d81f6d00c343633159fc5ea08599d145135612c0ludovicp# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d6b1be7037488b905b5c6330ba50269a01635bf7csovant#
2cacab200fb387e290386593d9b2fca2e7beef33csovant# Except as contained in this notice, the name of a copyright holder
2cacab200fb387e290386593d9b2fca2e7beef33csovant# shall not be used in advertising or otherwise to promote the sale, use
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# or other dealings in this Software without prior written authorization
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# of the copyright holder.
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant#
2cacab200fb387e290386593d9b2fca2e7beef33csovant
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# Package name used in tarballs
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantMODULE_NAME=xcursor-themes
2cacab200fb387e290386593d9b2fca2e7beef33csovant
2cacab200fb387e290386593d9b2fca2e7beef33csovant# Version number (used in path names)
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantVERSION=1.0.1
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
6314b432b7c0331b09def3ea582fe3ce692b708acsovant# Patches to apply to source after unpacking, in order
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantSOURCE_PATCHES=
6314b432b7c0331b09def3ea582fe3ce692b708acsovant
6314b432b7c0331b09def3ea582fe3ce692b708acsovant# What gets built
f9fdabbe3ac731fa9c04b95ec6864f6b0e2c34a2csovantMODULE_BUILT=$(SOURCE_DIR)/redglas/X_cursor
9a4b47e50eaed3431847d0e05a80db3c6931acacgary.williams
f9fdabbe3ac731fa9c04b95ec6864f6b0e2c34a2csovant# Additional environment variable options to GNU autoconf configure script
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiotADD_CONFIG_ENV= PATH="$(PROTODIR)$(X11_DIR)/bin:$(PATH)"
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiot
f9fdabbe3ac731fa9c04b95ec6864f6b0e2c34a2csovant### Include common rulesets
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiotinclude ../Makefile.inc
eda829585653ed50fc05afe1c87ae2803f6862a6csovant
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiot# Environment variable options needed when building
2cacab200fb387e290386593d9b2fca2e7beef33csovantBUILD_ENV = LD_LIBRARY_PATH="$(PROTODIR)$(X11_DIR)/lib" \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant PATH="$(PROTODIR)$(X11_DIR)/bin:$(PATH)"
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant$(MODULE_BUILT): $(SOURCE_DIR)/Makefile
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant (cd $(SOURCE_DIR) ; $(BUILD_ENV) $(MAKE) $(MFLAGS))
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant