Makefile revision 980
012a352f4b26cfd874db8d06debc495c2303e8b2Bob Halley###############################################################################
5c144477062a5df657acee41a82051d38537fd38Tinderbox User# xfs Makefile
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# copy of this software and associated documentation files (the "Software"),
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# to deal in the Software without restriction, including without limitation
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# and/or sell copies of the Software, and to permit persons to whom the
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# Software is furnished to do so, subject to the following conditions:
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# The above copyright notice and this permission notice (including the next
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# DEALINGS IN THE SOFTWARE.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# Package name used in tarballs
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# Version number (used in path names)
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# Checksums for upstream tarball
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan HuntTARBALL_SHA1 = 040dee6ff7628c192874447fb178a965c744eea9
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley# Patches to apply to source after unpacking, in order
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# Man pages to apply Sun footer to & attributes to list
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# pkg(5) name we deliver the files in (override default)
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# ARC cases that covered this module
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence# PSARC/2004/752 X Consolidation conversion to SMF
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews# LSARC/2008/009 X11R7 font server and utilities
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews# Additional command line options to GNU autoconf configure script
18483fce5b9d1e02748bdcb916014cedea654f78Mark AndrewsMODULE_CONFIG_OPTS= --sysconfdir=$(X11_DIR)/lib \
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews --enable-syslog --enable-inetd --disable-devel-docs \
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews --with-default-font-path='catalogue:/etc/X11/fontpath.d' \
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence --with-default-config-file='/etc/X11/fs/config,$(X11_X11LIB_DIR)/fs/config,/etc/openwin/fs/fontserver.cfg,/usr/openwin/lib/X11/fontserver.cfg'
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence# Need to link with libfontenc in server private directory
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David LawrenceMODULE_ADD_INSTALL_TARGETS = install_smf install_fsadmin
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews# Compatibility links from /usr/X11/bin to /usr/bin
2d46d268ccff30bb50e661b47c6496d23d9156c7Mark Andrews# Make sure SMF manifest is valid before installing it
18483fce5b9d1e02748bdcb916014cedea654f78Mark AndrewsX11_SMF_MANIFEST_DIR=$(SMF_MANIFEST_DIR)/application/x11
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews $(INSTALL_SCRIPT) -m 0444 xfs.xml $(PROTODIR)$(X11_SMF_MANIFEST_DIR)
8319af16557b81eba3277ee67215285f0823b587Mark Andrews $(INSTALL_SCRIPT) -m 0755 fsadmin $(PROTODIR)$(X11_DIR)/sbin/fsadmin
8319af16557b81eba3277ee67215285f0823b587Mark Andrews $(INSTALL_SCRIPT) -m 0444 fsadmin.1 $(PROTODIR)$(X11_MAN_DIR)/man1/
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews# Special compatibility link from /usr/X11/bin/fsadmin to /usr/sbin/fsadmin