Makefile revision 469
469N/A###############################################################################
469N/A#
469N/A# xmag-multivis 1.x Makefile
469N/A#
469N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
469N/A# Use subject to license terms.
469N/A#
469N/A# Permission is hereby granted, free of charge, to any person obtaining a
469N/A# copy of this software and associated documentation files (the
469N/A# "Software"), to deal in the Software without restriction, including
469N/A# without limitation the rights to use, copy, modify, merge, publish,
469N/A# distribute, and/or sell copies of the Software, and to permit persons
469N/A# to whom the Software is furnished to do so, provided that the above
469N/A# copyright notice(s) and this permission notice appear in all copies of
469N/A# the Software and that both the above copyright notice(s) and this
469N/A# permission notice appear in supporting documentation.
469N/A#
469N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
469N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
469N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
469N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
469N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
469N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
469N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
469N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
469N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
469N/A#
469N/A# Except as contained in this notice, the name of a copyright holder
469N/A# shall not be used in advertising or otherwise to promote the sale, use
469N/A# or other dealings in this Software without prior written authorization
469N/A# of the copyright holder.
469N/A#
469N/A# @(#)Makefile 1.1 08/07/17
469N/A#
469N/A
469N/A# Package name used in tarballs
469N/AAPP_NAME=xmag
469N/A
469N/A# Version number (used in path names)
469N/AAPP_VERS=1.0.2
469N/A
469N/A# Patches to apply to source after unpacking, in order
469N/ASOURCE_PATCHES = 6726838.patch
469N/A
469N/AAUTORECONF=true
469N/A
469N/Ainclude ../Makefile.inc
469N/A
469N/A# Directory created by unpacking source
469N/ASOURCE_DIR=$(BUILD_DIR)/xmag-$(APP_VERS)
469N/A
469N/A# Merge in additional sources from sun-src directory
469N/Asource_gen:: $(LNDIR)
469N/A mkdir -p $(SOURCE_DIR)
469N/A (cd $(SOURCE_DIR) && $(LNDIR) ../../sun-src)
469N/A
469N/A# Binary built in tree
469N/AAPP_BIN=$(SOURCE_DIR)/xmag_multivis
469N/A
469N/Abuild_gen: $(APP_BIN)
469N/A
469N/A$(APP_BIN): $(SOURCE_DIR)/Makefile $(LIB_ADD_BUILD_DEPS)
469N/A (cd $(SOURCE_DIR) ; $(MAKE) $(MFLAGS))
469N/A
469N/Ainstall_gen:: $(APP_BIN)
469N/A (cd $(SOURCE_DIR); $(MAKE) $(MFLAGS) -e DESTDIR=$(PROTODIR) install)
469N/A
469N/ALIB_ADD_LD_OPTIONS += -L$(PROTODIR)$(X11_DIR)/lib/xorgcfg -lX11
469N/A
469N/A# Man pages to apply Sun footer to & attributes to list
469N/ASUNTOUCHED_MANPAGES=*.man
469N/ASUNTOUCH_MAN_FLAGS= \
469N/A -a '{Availability, SUNWxwdem} {Interface Stability, Committed}'