Makefile revision 472
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes###############################################################################
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# winsysck 1.x Makefile
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Use subject to license terms.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Permission is hereby granted, free of charge, to any person obtaining a
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# copy of this software and associated documentation files (the
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# "Software"), to deal in the Software without restriction, including
0662ed52e814f8f08ef0e09956413a792584eddffuankg# without limitation the rights to use, copy, modify, merge, publish,
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# distribute, and/or sell copies of the Software, and to permit persons
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# to whom the Software is furnished to do so, provided that the above
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# copyright notice(s) and this permission notice appear in all copies of
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# the Software and that both the above copyright notice(s) and this
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# permission notice appear in supporting documentation.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
16b55a35cff91315d261d1baa776138af465c4e4fuankg# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
16b55a35cff91315d261d1baa776138af465c4e4fuankg# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Except as contained in this notice, the name of a copyright holder
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# shall not be used in advertising or otherwise to promote the sale, use
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# or other dealings in this Software without prior written authorization
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# of the copyright holder.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# @(#)Makefile 1.1 08/04/11
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Package name used in tarballs
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesAPP_NAME=winsysck
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes# Version number (used in path names)
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesAPP_VERS=1.0.1
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes# Patches to apply to source after unpacking, in order
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesSOURCE_PATCHES =
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes#AUTORECONF=true
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Man pages to apply Sun footer to & attributes to list
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#SUNTOUCHED_MANPAGES=*.man
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#SUNTOUCH_MAN_FLAGS= \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# -a '{Availability, SUNWxwdem} {Interface Stability, Committed}'
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesinclude ../Makefile.inc
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesLIB_ADD_LD_OPTIONS += -lX11
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesSOURCE_DIR=$(BUILD_DIR)/winsysck-$(APP_VERS)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholessource_gen:: $(LNDIR)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes mkdir -p $(SOURCE_DIR)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes (cd $(SOURCE_DIR) && $(LNDIR) ../../sun-src)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesAPP_BIN=$(SOURCE_DIR)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesbuild_gen: $(APP_BIN)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes$(APP_BIN): $(SOURCE_DIR)/Makefile $(LIB_ADD_BUILD_DEPS)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg (cd $(SOURCE_DIR) ; $(MAKE) $(MFLAGS) )
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesinstall_gen:: $(APP_BIN)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes (cd $(SOURCE_DIR); $(MAKE) $(MFLAGS) -e DESTDIR=$(PROTODIR) install)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes