       PROGRAMS = x11perf x11perf_labels
        HEADERS = bitmaps.h x11perf.h
           SRCS = bitmaps.c do_arcs.c do_complex.c do_copyarea.c \
	          do_dots.c do_lines.c do_movewin.c do_rects.c \
		  do_segs.c do_simple.c do_tests.c do_text.c \
		  do_traps.c do_triangles.c do_valgc.c \
		  do_windows.c x11perf.c

           OBJS = bitmaps.o do_arcs.o do_complex.o do_copyarea.o \
	   	  do_dots.o do_lines.o do_movewin.o do_rects.o \
		  do_segs.o do_simple.o do_tests.o do_text.o \
		  do_traps.o do_triangles.o do_valgc.o \
		  do_windows.o x11perf.o

 SYS_LIBRARIES	= -lX11 -lm

ComplexProgramTarget(x11perf)

all:: x11perf_labels

x11perf_labels: do_tests.c
	./x11perf -labels -all > x11perf_labels

lint::
	$(LINT) -u $(SRCS)

clean::
	$(RM) $(PROGRAMS)

tar:	$(DEPEND)
	-rm -f x11perf.tar x11perf.tar.Z
	cp Makefile Makefile.bak
	$(DEPEND) -s "# DO NOT DELETE" -- -- $(SRCS)
#	awk '/^# DO NOT DELETE/ {print; exit}; {print}' Makefile.bak >Makefile
	tar chf x11perf.tar Imakefile Makefile $(HEADERS) $(SRCS) \
		x11perf_labels *.man x11perfcomp x11perffill RCS \
		link.com link.options make.com;
	mv Makefile.bak Makefile
	compress x11perf.tar

DependTarget()

