XCOMM $XFree86: xc/programs/xcursorgen/handhelds/Imakefile,v 1.4 2003/02/10 00:57:25 tsi Exp $

#define CursorSources(name) $(PNGDIR)/name-16.png

ICONDIR=$(LIBDIR)/icons
THEME=handhelds
PNGDIR=../redglass
THEMEDIR=$(ICONDIR)/$(THEME)/cursors

#define CursorTarget(name)						@@\
all:: name								@@\
									@@\
name: name.cfg CursorSources(name)					@@\
	$(XCURSORGEN) -p $(PNGDIR) name.cfg name			@@\
									@@\
clean::									@@\
	$(RM) name							@@\
									@@\
InstallTarget(install,name,$(INSTDATFLAGS),$(THEMEDIR))


#define CursorLinkTarget(dst,src)					@@\
all:: dst								@@\
									@@\
dst: src								@@\
	RemoveFile(dst)							@@\
	$(LN) src dst							@@\
									@@\
clean::									@@\
	$(RM) dst							@@\
									@@\
install.link:: $(DESTDIR)$(THEMEDIR)/src				@@\
	RemoveFile($(DESTDIR)$(THEMEDIR)/dst)				@@\
	(set -x; cd $(DESTDIR)$(THEMEDIR) && $(LN) src dst)

CursorTarget(X_cursor)
CursorLinkTarget(arrow,right_ptr)
CursorTarget(based_arrow_down)
CursorTarget(based_arrow_up)
/* CursorTarget(boat) */
/* CursorTarget(bogosity) */
CursorTarget(bottom_left_corner)
CursorTarget(bottom_right_corner)
CursorTarget(bottom_side)
CursorTarget(bottom_tee)
/* CursorTarget(box_spiral) */
CursorTarget(center_ptr)
CursorTarget(circle)
/* CursorTarget(clock) */
/* CursorTarget(coffee_mug) */
CursorTarget(cross)
CursorLinkTarget(cross_reverse,cross)
CursorLinkTarget(crosshair,cross)
CursorTarget(dot)
CursorTarget(dotbox)
CursorTarget(double_arrow)
CursorLinkTarget(draft_large,right_ptr)
CursorLinkTarget(draft_small,right_ptr)
CursorTarget(draped_box)
/* CursorTarget(exchange) */
CursorTarget(fleur)
/* CursorTarget(gobbler) */
CursorTarget(gumby)
/* CursorTarget(hand1) */
CursorTarget(hand2)
/* CursorTarget(heart) */
/* CursorTarget(icon) */
/* CursorTarget(iron_cross) */
CursorTarget(left_ptr)
CursorTarget(left_ptr_watch)
CursorTarget(left_side)
CursorTarget(left_tee)
/* CursorTarget(left_button) */
CursorTarget(ll_angle)
/* CursorTarget(lr_angle) */		/* need */
/* CursorTarget(man) */
/* CursorTarget(middlebutton) */
/* CursorTarget(mouse) */
CursorTarget(pencil)
/* CursorTarget(pirate) */
CursorLinkTarget(plus,cross)
/* CursorTarget(question_arrow) */
CursorTarget(right_ptr)
CursorTarget(right_side)
CursorTarget(right_tee)
/* CursorTarget(rightbutton) */
/* CursorTarget(rtl_logo) */
/* CursorTarget(sailboat) */
/* CursorTarget(sb_down_arrow) */	/* need */
CursorTarget(sb_h_double_arrow)
/* CursorTarget(sb_left_arrow) */	/* need */
CursorTarget(sb_right_arrow)
CursorTarget(sb_up_arrow)
CursorTarget(sb_v_double_arrow)
CursorTarget(shuttle)
/* CursorTarget(sizing) */		/* need? */
/* CursorTarget(spider) */
/* CursorTarget(spraycan) */
/* CursorTarget(star) */
/* CursorTarget(target) */		/* need */
CursorLinkTarget(tcross,cross)
CursorLinkTarget(top_left_arrow,left_ptr)
CursorTarget(top_left_corner)
CursorTarget(top_right_corner)
CursorTarget(top_side)
CursorTarget(top_tee)
/* CursorTarget(trek) */
/* CursorTarget(ul_angle) */		/* need */
/* CursorTarget(umbrella) */
/* CursorTarget(ur_angle) */		/* need */
CursorTarget(watch)
CursorTarget(xterm)

/*
 * Application specific cursors for Mozilla
 */
/* moz_alias 0876e1c15ff2fc01f906f1c363074c0f (left_ptr with small arrow) */
/* moz_copy 08ffe1cb5fe6fc01f906f1c063814ccf (left_ptr with plus) */
/* moz_hand_grabbing 208530c400c041818281048008011002 (closed hand) */
/* moz_hand_grab 5aca4d189052212118709018842178c0 (open hand) */
/* moz_menu 08ffe1e65f80fcfdf9fff11263e74c48 (left_ptr with menu) */
/* moz_question_arrow 5c6cd98b3f3ebcb1f9c7f1c204630408 (left_ptr with ?) */
/* moz_spinning (left_ptr with watch) */
CursorLinkTarget(08e8e1c95fe2fc01f976f1e063a24ccd,left_ptr_watch)

install:: install.link
