XCOMM $XConsortium: xf86.tmpl /main/2 1996/10/31 15:01:41 kaleb $



XCOMM $XFree86: xc/config/cf/xf86.tmpl,v 3.11.2.4 1999/06/17 16:23:45 hohndel Exp $

#if XF86LinkKit
    TOP_INCLUDES = TopIncludes
   IMAKE_DEFINES = -DXF86LinkKit=1
#ifdef UseInstalled
       IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(TOP) -I$(IRULESRC) \
		   $(IMAKE_DEFINES)
#else
       IMAKE_CMD = $(IMAKE) -I$(TOP) -I$(IRULESRC) $(IMAKE_DEFINES)
#endif

#undef ImakeSubCmdHelper
#ifdef UseInstalled
#define ImakeSubCmdHelper $(IMAKE) -DUseInstalled -I$(IMAKETOP) \
			  -I$(IRULESRC) $(IMAKE_DEFINES)
#else
#define ImakeSubCmdHelper $(IMAKEPREFIX)$(IMAKE) -I$(IMAKETOP) \
			  -I$(IMAKEPREFIX)$(IRULESRC) $(IMAKE_DEFINES)
#endif
#endif

#ifndef JoystickSupport
#define JoystickSupport		NO
#endif
#ifndef WacomSupport
#define WacomSupport		NO
#endif
#ifndef USBSupport
#define USBSupport		NO
#endif
#ifndef ElographicsSupport
#define ElographicsSupport	NO
#endif
#ifndef DynaproSupport
#define DynaproSupport		NO
#endif
#ifndef MicroTouchSupport
#define MicroTouchSupport	NO
#endif
#ifndef SummaSketchSupport
#define SummaSketchSupport	NO
#endif
#ifndef AceCadSupport
#define AceCadSupport		NO
#endif
#ifndef DialBoxSupport
#define DialBoxSupport		NO
#endif
#ifndef CalcompSupport
#define CalcompSupport		NO
#endif

#if BuildDynamicLoading
       MODULEDIR = $(USRLIBDIR)/modules
#endif

#if !BuildDynamicLoading && BuildXInputExt
# if JoystickSupport
#  define JoystickDefines -DJOYSTICK_SUPPORT
# else
#  define JoystickDefines
# endif
# if WacomSupport
#  define WacomDefines -DWACOM_SUPPORT
# else
#  define WacomDefines
# endif
# if USBSupport
#  define USBDefines -DUSB_SUPPORT
# else
#  define USBDefines
# endif
# if ElographicsSupport
#  define ElographicsDefines -DELOGRAPHICS_SUPPORT
# else
#  define ElographicsDefines
# endif
# if DynaproSupport
#  define DynaproDefines -DDYNAPRO_SUPPORT
# else
#  define DynaproDefines
# endif
# if MicroTouchSupport
#  define MicroTouchDefines -DMICROTOUCH_SUPPORT
# else
#  define MicroTouchDefines
# endif
# if SummaSketchSupport
#  define SummaSketchDefines -DSUMMASKETCH_SUPPORT
# else
#  define SummaSketchDefines
# endif
# if AceCadSupport
#  define AceCadDefines -DACECAD_SUPPORT
# else
#  define AceCadDefines
# endif
# if DialBoxSupport
#  define DialBoxDefines -DDIALBOX_SUPPORT
# else
#  define DialBoxDefines
# endif
# if CalcompSupport
#  define CalcompDefines -DCALCOMP_SUPPORT
# else
#  define CalcompDefines
# endif
#endif
