Makefile revision 1402
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews###############################################################################
205c10066a0acfeac52d1a135671f41d207b8557Automatic Updater# libXpm - library for handling XPM format images
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# Permission is hereby granted, free of charge, to any person obtaining a
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# copy of this software and associated documentation files (the "Software"),
2ec4ab21838e218863d052ebfa3e106e04f50820Evan Hunt# to deal in the Software without restriction, including without limitation
ea854b585041ad19f70f7af15e08144ef2c2bd1bMark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
78cb74fab4665da2e2641ba909c6f59f74cc4193Automatic Updater# and/or sell copies of the Software, and to permit persons to whom the
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# Software is furnished to do so, subject to the following conditions:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# The above copyright notice and this permission notice (including the next
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58be84825d7f5de30e50eb7206b37227ecd8055bAutomatic Updater# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# DEALINGS IN THE SOFTWARE.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Package name used in tarballs
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Version number (used in path names)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Checksums for upstream tarball
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonTARBALL_MD5 = 769ee12a43611cdebd38094eaf83f3f0
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterTARBALL_SHA1 = 77b95dd1c8cd9bc00b3b834b53d824409202acbb
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterTARBALL_SHA256= c5bdafa51d1ae30086fac01ab83be8d47fe117b238d3437f8e965434090e041c
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Patches to apply to source after unpacking, in order
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# ARC cases that covered this module
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater# Merge in additional sources from sun-src directory
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# man pages to apply Sun footer to & attributes to list
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSUNTOUCHED_MANPAGES=man/cxpm.man man/sxpm.man man/libXpm.3lib
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Don't want to add MT-Level & -l flags to cxpm & sxpm command man pages
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# But do want to add them to the libXpm man page
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_SUNTOUCH_MAN_FLAGS= $(SUNTOUCH_MAN_FLAGS_$(@F:%.$(FIXED_MAN_SUFFIX)=%))
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark AndrewsSUNTOUCH_MAN_FLAGS_libXpm.3lib = $(LIB_SUNTOUCH_DEFAULTS)
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark AndrewsSUNTOUCH_MAN_FLAGS_libXpm.3lib += -r '{__xorgversion__, $(MODULE_NAME) $(MODULE_VERSION)}'
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Link with version mapfile
129090f0f6f91753b4a085ab635e28549fd018adAutomatic Updater# pkg-config files that need to have -R added
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# Additional arguments to pass to make
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater# Install documentation as well
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Compatibility links from /usr/X11/lib to /usr/lib
db5b7e2cdf150c46e8242d3e2e3ad3f5c7300258Automatic UpdaterMODULE_X11_LIBCOMPAT_LINKS = libXpm.so libXpm.so.4
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updaterinstall-docs: $(PROTODIR)$(MODULE_DOC_DIR)/xpm.ps
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsinstall-docs: $(PROTODIR)$(3LIB_MAN_DIR)/libXpm.3lib
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson$(PROTODIR)$(MODULE_DOC_DIR)/xpm.ps: $(INSTALL_DEPS) $(PROTODIR)$(MODULE_DOC_DIR)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater$(PROTODIR)$(3LIB_MAN_DIR)/libXpm.3lib: $(INSTALL_DEPS) $(PROTODIR)$(3LIB_MAN_DIR)