Imakefile   [plain text]


XCOMM $XFree86: xc/programs/xcursorgen/whiteglass/Imakefile,v 1.4 2003/03/26 20:43:59 tsi Exp $

#define CursorSources(name) name-16.png name-24.png name-32.png name-48.png name-64.png

ICONDIR=$(LIBDIR)/icons
THEME=whiteglass
THEMEDIR=$(ICONDIR)/$(THEME)/cursors

#define CursorTarget(name)						@@\
all:: name								@@\
									@@\
name: name.cfg CursorSources(name)					@@\
	$(XCURSORGEN) 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::								@@\
	RemoveFile($(DESTDIR)$(THEMEDIR)/dst)				@@\
	(set -x; cd $(DESTDIR)$(THEMEDIR) && $(LN) src dst)

CursorTarget(X_cursor)
CursorLinkTarget(arrow,right_ptr)
CursorTarget(base_arrow_down)
CursorTarget(base_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(dot_box_mask)
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)
/* 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)
CursorTarget(sb_h_double_arrow)
CursorTarget(sb_left_arrow)
CursorTarget(sb_right_arrow)
CursorTarget(sb_up_arrow)
CursorTarget(sb_v_double_arrow)
CursorTarget(shuttle)
CursorTarget(sizing)
/* CursorTarget(spider) */
/* CursorTarget(spraycan) */
/* CursorTarget(star) */
CursorTarget(target)
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)
/* CursorTarget(umbrella) */
CursorTarget(ur_angle)
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