Makefile.am revision af23b0a6
1010cdda0Smrg# 
2010cdda0Smrg#  Copyright 2005  Red Hat, Inc.
3010cdda0Smrg# 
4010cdda0Smrg#  Permission to use, copy, modify, distribute, and sell this software and its
5010cdda0Smrg#  documentation for any purpose is hereby granted without fee, provided that
6010cdda0Smrg#  the above copyright notice appear in all copies and that both that
7010cdda0Smrg#  copyright notice and this permission notice appear in supporting
8010cdda0Smrg#  documentation, and that the name of Red Hat not be used in
9010cdda0Smrg#  advertising or publicity pertaining to distribution of the software without
10010cdda0Smrg#  specific, written prior permission.  Red Hat makes no
11010cdda0Smrg#  representations about the suitability of this software for any purpose.  It
12010cdda0Smrg#  is provided "as is" without express or implied warranty.
13010cdda0Smrg# 
14010cdda0Smrg#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15010cdda0Smrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16010cdda0Smrg#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17010cdda0Smrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18010cdda0Smrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19010cdda0Smrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20010cdda0Smrg#  PERFORMANCE OF THIS SOFTWARE.
21010cdda0Smrg
22010cdda0Smrgbin_PROGRAMS = xkbvleds xkbwatch xkbbell
23010cdda0Smrg
24b3eb03f3SmrgAM_CFLAGS = $(CWARNFLAGS)
25b3eb03f3Smrg
26010cdda0Smrg# xkbvleds
27010cdda0Smrg
28010cdda0Smrgxkbvleds_SOURCES = xkbvleds.c LED.c LED.h LEDP.h utils.c utils.h
29010cdda0Smrg
30b3eb03f3Smrgxkbvleds_CFLAGS = $(XKBVLEDS_CFLAGS) $(AM_CFLAGS)
31010cdda0Smrgxkbvleds_LDADD = $(XKBVLEDS_LIBS)
32010cdda0Smrg
33010cdda0Smrg# xkbbell
34010cdda0Smrg
35010cdda0Smrgxkbbell_SOURCES = xkbbell.c
36010cdda0Smrg
37b3eb03f3Smrgxkbbell_CFLAGS = $(XKBBELL_CFLAGS) $(AM_CFLAGS)
38010cdda0Smrgxkbbell_LDADD = $(XKBBELL_LIBS)
39010cdda0Smrg
40010cdda0Smrg# xkbwatch
41010cdda0Smrg
42010cdda0Smrgxkbwatch_SOURCES = xkbwatch.c LED.c LED.h LEDP.h utils.c utils.h
43b3eb03f3Smrgxkbwatch_CFLAGS = $(XKBWATCH_CFLAGS) $(AM_CFLAGS)
44010cdda0Smrgxkbwatch_LDADD = $(XKBWATCH_LIBS)
45b3eb03f3Smrg
46b3eb03f3Smrg# Man pages
47b3eb03f3Smrgappman_PRE = xkbbell.man xkbvleds.man xkbwatch.man  
48b3eb03f3Smrg
49b3eb03f3Smrgappmandir = $(APP_MAN_DIR)
50b3eb03f3Smrg
51b3eb03f3Smrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
52b3eb03f3Smrg
53af23b0a6SmrgEXTRA_DIST = $(appman_PRE) 
54af23b0a6SmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
55b3eb03f3SmrgCLEANFILES = $(appman_DATA)
56b3eb03f3Smrg
57b3eb03f3SmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man
58b3eb03f3Smrg
59af23b0a6Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
60b3eb03f3Smrg.man.$(APP_MAN_SUFFIX):
61b3eb03f3Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
62b3eb03f3Smrg
63af23b0a6Smrg.PHONY: ChangeLog INSTALL
64af23b0a6Smrg
65af23b0a6SmrgINSTALL:
66af23b0a6Smrg	$(INSTALL_CMD)
67b3eb03f3Smrg
68b3eb03f3SmrgChangeLog:
69b3eb03f3Smrg	$(CHANGELOG_CMD)
70b3eb03f3Smrg
71af23b0a6Smrgdist-hook: ChangeLog INSTALL
72