1bfe6082cSmrg#
2f46a6179Smrg#  Copyright 2005  Red Hat, Inc.
3bfe6082cSmrg#
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.
13bfe6082cSmrg#
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
2207d2e718SmrgSUBDIRS = man
23f46a6179Smrgbin_PROGRAMS = xkbcomp
24f46a6179Smrg
25690143ccSmrgAM_CPPFLAGS = -DDFLT_XKB_CONFIG_ROOT='"$(XKBCONFIGROOT)"'
26690143ccSmrgAM_CFLAGS = $(XKBCOMP_CFLAGS) $(CWARNFLAGS)
27f46a6179Smrgxkbcomp_LDADD = $(XKBCOMP_LIBS)
28f46a6179Smrg
29f46a6179Smrgxkbcomp_SOURCES = \
30f46a6179Smrg        action.c \
31f46a6179Smrg        action.h \
32f46a6179Smrg        alias.c \
33f46a6179Smrg        alias.h \
34f46a6179Smrg        compat.c \
35f46a6179Smrg        compat.h \
36f46a6179Smrg        expr.c \
37f46a6179Smrg        expr.h \
38f46a6179Smrg        geometry.c \
39f46a6179Smrg        indicators.c \
40f46a6179Smrg        indicators.h \
41f46a6179Smrg        keycodes.c \
42f46a6179Smrg        keycodes.h \
43f46a6179Smrg        keymap.c \
44f46a6179Smrg        keytypes.c \
45f46a6179Smrg        listing.c \
46f46a6179Smrg        misc.c \
47f46a6179Smrg        misc.h \
48f46a6179Smrg        parseutils.c \
49f46a6179Smrg        parseutils.h \
50f46a6179Smrg        symbols.c \
51f46a6179Smrg        tokens.h \
52f46a6179Smrg        utils.c \
53f46a6179Smrg        utils.h \
54f46a6179Smrg        vmod.c \
55f46a6179Smrg        vmod.h \
56f46a6179Smrg        xkbcomp.c \
57f46a6179Smrg        xkbcomp.h \
58f46a6179Smrg        xkbparse.y \
59f46a6179Smrg        xkbpath.c \
60f46a6179Smrg        xkbpath.h \
61f46a6179Smrg        xkbscan.c
62f46a6179Smrg
631d8c7986Smrgpkgconfigdir = $(libdir)/pkgconfig
641d8c7986Smrgpkgconfig_DATA = xkbcomp.pc
651d8c7986Smrg
6683e5f723SmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
67f46a6179Smrg
6883e5f723Smrg.PHONY: ChangeLog INSTALL
69f46a6179Smrg
7083e5f723SmrgINSTALL:
7183e5f723Smrg	$(INSTALL_CMD)
72f46a6179Smrg
73f46a6179SmrgChangeLog:
7434345a63Smrg	$(CHANGELOG_CMD)
75f46a6179Smrg
7683e5f723Smrgdist-hook: ChangeLog INSTALL
77