/* Imakefile for the xrt program */

/* Time zone to use, but ONLY if TZ variable is unset
   (which may be the case during the xdm login screen).
   Adjust for your site (echo $TZ to see what your time zone is).
   Comment out if you don't want to use this fallback at all. */

#define TIMEZONE GMT0BST

SRCS = xrt.c
OBJS = xrt.o

#ifdef HPArchitecture
CCOPTIONS = -Aa -D_HPUX_SOURCE /* For HP's ANSI C compiler */
#endif

#if ProjectX < 5
XFREE_DEF = -DXFREE_CHAR /* X11R4 uses a char * as the param to XFree */
#endif

#ifdef TIMEZONE
TIMEZONE_DEF = -DTIME_ZONE=\"TIMEZONE\"
#endif

DEFINES = $(TIMEZONE_DEF) $(XFREE_DEF)

LOCAL_LIBRARIES = -lX11

ComplexProgramTarget(xrt)
