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