197cf2ee2Smrg# 219569120Smrg# Copyright (c) 2010, 2022, Oracle and/or its affiliates. 397cf2ee2Smrg# 497cf2ee2Smrg# Permission is hereby granted, free of charge, to any person obtaining a 597cf2ee2Smrg# copy of this software and associated documentation files (the "Software"), 697cf2ee2Smrg# to deal in the Software without restriction, including without limitation 797cf2ee2Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense, 897cf2ee2Smrg# and/or sell copies of the Software, and to permit persons to whom the 997cf2ee2Smrg# Software is furnished to do so, subject to the following conditions: 1097cf2ee2Smrg# 1197cf2ee2Smrg# The above copyright notice and this permission notice (including the next 1297cf2ee2Smrg# paragraph) shall be included in all copies or substantial portions of the 1397cf2ee2Smrg# Software. 1497cf2ee2Smrg# 1597cf2ee2Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1697cf2ee2Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1797cf2ee2Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1897cf2ee2Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1997cf2ee2Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 2097cf2ee2Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 2197cf2ee2Smrg# DEALINGS IN THE SOFTWARE. 2297cf2ee2Smrg# 2397cf2ee2Smrg 2497cf2ee2Smrgappmandir = $(APP_MAN_DIR) 2519569120Smrglibmandir = $(LIB_MAN_DIR) 2619569120Smrglibman_PRE=$(all_shadows:=.man) \ 2719569120Smrg XpmCreateBuffer.man \ 2819569120Smrg XpmCreateData.man \ 2919569120Smrg XpmCreateImage.man \ 3019569120Smrg XpmCreatePixmap.man \ 3119569120Smrg XpmCreateXpmImage.man \ 3219569120Smrg XpmMisc.man \ 3319569120Smrg XpmRead.man \ 3419569120Smrg XpmWrite.man 3519569120Smrg 3619569120Smrglibman_DATA = $(libman_PRE:man=$(LIB_MAN_SUFFIX)) 3719569120Smrg 3897cf2ee2Smrgappman_PRE = sxpm.man cxpm.man 3997cf2ee2Smrgappman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) 4097cf2ee2Smrg 4119569120SmrgEXTRA_DIST = $(appman_PRE) $(libman_PRE) 4219569120SmrgCLEANFILES = $(appman_DATA) $(libman_DATA) 4319569120SmrgSUFFIXES = .$(APP_MAN_SUFFIX) .$(LIB_MAN_SUFFIX) .man 4419569120Smrg 4519569120Smrgall_shadows = \ 4619569120Smrg $(xpmcreatebuffer_shadows) \ 4719569120Smrg $(xpmcreatedata_shadows) \ 4819569120Smrg $(xpmcreateimage_shadows) \ 4919569120Smrg $(xpmcreatepixmap_shadows) \ 5019569120Smrg $(xpmcreatexpmimage_shadows) \ 5119569120Smrg $(xpmmisc_shadows) \ 5219569120Smrg $(xpmread_shadows) \ 5319569120Smrg $(xpmwrite_shadows) 5419569120Smrg 5519569120Smrgxpmcreatebuffer_shadows = \ 5619569120Smrg XpmCreateBufferFromImage \ 5719569120Smrg XpmCreateBufferFromPixmap \ 5819569120Smrg XpmCreateBufferFromXpmImage 5919569120Smrgxpmcreatedata_shadows = \ 6019569120Smrg XpmCreateDataFromImage \ 6119569120Smrg XpmCreateDataFromPixmap \ 6219569120Smrg XpmCreateDataFromXpmImage 6319569120Smrgxpmcreateimage_shadows = \ 6419569120Smrg XpmCreateImageFromBuffer \ 6519569120Smrg XpmCreateImageFromData \ 6619569120Smrg XpmCreateImageFromXpmImage 6719569120Smrgxpmcreatepixmap_shadows = \ 6819569120Smrg XpmCreatePixmapFromBuffer \ 6919569120Smrg XpmCreatePixmapFromData \ 7019569120Smrg XpmCreatePixmapFromXpmImage 7119569120Smrgxpmcreatexpmimage_shadows = \ 7219569120Smrg XpmCreateXpmImageFromBuffer \ 7319569120Smrg XpmCreateXpmImageFromData \ 7419569120Smrg XpmCreateXpmImageFromImage \ 7519569120Smrg XpmCreateXpmImageFromPixmap 7619569120Smrgxpmmisc_shadows = \ 7719569120Smrg XpmLibraryVersion \ 7819569120Smrg XpmGetErrorString \ 7919569120Smrg XpmFree \ 8019569120Smrg XpmFreeExtensions \ 8119569120Smrg XpmAttributesSize \ 8219569120Smrg XpmFreeAttributes \ 8319569120Smrg XpmFreeXpmImage \ 8419569120Smrg XpmFreeXpmInfo 8519569120Smrgxpmread_shadows = \ 8619569120Smrg XpmReadFileToImage \ 8719569120Smrg XpmReadFileToPixmap \ 8819569120Smrg XpmReadFileToBuffer \ 8919569120Smrg XpmReadFileToData \ 9019569120Smrg XpmReadFileToXpmImage 9119569120Smrg 9219569120Smrgxpmwrite_shadows = \ 9319569120Smrg XpmWriteFileFromPixmap \ 9419569120Smrg XpmWriteFileFromImage \ 9519569120Smrg XpmWriteFileFromXpmImage \ 9619569120Smrg XpmWriteFileFromBuffer 9797cf2ee2Smrg 9897cf2ee2Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure 9997cf2ee2Smrg.man.$(APP_MAN_SUFFIX): 10097cf2ee2Smrg $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 10119569120Smrg 10219569120Smrg.man.$(LIB_MAN_SUFFIX): 10319569120Smrg $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 104