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