Makefile revision 912
107N/A###############################################################################
107N/A#
107N/A# xfs Makefile
107N/A#
107N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
107N/A# Use is subject to license terms.
107N/A#
107N/A# Permission is hereby granted, free of charge, to any person obtaining a
107N/A# copy of this software and associated documentation files (the
107N/A# "Software"), to deal in the Software without restriction, including
107N/A# without limitation the rights to use, copy, modify, merge, publish,
107N/A# distribute, and/or sell copies of the Software, and to permit persons
107N/A# to whom the Software is furnished to do so, provided that the above
107N/A# copyright notice(s) and this permission notice appear in all copies of
107N/A# the Software and that both the above copyright notice(s) and this
107N/A# permission notice appear in supporting documentation.
107N/A#
107N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
107N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
107N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
107N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
107N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
3996N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
107N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
107N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
107N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
107N/A#
107N/A# Except as contained in this notice, the name of a copyright holder
107N/A# shall not be used in advertising or otherwise to promote the sale, use
618N/A# or other dealings in this Software without prior written authorization
107N/A# of the copyright holder.
107N/A#
844N/A#
844N/A
618N/A# Package name used in tarballs
1273N/AMODULE_NAME=xfs
107N/A
3661N/A# Version number (used in path names)
3661N/AMODULE_VERSION=1.1.0
2601N/A
2601N/A# Checksums for upstream tarball
3996N/ATARBALL_MD5 = 5cfc06a320f74f07a0aa73da62307e9a
3996N/ATARBALL_SHA1 = 040dee6ff7628c192874447fb178a965c744eea9
3996N/A
107N/A# Patches to apply to source after unpacking, in order
107N/ASOURCE_PATCHES = \
107N/A smf-manpage.patch \
107N/A config-warning.patch
107N/A
107N/A# Man pages to apply Sun footer to & attributes to list
107N/ASUNTOUCHED_MANPAGES=*.man
107N/ASUN_PACKAGE=SUNWxwfs
107N/AMODULE_STABILITY=Committed
107N/A
107N/A# Additional command line options to GNU autoconf configure script
107N/AMODULE_CONFIG_OPTS= --sysconfdir=$(X11_DIR)/lib \
107N/A --enable-syslog --enable-inetd --disable-devel-docs \
107N/A --with-default-font-path='catalogue:/etc/X11/fontpath.d' \
107N/A --with-default-config-file='/etc/X11/fs/config,$(X11_X11LIB_DIR)/fs/config,/etc/openwin/fs/fontserver.cfg,/usr/openwin/lib/X11/fontserver.cfg'
107N/A
107N/A# Need to link with libfontenc in server private directory
107N/AMODULE_LDFLAGS=$(X11_SERVERLIBS_LDFLAGS)
107N/A
107N/AMODULE_ADD_INSTALL_TARGETS = install_smf install_fsadmin
107N/A
151N/Ainclude ../Makefile.inc
107N/A
2601N/A# Make sure SMF manifest is valid before installing it
2601N/Acheck_smf: xfs.xml
107N/A /usr/sbin/svccfg validate xfs.xml
2601N/A
107N/ASMF_MANIFEST_DIR=/var/svc/manifest/application/x11
2601N/A
181N/Ainstall_smf: check_smf
181N/A mkdir -p $(PROTODIR)$(SMF_MANIFEST_DIR)
107N/A $(INSTALL_SCRIPT) xfs.xml $(PROTODIR)$(SMF_MANIFEST_DIR)
107N/A
3996N/Ainstall_fsadmin:
4065N/A mkdir -p $(PROTODIR)$(X11_DIR)/sbin \
$(PROTODIR)$(X11_MAN_DIR)/man/man1
$(INSTALL_SCRIPT) -m 0755 fsadmin $(PROTODIR)$(X11_DIR)/sbin
$(INSTALL_SCRIPT) fsadmin.1 $(PROTODIR)$(X11_MAN_DIR)/man1