Makefile.am revision 83e5f723
1f46a6179Smrg# 2f46a6179Smrg# Copyright 2005 Red Hat, Inc. 3f46a6179Smrg# 4f46a6179Smrg# Permission to use, copy, modify, distribute, and sell this software and its 5f46a6179Smrg# documentation for any purpose is hereby granted without fee, provided that 6f46a6179Smrg# the above copyright notice appear in all copies and that both that 7f46a6179Smrg# copyright notice and this permission notice appear in supporting 8f46a6179Smrg# documentation, and that the name of Red Hat not be used in 9f46a6179Smrg# advertising or publicity pertaining to distribution of the software without 10f46a6179Smrg# specific, written prior permission. Red Hat makes no 11f46a6179Smrg# representations about the suitability of this software for any purpose. It 12f46a6179Smrg# is provided "as is" without express or implied warranty. 13f46a6179Smrg# 14f46a6179Smrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15f46a6179Smrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16f46a6179Smrg# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17f46a6179Smrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18f46a6179Smrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19f46a6179Smrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20f46a6179Smrg# PERFORMANCE OF THIS SOFTWARE. 21f46a6179Smrg 22f46a6179Smrgbin_PROGRAMS = xkbcomp 23f46a6179Smrg 2483e5f723SmrgAM_CFLAGS = $(XKBCOMP_CFLAGS) -DDFLT_XKB_CONFIG_ROOT='"$(XKBCONFIGROOT)"' $(CWARNFLAGS) 25f46a6179Smrgxkbcomp_LDADD = $(XKBCOMP_LIBS) 26f46a6179Smrg 27f46a6179Smrgxkbcomp_SOURCES = \ 28f46a6179Smrg action.c \ 29f46a6179Smrg action.h \ 30f46a6179Smrg alias.c \ 31f46a6179Smrg alias.h \ 32f46a6179Smrg compat.c \ 33f46a6179Smrg compat.h \ 34f46a6179Smrg expr.c \ 35f46a6179Smrg expr.h \ 36f46a6179Smrg geometry.c \ 37f46a6179Smrg indicators.c \ 38f46a6179Smrg indicators.h \ 39f46a6179Smrg keycodes.c \ 40f46a6179Smrg keycodes.h \ 41f46a6179Smrg keymap.c \ 42f46a6179Smrg keytypes.c \ 43f46a6179Smrg listing.c \ 44f46a6179Smrg misc.c \ 45f46a6179Smrg misc.h \ 46f46a6179Smrg parseutils.c \ 47f46a6179Smrg parseutils.h \ 48f46a6179Smrg symbols.c \ 49f46a6179Smrg tokens.h \ 50f46a6179Smrg utils.c \ 51f46a6179Smrg utils.h \ 52f46a6179Smrg vmod.c \ 53f46a6179Smrg vmod.h \ 54f46a6179Smrg xkbcomp.c \ 55f46a6179Smrg xkbcomp.h \ 56f46a6179Smrg xkbparse.y \ 57f46a6179Smrg xkbpath.c \ 58f46a6179Smrg xkbpath.h \ 59f46a6179Smrg xkbscan.c 60f46a6179Smrg 61f46a6179Smrgappman_PRE = \ 62f46a6179Smrg xkbcomp.man 63f46a6179Smrg 64f46a6179SmrgBUILT_SOURCES = xkbparse.c 6583e5f723SmrgMAINTAINERCLEANFILES = ChangeLog INSTALL 6683e5f723SmrgMAINTAINERCLEANFILES += $(BUILT_SOURCES) 67f46a6179Smrg 68f46a6179SmrgEXTRA_DIST = \ 69f46a6179Smrg README.config \ 70f46a6179Smrg README.enhancing 71f46a6179Smrg 72f46a6179Smrgappmandir = $(APP_MAN_DIR) 73f46a6179Smrg 74f46a6179Smrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 75f46a6179Smrg 76f46a6179SmrgEXTRA_DIST += $(appman_PRE) 77f46a6179SmrgCLEANFILES = $(appman_DATA) 78f46a6179Smrg 79f46a6179SmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man 80f46a6179Smrg 8183e5f723Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure 82f46a6179Smrg.man.$(APP_MAN_SUFFIX): 8383e5f723Smrg $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 8483e5f723Smrg 85f46a6179Smrg 8683e5f723Smrg.PHONY: ChangeLog INSTALL 87f46a6179Smrg 8883e5f723SmrgINSTALL: 8983e5f723Smrg $(INSTALL_CMD) 90f46a6179Smrg 91f46a6179SmrgChangeLog: 9234345a63Smrg $(CHANGELOG_CMD) 93f46a6179Smrg 9483e5f723Smrgdist-hook: ChangeLog INSTALL 95