Makefile revision 191
920N/A###############################################################################
943N/A#
920N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
920N/A# Use subject to license terms.
920N/A#
920N/A# Permission is hereby granted, free of charge, to any person obtaining a
920N/A# copy of this software and associated documentation files (the
920N/A# "Software"), to deal in the Software without restriction, including
920N/A# without limitation the rights to use, copy, modify, merge, publish,
920N/A# distribute, and/or sell copies of the Software, and to permit persons
920N/A# to whom the Software is furnished to do so, provided that the above
920N/A# copyright notice(s) and this permission notice appear in all copies of
920N/A# the Software and that both the above copyright notice(s) and this
920N/A# permission notice appear in supporting documentation.
920N/A#
920N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
920N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
920N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
920N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
920N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
920N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
920N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
920N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
920N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
920N/A#
920N/A# Except as contained in this notice, the name of a copyright holder
920N/A# shall not be used in advertising or otherwise to promote the sale, use
920N/A# or other dealings in this Software without prior written authorization
920N/A# of the copyright holder.
920N/A#
920N/A# @(#)Makefile 1.1 07/06/13
920N/A#
920N/A
920N/APWD:sh=pwd
920N/ATOP=$(PWD)/../..
920N/A
920N/A# Version number (used in path names)
920N/AVERSION=1.1.5
920N/A
920N/AMODULE_NAME=util-macros
920N/A
920N/A# Source tarball
920N/ASOURCE_TARBALL_NAME=$(MODULE_NAME)-$(VERSION).tar.bz2
920N/ASOURCE_TARBALL_DIR=util
920N/A
920N/A# Patches to apply to source after unpacking, in order
920N/ASOURCE_PATCHES=
920N/A
920N/A# Directory created by unpacking source
920N/ASOURCE_DIR=$(BUILD_DIR)/$(MODULE_NAME)-$(VERSION)
920N/A
920N/A### Include common rulesets
920N/Ainclude $(TOP)/common/Makefile.inc
920N/A
920N/A### Rules specific to this directory:
920N/A
920N/A# Command line options to GNU autoconf configure script
920N/ACONFIG_OPTS = --prefix=$(X11_DIR)
920N/A
920N/Abuild_gen: $(SOURCE_DIR)/Makefile
920N/A
920N/A# Run configure script
920N/A$(SOURCE_DIR)/Makefile: $(UNPACK_TARGET)
920N/A (cd $(SOURCE_DIR) ; \
920N/A chmod a+x configure ; \
920N/A ./configure $(CONFIG_OPTS) )
920N/A
920N/A# Install
920N/Ainstall_gen: $(SOURCE_DIR)/Makefile
920N/A (cd $(SOURCE_DIR) ; $(MAKE) $(MFLAGS) -e DESTDIR=$(PROTODIR) install)
920N/A