Makefile.am revision 863f95b1
1ff7e0accSmrg# 
2ff7e0accSmrg#  Copyright 2005  Red Hat, Inc.
3ff7e0accSmrg# 
4ff7e0accSmrg#  Permission to use, copy, modify, distribute, and sell this software and its
5ff7e0accSmrg#  documentation for any purpose is hereby granted without fee, provided that
6ff7e0accSmrg#  the above copyright notice appear in all copies and that both that
7ff7e0accSmrg#  copyright notice and this permission notice appear in supporting
8ff7e0accSmrg#  documentation, and that the name of Red Hat not be used in
9ff7e0accSmrg#  advertising or publicity pertaining to distribution of the software without
10ff7e0accSmrg#  specific, written prior permission.  Red Hat makes no
11ff7e0accSmrg#  representations about the suitability of this software for any purpose.  It
12ff7e0accSmrg#  is provided "as is" without express or implied warranty.
13ff7e0accSmrg# 
14ff7e0accSmrg#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15ff7e0accSmrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16ff7e0accSmrg#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17ff7e0accSmrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18ff7e0accSmrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19ff7e0accSmrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20ff7e0accSmrg#  PERFORMANCE OF THIS SOFTWARE.
21ff7e0accSmrg
22ff7e0accSmrgbin_PROGRAMS = xwininfo
23ff7e0accSmrg
2410998002SmrgAM_CFLAGS = $(CWARNFLAGS) $(XWININFO_CFLAGS)
25863f95b1Smrgxwininfo_LDADD = $(XWININFO_LIBS) $(LIBOBJS)
26ff7e0accSmrg
27ff7e0accSmrgxwininfo_SOURCES =	\
28a005d216Smrg        clientwin.c \
29a005d216Smrg        clientwin.h \
30ff7e0accSmrg        dsimple.c \
31ff7e0accSmrg        dsimple.h \
32ff7e0accSmrg        xwininfo.c
33ff7e0accSmrg
34ff7e0accSmrgappman_PRE = \
35ff7e0accSmrg        xwininfo.man
36ff7e0accSmrg
37ff7e0accSmrg
38ff7e0accSmrgappmandir = $(APP_MAN_DIR)
39ff7e0accSmrg
40ff7e0accSmrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
41ff7e0accSmrg
42863f95b1SmrgEXTRA_DIST = $(appman_PRE) autogen.sh strnlen.h
43863f95b1SmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
44ff7e0accSmrgCLEANFILES = $(appman_DATA)
45ff7e0accSmrg
46863f95b1Smrg.PHONY: ChangeLog INSTALL
47863f95b1Smrg
48863f95b1SmrgINSTALL:
49863f95b1Smrg	$(INSTALL_CMD)
50ff7e0accSmrg
51ff7e0accSmrgChangeLog:
5210998002Smrg	$(CHANGELOG_CMD)
53ff7e0accSmrg
54863f95b1Smrgdist-hook: ChangeLog INSTALL
55ff7e0accSmrg
56ff7e0accSmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man
57ff7e0accSmrg
58863f95b1Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
59ff7e0accSmrg.man.$(APP_MAN_SUFFIX):
6010998002Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
61