home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / demos / x11perf / Imakefile < prev    next >
Encoding:
Makefile  |  1991-07-30  |  1.3 KB  |  42 lines

  1. XCOMM $XConsortium: Imakefile,v 2.26 91/07/31 01:10:43 keith Exp $
  2. #ifndef X11perfcompLib
  3. #define X11perfcompLib $(LIBDIR)/x11perfcomp
  4. #endif
  5.  
  6. #if HasShm
  7.         SHMDEFS = -DMITSHM
  8. #endif
  9.         DEFINES = $(SIGNAL_DEFINES) $(SHMDEFS)
  10.         PERFLIB = X11perfcompLib
  11.         HEADERS = x11perf.h bitmaps.h
  12.            SRCS = x11perf.c bitmaps.c do_tests.c \
  13.           do_simple.c do_rects.c do_valgc.c \
  14.           do_lines.c do_segs.c \
  15.           do_dots.c do_windows.c do_movewin.c do_text.c \
  16.           do_copyarea.c do_arcs.c \
  17.           do_triangles.c do_complex.c do_traps.c
  18.            OBJS = x11perf.o bitmaps.o do_tests.o \
  19.           do_simple.o do_rects.o do_valgc.o \
  20.           do_lines.o do_segs.o \
  21.           do_dots.o do_windows.o do_movewin.o do_text.o \
  22.           do_copyarea.o do_arcs.o \
  23.           do_triangles.o do_complex.o do_traps.o
  24. LOCAL_LIBRARIES = $(XLIB)
  25.         DEPLIBS = $(DEPXLIB)
  26.   SYS_LIBRARIES = -lm
  27.  
  28. ComplexProgramTarget(x11perf)
  29.  
  30. all:: x11perfcomp
  31.  
  32. CppScriptTarget(x11perfcomp,x11pcomp.cpp,-DLIBPATH=$(PERFLIB),$(ICONFIGFILE))
  33.  
  34. InstallNamedProg(x11perfcomp,x11perfcomp,$(BINDIR))
  35. InstallNamedProg(fillblnk.sh,fillblnk,$(PERFLIB))
  36. InstallNamedProg(perfboth.sh,perfboth,$(PERFLIB))
  37. InstallNamedProg(perfratio.sh,perfratio,$(PERFLIB))
  38. InstallManPageLong(x11pcomp,$(MANDIR),x11perfcomp)
  39.  
  40. clean::
  41.     $(RM) x11perfcomp
  42.