Makefile.am revision 65c1f7cf
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 22SUBDIRS = man 23 24bin_PROGRAMS = x11perf 25 26AM_CFLAGS = $(CWARNFLAGS) $(XEXT_CFLAGS) $(XFT_CFLAGS) $(XRENDER_CFLAGS) $(X11PERF_CFLAGS) 27x11perf_LDADD = $(XEXT_LIBS) $(XFT_LIBS) $(XRENDER_LIBS) $(X11PERF_LIBS) -lm 28 29x11perf_SOURCES = \ 30 bitmaps.c \ 31 bitmaps.h \ 32 do_arcs.c \ 33 do_blt.c \ 34 do_complex.c \ 35 do_dots.c \ 36 do_lines.c \ 37 do_movewin.c \ 38 do_rects.c \ 39 do_segs.c \ 40 do_simple.c \ 41 do_tests.c \ 42 do_text.c \ 43 do_traps.c \ 44 do_tris.c \ 45 do_valgc.c \ 46 do_windows.c \ 47 x11perf.c \ 48 x11perf.h 49 50bin_SCRIPTS = x11perfcomp 51CLEANFILES = $(bin_SCRIPTS) 52EXTRA_DIST = $(bin_SCRIPTS:=.in) README.md 53DIR_SUBSTS = -e 's|@x11perfcompdir[@]|$(x11perfcompdir)|g' 54DIR_SUBSTS += -e 's|@MKTEMP[@]|$(MKTEMP)|g' 55 56x11perfcomp: x11perfcomp.in 57 $(AM_V_GEN)$(SED) $(DIR_SUBSTS) < $(srcdir)/$@.in > $@ 58 59dist_x11perfcomp_SCRIPTS = \ 60 fillblnk \ 61 perfboth \ 62 perfratio \ 63 Xmark 64 65MAINTAINERCLEANFILES = ChangeLog INSTALL 66 67.PHONY: ChangeLog INSTALL 68 69INSTALL: 70 $(INSTALL_CMD) 71 72ChangeLog: 73 $(CHANGELOG_CMD) 74 75dist-hook: ChangeLog INSTALL 76