Makefile.am revision b3eb03f3
1010cdda0Smrg# 2010cdda0Smrg# Copyright 2005 Red Hat, Inc. 3010cdda0Smrg# 4010cdda0Smrg# Permission to use, copy, modify, distribute, and sell this software and its 5010cdda0Smrg# documentation for any purpose is hereby granted without fee, provided that 6010cdda0Smrg# the above copyright notice appear in all copies and that both that 7010cdda0Smrg# copyright notice and this permission notice appear in supporting 8010cdda0Smrg# documentation, and that the name of Red Hat not be used in 9010cdda0Smrg# advertising or publicity pertaining to distribution of the software without 10010cdda0Smrg# specific, written prior permission. Red Hat makes no 11010cdda0Smrg# representations about the suitability of this software for any purpose. It 12010cdda0Smrg# is provided "as is" without express or implied warranty. 13010cdda0Smrg# 14010cdda0Smrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15010cdda0Smrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16010cdda0Smrg# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17010cdda0Smrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18010cdda0Smrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19010cdda0Smrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20010cdda0Smrg# PERFORMANCE OF THIS SOFTWARE. 21010cdda0Smrg 22010cdda0Smrgbin_PROGRAMS = xkbvleds xkbwatch xkbbell 23010cdda0Smrg 24b3eb03f3SmrgAM_CFLAGS = $(CWARNFLAGS) 25b3eb03f3Smrg 26010cdda0Smrg# xkbvleds 27010cdda0Smrg 28010cdda0Smrgxkbvleds_SOURCES = xkbvleds.c LED.c LED.h LEDP.h utils.c utils.h 29010cdda0Smrg 30b3eb03f3Smrgxkbvleds_CFLAGS = $(XKBVLEDS_CFLAGS) $(AM_CFLAGS) 31010cdda0Smrgxkbvleds_LDADD = $(XKBVLEDS_LIBS) 32010cdda0Smrg 33010cdda0Smrg# xkbbell 34010cdda0Smrg 35010cdda0Smrgxkbbell_SOURCES = xkbbell.c 36010cdda0Smrg 37b3eb03f3Smrgxkbbell_CFLAGS = $(XKBBELL_CFLAGS) $(AM_CFLAGS) 38010cdda0Smrgxkbbell_LDADD = $(XKBBELL_LIBS) 39010cdda0Smrg 40010cdda0Smrg# xkbwatch 41010cdda0Smrg 42010cdda0Smrgxkbwatch_SOURCES = xkbwatch.c LED.c LED.h LEDP.h utils.c utils.h 43b3eb03f3Smrgxkbwatch_CFLAGS = $(XKBWATCH_CFLAGS) $(AM_CFLAGS) 44010cdda0Smrgxkbwatch_LDADD = $(XKBWATCH_LIBS) 45b3eb03f3Smrg 46b3eb03f3Smrg# Man pages 47b3eb03f3Smrgappman_PRE = xkbbell.man xkbvleds.man xkbwatch.man 48b3eb03f3Smrg 49b3eb03f3Smrgappmandir = $(APP_MAN_DIR) 50b3eb03f3Smrg 51b3eb03f3Smrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 52b3eb03f3Smrg 53b3eb03f3SmrgEXTRA_DIST = $(appman_PRE) ChangeLog 54b3eb03f3SmrgCLEANFILES = $(appman_DATA) 55b3eb03f3SmrgMAINTAINERCLEANFILES = ChangeLog 56b3eb03f3Smrg 57b3eb03f3Smrg# Strings to replace in man pages 58b3eb03f3SmrgXORGRELSTRING = @PACKAGE_STRING@ 59b3eb03f3Smrg XORGMANNAME = X Version 11 60b3eb03f3Smrg 61b3eb03f3SmrgSED = sed 62b3eb03f3Smrg 63b3eb03f3SmrgMAN_SUBSTS = \ 64b3eb03f3Smrg -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 65b3eb03f3Smrg -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ 66b3eb03f3Smrg -e 's|__xservername__|Xorg|g' \ 67b3eb03f3Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 68b3eb03f3Smrg -e 's|__projectroot__|$(prefix)|g' \ 69b3eb03f3Smrg -e 's|__apploaddir__|$(appdefaultdir)|' \ 70b3eb03f3Smrg -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ 71b3eb03f3Smrg -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \ 72b3eb03f3Smrg -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ 73b3eb03f3Smrg -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 74b3eb03f3Smrg -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 75b3eb03f3Smrg 76b3eb03f3SmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man 77b3eb03f3Smrg 78b3eb03f3Smrg.man.$(APP_MAN_SUFFIX): 79b3eb03f3Smrg $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 80b3eb03f3Smrg 81b3eb03f3Smrg.PHONY: ChangeLog 82b3eb03f3Smrg 83b3eb03f3SmrgChangeLog: 84b3eb03f3Smrg $(CHANGELOG_CMD) 85b3eb03f3Smrg 86b3eb03f3Smrgdist-hook: ChangeLog 87