Makefile.am revision 736a7e2c
1# 2# Copyright 2005 Red Hat, Inc. 3# 4# Permission to use, copy, modify, distribute, and sell this software and its 5# documentation for any purpose is hereby granted without fee, provided that 6# the above copyright notice appear in all copies and that both that 7# copyright notice and this permission notice appear in supporting 8# documentation, and that the name of Red Hat not be used in 9# advertising or publicity pertaining to distribution of the software without 10# specific, written prior permission. Red Hat makes no 11# representations about the suitability of this software for any purpose. It 12# is provided "as is" without express or implied warranty. 13# 14# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20# PERFORMANCE OF THIS SOFTWARE. 21 22bin_PROGRAMS = x11perf 23 24bin_SCRIPTS = x11perfcomp 25 26LIBPATH = $(libdir)/X11/x11perfcomp 27 28x11perfcompdir = $(LIBPATH) 29dist_x11perfcomp_SCRIPTS = fillblnk perfboth perfratio Xmark 30 31AM_CFLAGS = $(CWARNFLAGS) $(XEXT_CFLAGS) $(XFT_CFLAGS) $(XRENDER_CFLAGS) $(X11PERF_CFLAGS) 32x11perf_LDADD = $(XEXT_LIBS) $(XFT_LIBS) $(XRENDER_LIBS) $(X11PERF_LIBS) -lm 33 34x11perf_SOURCES = \ 35 bitmaps.c \ 36 bitmaps.h \ 37 do_arcs.c \ 38 do_blt.c \ 39 do_complex.c \ 40 do_dots.c \ 41 do_lines.c \ 42 do_movewin.c \ 43 do_rects.c \ 44 do_segs.c \ 45 do_simple.c \ 46 do_tests.c \ 47 do_text.c \ 48 do_traps.c \ 49 do_tris.c \ 50 do_valgc.c \ 51 do_windows.c \ 52 x11perf.c \ 53 x11perf.h 54 55appman_PRE = \ 56 x11perfcomp.man \ 57 x11perf.man \ 58 Xmark.man 59 60x11perfcomp: x11pcomp.cpp 61 $(AM_V_GEN)$(SED) s/LIBPATH/`echo $(LIBPATH) | sed -e s/\\\\//\\\\\\\\\\\\\//g`/ < $(srcdir)/x11pcomp.cpp | \ 62 $(SED) s/XCOMM/\#/ > $@ 63 64 65MAINTAINERCLEANFILES = ChangeLog INSTALL 66CLEANFILES = $(bin_SCRIPTS) x11perfcomp 67 68EXTRA_DIST = x11pcomp.cpp 69 70appmandir = $(APP_MAN_DIR) 71 72appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 73 74EXTRA_DIST += $(appman_PRE) 75CLEANFILES += $(appman_DATA) 76 77SUFFIXES = .$(APP_MAN_SUFFIX) .man 78 79# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure 80.man.$(APP_MAN_SUFFIX): 81 $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 82 83 84.PHONY: ChangeLog INSTALL 85 86INSTALL: 87 $(INSTALL_CMD) 88 89ChangeLog: 90 $(CHANGELOG_CMD) 91 92dist-hook: ChangeLog INSTALL 93