all:	symlinks

symlinks: cursors
	cat ../../debian/symlinks | while read a b; do echo "$$a -> $$b"; ln -s $$a $(dest)$$b; done

cursors: \
	$(dest)X-cursor \
	$(dest)alias \
	$(dest)all-scroll \
	$(dest)cell \
	$(dest)col-resize \
	$(dest)context-menu \
	$(dest)copy \
	$(dest)crosshair \
	$(dest)default \
	$(dest)e-resize \
	$(dest)ew-resize \
	$(dest)grabbing \
	$(dest)help \
	$(dest)move \
	$(dest)n-resize \
	$(dest)ne-resize \
	$(dest)nesw-resize \
	$(dest)no-drop \
	$(dest)not-allowed \
	$(dest)ns-resize \
	$(dest)nw-resize \
	$(dest)nwse-resize \
	$(dest)pencil \
	$(dest)pirate \
	$(dest)pointer \
	$(dest)progress \
	$(dest)right-arrow \
	$(dest)row-resize \
	$(dest)s-resize \
	$(dest)se-resize \
	$(dest)sw-resize \
	$(dest)text \
	$(dest)up-arrow \
	$(dest)vertical-text \
	$(dest)w-resize \
	$(dest)wait \
	$(dest)zoom-in \
	$(dest)zoom-out 

.PHONY:	all symlinks cursors

$(dest)row-resize:	row-resize.in row-resize.png
	xcursorgen row-resize.in $(dest)row-resize

$(dest)n-resize:	n-resize.in n-resize.png
	xcursorgen n-resize.in $(dest)n-resize

$(dest)e-resize:	e-resize.in e-resize.png
	xcursorgen e-resize.in $(dest)e-resize

$(dest)text:	text.in text.png text1.png text2.png text3.png text4.png text5.png
	xcursorgen text.in $(dest)text

$(dest)copy:	copy.in copy.png
	xcursorgen copy.in $(dest)copy

$(dest)se-resize:	se-resize.in se-resize.png
	xcursorgen se-resize.in $(dest)se-resize

$(dest)w-resize:	w-resize.in w-resize.png
	xcursorgen w-resize.in $(dest)w-resize

$(dest)progress:	progress.in progress.png progress1.png progress2.png progress3.png progress4.png progress5.png progress6.png progress7.png progress8.png progress9.png progress10.png progress11.png progress12.png progress13.png
	xcursorgen progress.in $(dest)progress

$(dest)sw-resize:	sw-resize.in sw-resize.png
	xcursorgen sw-resize.in $(dest)sw-resize

$(dest)pirate:	pirate.in pirate.png
	xcursorgen pirate.in $(dest)pirate

$(dest)vertical-text:	vertical-text.in vertical-text.png vertical-text1.png vertical-text2.png vertical-text3.png vertical-text4.png vertical-text5.png
	xcursorgen vertical-text.in $(dest)vertical-text

$(dest)nesw-resize:	nesw-resize.in nesw-resize.png
	xcursorgen nesw-resize.in $(dest)nesw-resize

$(dest)all-scroll:	all-scroll.in all-scroll.png
	xcursorgen all-scroll.in $(dest)all-scroll

$(dest)X-cursor:	X-cursor.in X-cursor.png
	xcursorgen X-cursor.in $(dest)X-cursor

$(dest)alias:	alias.in alias.png
	xcursorgen alias.in $(dest)alias

$(dest)move:	move.in move.png
	xcursorgen move.in $(dest)move

$(dest)zoom-in:	zoom-in.in zoom-in.png
	xcursorgen zoom-in.in $(dest)zoom-in

$(dest)not-allowed:	not-allowed.in not-allowed.png
	xcursorgen not-allowed.in $(dest)not-allowed

$(dest)pencil:	pencil.in pencil.png
	xcursorgen pencil.in $(dest)pencil

$(dest)nwse-resize:	nwse-resize.in nwse-resize.png
	xcursorgen nwse-resize.in $(dest)nwse-resize

$(dest)up-arrow:	up-arrow.in up-arrow.png
	xcursorgen up-arrow.in $(dest)up-arrow

$(dest)wait:	wait.in wait.png wait1.png wait2.png wait3.png wait4.png wait5.png wait6.png wait7.png wait8.png wait9.png wait10.png wait11.png wait12.png wait13.png
	xcursorgen wait.in $(dest)wait

$(dest)ne-resize:	ne-resize.in ne-resize.png
	xcursorgen ne-resize.in $(dest)ne-resize

$(dest)default:	default.in default.png
	xcursorgen default.in $(dest)default

$(dest)s-resize:	s-resize.in s-resize.png
	xcursorgen s-resize.in $(dest)s-resize

$(dest)col-resize:	col-resize.in col-resize.png
	xcursorgen col-resize.in $(dest)col-resize

$(dest)ew-resize:	ew-resize.in ew-resize.png
	xcursorgen ew-resize.in $(dest)ew-resize

$(dest)grabbing:	grabbing.in grabbing.png
	xcursorgen grabbing.in $(dest)grabbing

$(dest)zoom-out:	zoom-out.in zoom-out.png
	xcursorgen zoom-out.in $(dest)zoom-out

$(dest)nw-resize:	nw-resize.in nw-resize.png
	xcursorgen nw-resize.in $(dest)nw-resize

$(dest)help:	help.in help.png
	xcursorgen help.in $(dest)help

$(dest)ns-resize:	ns-resize.in ns-resize.png
	xcursorgen ns-resize.in $(dest)ns-resize

$(dest)right-arrow:	right-arrow.in right-arrow.png
	xcursorgen right-arrow.in $(dest)right-arrow

$(dest)context-menu:	context-menu.in context-menu.png
	xcursorgen context-menu.in $(dest)context-menu

$(dest)crosshair:	crosshair.in crosshair.png
	xcursorgen crosshair.in $(dest)crosshair

$(dest)pointer:	pointer.in pointer.png
	xcursorgen pointer.in $(dest)pointer

$(dest)no-drop:	no-drop.in no-drop.png
	xcursorgen no-drop.in $(dest)no-drop

$(dest)cell:	cell.in cell.png
	xcursorgen cell.in $(dest)cell
