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