Makefile.am revision 14c0a534
114c0a534Smrg# 214c0a534Smrg# Copyright 2005 Red Hat, Inc. 314c0a534Smrg# 414c0a534Smrg# Permission to use, copy, modify, distribute, and sell this software and its 514c0a534Smrg# documentation for any purpose is hereby granted without fee, provided that 614c0a534Smrg# the above copyright notice appear in all copies and that both that 714c0a534Smrg# copyright notice and this permission notice appear in supporting 814c0a534Smrg# documentation, and that the name of Red Hat not be used in 914c0a534Smrg# advertising or publicity pertaining to distribution of the software without 1014c0a534Smrg# specific, written prior permission. Red Hat makes no 1114c0a534Smrg# representations about the suitability of this software for any purpose. It 1214c0a534Smrg# is provided "as is" without express or implied warranty. 1314c0a534Smrg# 1414c0a534Smrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 1514c0a534Smrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 1614c0a534Smrg# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 1714c0a534Smrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 1814c0a534Smrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 1914c0a534Smrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 2014c0a534Smrg# PERFORMANCE OF THIS SOFTWARE. 2114c0a534Smrg 2214c0a534Smrgbin_PROGRAMS = smproxy 2314c0a534Smrg 2414c0a534Smrgsmproxy_CFLAGS = $(SMPROXY_CFLAGS) 2514c0a534Smrgsmproxy_LDADD = $(SMPROXY_LIBS) 2614c0a534Smrg 2714c0a534Smrgsmproxy_SOURCES = \ 2814c0a534Smrg save.c \ 2914c0a534Smrg smproxy.c \ 3014c0a534Smrg smproxy.h 3114c0a534Smrg 3214c0a534Smrgappman_PRE = \ 3314c0a534Smrg smproxy.man 3414c0a534Smrg 3514c0a534Smrg 3614c0a534Smrgappmandir = $(APP_MAN_DIR) 3714c0a534Smrg 3814c0a534Smrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 3914c0a534Smrg 4014c0a534SmrgEXTRA_DIST = $(appman_PRE) 4114c0a534SmrgCLEANFILES = $(appman_DATA) 4214c0a534Smrg 4314c0a534SmrgSED = sed 4414c0a534Smrg 4514c0a534Smrg# Strings to replace in man pages 4614c0a534SmrgXORGRELSTRING = @PACKAGE_STRING@ 4714c0a534Smrg XORGMANNAME = X Version 11 4814c0a534Smrg 4914c0a534SmrgMAN_SUBSTS = \ 5014c0a534Smrg -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 5114c0a534Smrg -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 5214c0a534Smrg -e 's|__xservername__|Xorg|g' \ 5314c0a534Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 5414c0a534Smrg -e 's|__projectroot__|$(prefix)|g' \ 5514c0a534Smrg -e 's|__apploaddir__|$(appdefaultdir)|' \ 5614c0a534Smrg -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ 5714c0a534Smrg -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \ 5814c0a534Smrg -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ 5914c0a534Smrg -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 6014c0a534Smrg -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 6114c0a534Smrg 6214c0a534SmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man 6314c0a534Smrg 6414c0a534Smrg.man.$(APP_MAN_SUFFIX): 6514c0a534Smrg sed $(MAN_SUBSTS) < $< > $@ 66