XCOMM $XConsortium: Imakefile,v 2.26 91/07/31 01:10:43 keith Exp $
#ifndef X11perfcompLib
#define X11perfcompLib $(LIBDIR)/x11perfcomp
#endif

#if HasShm
        SHMDEFS = -DMITSHM
#endif
        DEFINES = $(SIGNAL_DEFINES) $(SHMDEFS)
        PERFLIB = X11perfcompLib
        HEADERS = x11perf.h bitmaps.h
           SRCS = x11perf.c bitmaps.c do_tests.c \
		  do_simple.c do_rects.c do_valgc.c \
		  do_lines.c do_segs.c \
		  do_dots.c do_windows.c do_movewin.c do_text.c \
		  do_copyarea.c do_arcs.c \
		  do_triangles.c do_complex.c do_traps.c
           OBJS = x11perf.o bitmaps.o do_tests.o \
		  do_simple.o do_rects.o do_valgc.o \
		  do_lines.o do_segs.o \
		  do_dots.o do_windows.o do_movewin.o do_text.o \
		  do_copyarea.o do_arcs.o \
		  do_triangles.o do_complex.o do_traps.o
LOCAL_LIBRARIES = $(XLIB)
        DEPLIBS = $(DEPXLIB)
  SYS_LIBRARIES = -lm

ComplexProgramTarget(x11perf)

all:: x11perfcomp

CppScriptTarget(x11perfcomp,x11pcomp.cpp,-DLIBPATH=$(PERFLIB),$(ICONFIGFILE))

InstallNamedProg(x11perfcomp,x11perfcomp,$(BINDIR))
InstallNamedProg(fillblnk.sh,fillblnk,$(PERFLIB))
InstallNamedProg(perfboth.sh,perfboth,$(PERFLIB))
InstallNamedProg(perfratio.sh,perfratio,$(PERFLIB))
InstallManPageLong(x11pcomp,$(MANDIR),x11perfcomp)

clean::
	$(RM) x11perfcomp
