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