Makefile.am revision a67f45c3
1#  Copyright 2005  Red Hat, Inc.
2#
3#  Permission to use, copy, modify, distribute, and sell this software and its
4#  documentation for any purpose is hereby granted without fee, provided that
5#  the above copyright notice appear in all copies and that both that
6#  copyright notice and this permission notice appear in supporting
7#  documentation, and that the name of Red Hat not be used in
8#  advertising or publicity pertaining to distribution of the software without
9#  specific, written prior permission.  Red Hat makes no
10#  representations about the suitability of this software for any purpose.  It
11#  is provided "as is" without express or implied warranty.
12#
13#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
14#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
15#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
16#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
17#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19#  PERFORMANCE OF THIS SOFTWARE.
20
21SUBDIRS = man
22bin_PROGRAMS = xkbevd
23
24AM_CPPFLAGS = -DDFLT_XKB_CONFIG_ROOT='"$(datadir)/X11/xkb"'
25AM_CFLAGS = $(CWARNFLAGS) $(XKBEVD_CFLAGS)
26
27xkbevd_LDADD = $(XKBEVD_LIBS)
28
29xkbevd_SOURCES =	\
30        cfgparse.y \
31        cfgscan.c \
32        evargs.c \
33        printev.c \
34        tokens.h \
35        utils.c \
36        utils.h \
37        xkbevd.c \
38        xkbevd.h
39
40# Sample configuration files
41EXTRA_DIST = example.cf xkbevd.cf
42
43MAINTAINERCLEANFILES = ChangeLog INSTALL
44
45.PHONY: ChangeLog INSTALL
46
47INSTALL:
48	$(INSTALL_CMD)
49
50ChangeLog:
51	$(CHANGELOG_CMD)
52
53dist-hook: ChangeLog INSTALL
54
55EXTRA_DIST += README.md
56