Makefile.am revision 2c7c4e3d
12c7c4e3dSmrg# 22c7c4e3dSmrg# Copyright 2005 Red Hat, Inc. 32c7c4e3dSmrg# 42c7c4e3dSmrg# Permission to use, copy, modify, distribute, and sell this software and its 52c7c4e3dSmrg# documentation for any purpose is hereby granted without fee, provided that 62c7c4e3dSmrg# the above copyright notice appear in all copies and that both that 72c7c4e3dSmrg# copyright notice and this permission notice appear in supporting 82c7c4e3dSmrg# documentation, and that the name of Red Hat not be used in 92c7c4e3dSmrg# advertising or publicity pertaining to distribution of the software without 102c7c4e3dSmrg# specific, written prior permission. Red Hat makes no 112c7c4e3dSmrg# representations about the suitability of this software for any purpose. It 122c7c4e3dSmrg# is provided "as is" without express or implied warranty. 132c7c4e3dSmrg# 142c7c4e3dSmrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 152c7c4e3dSmrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 162c7c4e3dSmrg# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 172c7c4e3dSmrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 182c7c4e3dSmrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 192c7c4e3dSmrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 202c7c4e3dSmrg# PERFORMANCE OF THIS SOFTWARE. 212c7c4e3dSmrg 222c7c4e3dSmrgbin_PROGRAMS = xcmsdb 232c7c4e3dSmrg 242c7c4e3dSmrgxcmsdb_CFLAGS = $(XCMSDB_CFLAGS) 252c7c4e3dSmrgxcmsdb_LDADD = $(XCMSDB_LIBS) 262c7c4e3dSmrg 272c7c4e3dSmrgxcmsdb_SOURCES = \ 282c7c4e3dSmrg loadData.c \ 292c7c4e3dSmrg SCCDFile.h \ 302c7c4e3dSmrg xcmsdb.c 312c7c4e3dSmrg 322c7c4e3dSmrgappman_PRE = \ 332c7c4e3dSmrg xcmsdb.man 342c7c4e3dSmrg 352c7c4e3dSmrgEXTRA_DIST = datafiles/sample1.dcc datafiles/sample2.dcc 362c7c4e3dSmrg 372c7c4e3dSmrgappmandir = $(APP_MAN_DIR) 382c7c4e3dSmrg 392c7c4e3dSmrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 402c7c4e3dSmrg 412c7c4e3dSmrgEXTRA_DIST += $(appman_PRE) 422c7c4e3dSmrgCLEANFILES = $(appman_DATA) 432c7c4e3dSmrg 442c7c4e3dSmrgSED = sed 452c7c4e3dSmrg 462c7c4e3dSmrg# Strings to replace in man pages 472c7c4e3dSmrgXORGRELSTRING = @PACKAGE_STRING@ 482c7c4e3dSmrg XORGMANNAME = X Version 11 492c7c4e3dSmrg 502c7c4e3dSmrgMAN_SUBSTS = \ 512c7c4e3dSmrg -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 522c7c4e3dSmrg -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 532c7c4e3dSmrg -e 's|__xservername__|Xorg|g' \ 542c7c4e3dSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 552c7c4e3dSmrg -e 's|__projectroot__|$(prefix)|g' \ 562c7c4e3dSmrg -e 's|__apploaddir__|$(appdefaultdir)|' \ 572c7c4e3dSmrg -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ 582c7c4e3dSmrg -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \ 592c7c4e3dSmrg -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ 602c7c4e3dSmrg -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 612c7c4e3dSmrg -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 622c7c4e3dSmrg 632c7c4e3dSmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man 642c7c4e3dSmrg 652c7c4e3dSmrg.man.$(APP_MAN_SUFFIX): 662c7c4e3dSmrg sed $(MAN_SUBSTS) < $< > $@ 67