Makefile revision 963
130N/A###############################################################################
130N/A#
130N/A# xfs Makefile
130N/A#
130N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
130N/A#
130N/A# Permission is hereby granted, free of charge, to any person obtaining a
130N/A# copy of this software and associated documentation files (the "Software"),
130N/A# to deal in the Software without restriction, including without limitation
130N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
130N/A# and/or sell copies of the Software, and to permit persons to whom the
130N/A# Software is furnished to do so, subject to the following conditions:
130N/A#
130N/A# The above copyright notice and this permission notice (including the next
130N/A# paragraph) shall be included in all copies or substantial portions of the
130N/A# Software.
130N/A#
130N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
130N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
130N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
130N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
130N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
130N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
130N/A# DEALINGS IN THE SOFTWARE.
130N/A#
130N/A#
130N/A
130N/A# Package name used in tarballs
130N/AMODULE_NAME=xfs
135N/A
135N/A# Version number (used in path names)
135N/AMODULE_VERSION=1.1.0
618N/A
130N/A# Checksums for upstream tarball
130N/ATARBALL_MD5 = 5cfc06a320f74f07a0aa73da62307e9a
130N/ATARBALL_SHA1 = 040dee6ff7628c192874447fb178a965c744eea9
130N/A
181N/A# Patches to apply to source after unpacking, in order
130N/ASOURCE_PATCHES = \
130N/A smf-manpage.patch \
130N/A config-warning.patch
130N/A
130N/A# Man pages to apply Sun footer to & attributes to list
130N/ASUNTOUCHED_MANPAGES=*.man
130N/ASUN_PACKAGE=SUNWxwfs
130N/AMODULE_STABILITY=Committed
130N/A
130N/A# Additional command line options to GNU autoconf configure script
130N/AMODULE_CONFIG_OPTS= --sysconfdir=$(X11_DIR)/lib \
130N/A --enable-syslog --enable-inetd --disable-devel-docs \
130N/A --with-default-font-path='catalogue:/etc/X11/fontpath.d' \
130N/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'
130N/A
130N/A# Need to link with libfontenc in server private directory
130N/AMODULE_LDFLAGS=$(X11_SERVERLIBS_LDFLAGS)
130N/A
130N/AMODULE_ADD_INSTALL_TARGETS = install_smf install_fsadmin
130N/A
130N/Ainclude ../Makefile.inc
130N/A
130N/A# Make sure SMF manifest is valid before installing it
130N/Acheck_smf: xfs.xml
130N/A /usr/sbin/svccfg validate xfs.xml
181N/A
130N/ASMF_MANIFEST_DIR=/var/svc/manifest/application/x11
130N/A
130N/Ainstall_smf: check_smf
130N/A mkdir -p $(PROTODIR)$(SMF_MANIFEST_DIR)
130N/A $(INSTALL_SCRIPT) -m 0444 xfs.xml $(PROTODIR)$(SMF_MANIFEST_DIR)
130N/A
130N/Ainstall_fsadmin:
130N/A mkdir -p $(PROTODIR)$(X11_DIR)/sbin \
$(PROTODIR)$(X11_MAN_DIR)/man1
$(INSTALL_SCRIPT) -m 0755 fsadmin $(PROTODIR)$(X11_DIR)/sbin/fsadmin
$(INSTALL_SCRIPT) -m 0444 fsadmin.1 $(PROTODIR)$(X11_MAN_DIR)/man1/