Makefile revision 1356
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay###############################################################################
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# xdm - X Display Manager with support for XDMCP and host chooser
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# Permission is hereby granted, free of charge, to any person obtaining a
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# copy of this software and associated documentation files (the "Software"),
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# to deal in the Software without restriction, including without limitation
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# the rights to use, copy, modify, merge, publish, distribute, sublicense,
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# and/or sell copies of the Software, and to permit persons to whom the
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# Software is furnished to do so, subject to the following conditions:
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# The above copyright notice and this permission notice (including the next
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# paragraph) shall be included in all copies or substantial portions of the
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# DEALINGS IN THE SOFTWARE.
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# Package name used in tarballs
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# pkg(5) name we deliver the files in (override default)
154001a7695db48f5e59bd2978bf3254210feed4Jason VincentMODULE_DESC = the X Display Manager (xdm) server
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# Version number (used in path names)
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# Checksums for upstream tarball
154001a7695db48f5e59bd2978bf3254210feed4Jason VincentTARBALL_SHA1 = ea0ee2923999d54848dc8a165867ffa7c628fd7b
154001a7695db48f5e59bd2978bf3254210feed4Jason Vincent# Patches to apply to source after unpacking, in order
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# Need to rebuild configure/Makefile.in after applying bindir.patch
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# Man pages to apply Sun footer to & attributes to list
53887acac50b4dd113edd5c3d3f70da052a49aecJason LemayMODULE_SUNTOUCH_MAN_FLAGS= -p $(MODULE_PREFIX)/sbin/
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# Where to install xdm files
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# Additional configure script options
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# Only build shared greeter module, not static
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# Set various paths to better match Solaris
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# Find xrdb & xterm in /usr/bin even with --bindir set to /usr/sbin
e9e8bd003492cef3c7b9a98eb483ad3d1a69ae43Jason Lemay --with-default-session=command='$(X11_BIN_DIR)/xterm -ls' \
53887acac50b4dd113edd5c3d3f70da052a49aecJason Lemay# configure scripts add libraries like -lXt & -lXinerama to the global $(LIBS)
e9e8bd003492cef3c7b9a98eb483ad3d1a69ae43Jason Lemay# when only some objects need them, so ignore them in the rest.
e9e8bd003492cef3c7b9a98eb483ad3d1a69ae43Jason Lemay# Additional build & install targets
53887acac50b4dd113edd5c3d3f70da052a49aecJason LemayMODULE_ADD_INSTALL_TARGETS=install_xdmshell install_xdm_configs
XCF_HEADER += \n%1$$s xdm reads the actual configuration from the copies located in $(XDM_ETC_CONFIGDIR)
mkdir -p $@
-rm -f $@
-rm -f $@