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