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