Makefile revision 493
5cd4555ad444fd391002ae32450572054369fd42Rob Austein###############################################################################
5cd4555ad444fd391002ae32450572054369fd42Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# xload 1.x Makefile
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Use subject to license terms.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# copy of this software and associated documentation files (the
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# "Software"), to deal in the Software without restriction, including
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# without limitation the rights to use, copy, modify, merge, publish,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# distribute, and/or sell copies of the Software, and to permit persons
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# to whom the Software is furnished to do so, provided that the above
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# copyright notice(s) and this permission notice appear in all copies of
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# the Software and that both the above copyright notice(s) and this
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# permission notice appear in supporting documentation.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
561a29af8c54a216e7d30b5b4f6e0d21661654ecMark Andrews# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington#
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Except as contained in this notice, the name of a copyright holder
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# shall not be used in advertising or otherwise to promote the sale, use
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# or other dealings in this Software without prior written authorization
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# of the copyright holder.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Package name used in tarballs
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_NAME=xload
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Version number (used in path names)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_VERSION=1.0.2
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Patches to apply to source after unpacking, in order
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSOURCE_PATCHES = patch.xload
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Man pages to apply Sun footer to & attributes to list
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSUNTOUCHED_MANPAGES=*.man
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSUN_PACKAGE=SUNWxwplt
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_STABILITY=Committed
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Specify which cpp to use instead of depending on builder's $PATH
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_CONFIG_OPTS = --with-cpp=/usr/lib/cpp
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtoninclude ../Makefile.inc
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafssoninstall_gen:: install_po
bca7f81db58d4803fb6d8d352132445cf61eb1acMark Andrewsinstall_po:
c40265eba0c99708887d68e67901924065ba2514Brian Wellington mkdir -p $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES
c40265eba0c99708887d68e67901924065ba2514Brian Wellington cp -f xload.po $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES
92551304a9abff9284de5b79a48e83d781989339Mark Andrews
c40265eba0c99708887d68e67901924065ba2514Brian Wellington