XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:54:17 cpqbld Exp $




XCOMM $XFree86: xc/programs/xdpyinfo/Imakefile,v 3.15 2001/12/27 20:02:34 dawes Exp $


#if HasShm
        SHMDEFINES = -DMITSHM
#endif

#if BuildXIElib
        XIEDEFINES = -DXIE
        XIEDEPLIBS = $(DEPXIELIB)
           XIELIBS = $(XIELIB)
#endif

#if BuildXF86VidModeLibrary
    VIDMODEDEFINES = -DXF86VIDMODE
    VIDMODEDEPLIBS = $(DEPXXF86VMLIB)
       VIDMODELIBS = $(XXF86VMLIB)
#endif

#if BuildXF86DGALibrary
        DGADEFINES = -DXFreeXDGA
        DGADEPLIBS = $(DEPXXF86DGALIB)
           DGALIBS = $(XXF86DGALIB)
#endif

#if BuildXF86MiscLibrary
   XF86MISCDEFINES = -DXF86MISC
   XF86MISCDEPLIBS = $(DEPXXF86MISCLIB)
      XF86MISCLIBS = $(XXF86MISCLIB)
#endif

#if BuildXInputLib
     XINPUTDEFINES = -DXINPUT
     XINPUTDEPLIBS = $(DEPXILIB)
        XINPUTLIBS = $(XILIB)
#endif

#if BuildRenderLibrary
    XRENDERDEFINES = -DXRENDER
    XRENDERDEPLIBS = $(DEPXRENDERLIB)
       XRENDERLIBS = $(XRENDERLIB)
#endif

       XF86DEFINES = $(VIDMODEDEFINES) $(DGADEFINES) $(XF86MISCDEFINES)
       DEPXF86LIBS = $(VIDMODEDEPLIBS) $(DGADEPLIBS) $(XF86MISCDEPLIBS)
          XF86LIBS = $(VIDMODELIBS) $(DGALIBS) $(XF86MISCLIBS)

#if BuildMultibuffer
   MULTIBUFDEFINES = -DMULTIBUFFER
#endif

#if BuildXKB
        XKBDEFINES = -DXKB
#endif

#if BuildXineramaLibrary
   XINERAMADEFINES = -DPANORAMIX
      XINERAMALIBS = $(XINERAMALIB)
#endif

      OTHERDEFINES = $(SHMDEFINES) $(XKBDEFINES) $(XINPUTDEFINES) \
			$(MULTIBUFDEFINES) $(XIEDEFINES) $(XRENDERDEFINES) \
			$(XINERAMADEFINES)
      OTHERDEPLIBS = $(XINPUTDEPLIBS) $(XIEDEPLIBS) $(XRENDERDEPLIBS)
         OTHERLIBS = $(XINPUTLIBS) $(XIELIBS) $(XRENDERLIBS) $(XINERAMALIBS)

        DEFINES = $(OTHERDEFINES) $(XF86DEFINES)
        DEPLIBS = $(DEPXTESTLIB) XkbClientDepLibs $(OTHERDEPLIBS) \
		  $(DEPXF86LIBS) $(DEPXLIB)
LOCAL_LIBRARIES = $(XTESTLIB) XkbClientLibs $(OTHERLIBS) \
		  $(XF86LIBS) $(XLIB)
  SYS_LIBRARIES = MathLibrary


SimpleProgramTarget(xdpyinfo)
