XCOMM Adapted from Xkw/dominos/Imakefile

XCOMM Copyright (C) 2001-2002 Bart Massey and Jamey Sharp.
XCOMM All Rights Reserved.  See the file COPYING in the parent directory
XCOMM for licensing information.

INCLUDES = -I. -I../../exports/include
XCB=../../lib/XCB
XCBLIB=-L$(XCB) -lXCB
DEPXCBLIB=$(XCB)/libXCB.so

all:: main dpms xdpyinfo rendertest

THREADS = -lpthread

main_OBJS = main.o reply_formats.o

dpms_OBJS = dpms.o

xdpyinfo_OBJS = xdpyinfo.o

rendertest_OBJS = rendertest.o

NormalProgramTarget(main,$(main_OBJS),$(DEPXCBLIB),$(XCBLIB),$(THREADS))

NormalProgramTarget(dpms,$(dpms_OBJS),$(DEPXCBLIB),$(XCBLIB),)

NormalProgramTarget(xdpyinfo,$(xdpyinfo_OBJS),$(DEPXCBLIB),$(XCBLIB),)

NormalProgramTarget(rendertest,$(rendertest_OBJS),$(DEPXCBLIB),$(XCBLIB),)

DependTarget()
