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