#include "defines.imake"

  STD_DEFINES = StandardDefines -D$(WIDGETSET)

        DEPLIBS = 
LOCAL_LIBRARIES = $(TIFFLIB)
  SYS_LIBRARIES =
    XTIFFDEPENDS = xbackground x2tif
       XTIFFSRCS = xbackground.c x2tif.c

AllTarget($(XTIFFDEPENDS))

NormalProgramTarget(xbackground,xbackground.o loadpixmap.o,/* deplibs */,$(LOCAL_LIBRARIES), -lX11 -lm)

InstallProgram(xbackground,$(CPBINDIR))


NormalProgramTarget(x2tif,x2tif.o XGetRect.o,/* deplibs */,$(LOCAL_LIBRARIES), -lX11)

InstallProgram(x2tif,$(CPBINDIR))

depend::
	$(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(XTIFFSRCS)
