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