Makefile.am revision 625f88be
1f299d47fSmrg# 
2f299d47fSmrg#  Copyright 2005  Red Hat, Inc.
3f299d47fSmrg# 
4f299d47fSmrg#  Permission to use, copy, modify, distribute, and sell this software and its
5f299d47fSmrg#  documentation for any purpose is hereby granted without fee, provided that
6f299d47fSmrg#  the above copyright notice appear in all copies and that both that
7f299d47fSmrg#  copyright notice and this permission notice appear in supporting
8f299d47fSmrg#  documentation, and that the name of Red Hat not be used in
9f299d47fSmrg#  advertising or publicity pertaining to distribution of the software without
10f299d47fSmrg#  specific, written prior permission.  Red Hat makes no
11f299d47fSmrg#  representations about the suitability of this software for any purpose.  It
12f299d47fSmrg#  is provided "as is" without express or implied warranty.
13f299d47fSmrg# 
14f299d47fSmrg#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15f299d47fSmrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16f299d47fSmrg#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17f299d47fSmrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18f299d47fSmrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19f299d47fSmrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20f299d47fSmrg#  PERFORMANCE OF THIS SOFTWARE.
21f299d47fSmrg
22f299d47fSmrgbin_PROGRAMS = xev
23f299d47fSmrg
24aa98702cSmrgAM_CFLAGS = $(CWARNFLAGS) $(XEV_CFLAGS)
25f299d47fSmrgxev_LDADD = $(XEV_LIBS)
26f299d47fSmrg
27f299d47fSmrgxev_SOURCES =	\
28f299d47fSmrg        xev.c
29f299d47fSmrg
30f299d47fSmrgappman_PRE = \
31f299d47fSmrg        xev.man
32f299d47fSmrg
33f299d47fSmrg
34f299d47fSmrgappmandir = $(APP_MAN_DIR)
35f299d47fSmrg
36f299d47fSmrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
37f299d47fSmrg
38625f88beSmrgEXTRA_DIST = $(appman_PRE) 
39625f88beSmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
40f299d47fSmrgCLEANFILES = $(appman_DATA)
41f299d47fSmrg
42f299d47fSmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man
43f299d47fSmrg
44625f88beSmrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
45f299d47fSmrg.man.$(APP_MAN_SUFFIX):
46aa98702cSmrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
47f299d47fSmrg
48625f88beSmrg.PHONY: ChangeLog INSTALL
49625f88beSmrg
50625f88beSmrgINSTALL:
51625f88beSmrg	$(INSTALL_CMD)
52f299d47fSmrg
53f299d47fSmrgChangeLog:
54aa98702cSmrg	$(CHANGELOG_CMD)
55aa98702cSmrg
56625f88beSmrgdist-hook: ChangeLog INSTALL
57