Makefile.am 3.25 KB
Newer Older
1 2
## Process this file with automake to produce Makefile.in

3
CURSOR_IMAGES = \
4 5 6 7
	cursor-bad.png				\
	cursor-color-picker.png			\
	cursor-corner-bottom-left.png		\
	cursor-corner-bottom-right.png		\
8 9 10
	cursor-corner-bottom.png		\
	cursor-corner-left.png			\
	cursor-corner-right.png			\
11 12
	cursor-corner-top-left.png		\
	cursor-corner-top-right.png		\
13
	cursor-corner-top.png			\
14
	cursor-crosshair-small.png		\
15
	cursor-crosshair.png			\
16 17 18
	cursor-mouse.png			\
	cursor-move.png				\
	cursor-none.png				\
19 20
	cursor-side-bottom-left.png		\
	cursor-side-bottom-right.png		\
21 22 23
	cursor-side-bottom.png			\
	cursor-side-left.png			\
	cursor-side-right.png			\
24 25
	cursor-side-top-left.png		\
	cursor-side-top-right.png		\
26 27
	cursor-side-top.png			\
	cursor-zoom.png				\
28
	\
29 30 31 32 33 34 35 36 37 38 39 40
	modifier-anchor.png			\
	modifier-bad.png			\
	modifier-background.png			\
	modifier-control.png			\
	modifier-foreground.png			\
	modifier-intersect.png			\
	modifier-join.png			\
	modifier-minus.png			\
	modifier-move.png			\
	modifier-pattern.png			\
	modifier-plus.png			\
	modifier-resize.png			\
41
	modifier-rotate.png			\
42
	modifier-select.png			\
43
	modifier-zoom.png			\
44
	\
45 46 47 48 49 50 51 52 53 54 55 56 57 58
	tool-airbrush.png			\
	tool-blur.png				\
	tool-bucket-fill.png			\
	tool-burn.png				\
	tool-clone.png				\
	tool-color-picker.png			\
	tool-crop.png				\
	tool-dodge.png				\
	tool-ellipse-select.png			\
	tool-eraser.png				\
	tool-flip-horizontal.png		\
	tool-flip-vertical.png			\
	tool-free-select.png			\
	tool-fuzzy-select.png			\
59
	tool-gradient.png			\
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
	tool-hand.png				\
	tool-heal.png				\
	tool-ink.png				\
	tool-iscissors.png			\
	tool-measure.png			\
	tool-move.png				\
	tool-paintbrush.png			\
	tool-paths.png				\
	tool-paths-anchor.png			\
	tool-paths-control.png			\
	tool-paths-segment.png			\
	tool-pencil.png				\
	tool-perspective.png			\
	tool-polygon-select.png			\
	tool-rect-select.png			\
	tool-resize.png				\
	tool-rotate.png				\
	tool-shear.png				\
	tool-smudge.png				\
	tool-text.png				\
80
	tool-warp.png				\
81
	tool-zoom.png
82

83
COLOR_PICKER_IMAGES = \
84
	cursor-color-picker.png
85

86
EXTRA_DIST = \
Michael Natterer's avatar
Michael Natterer committed
87
	$(CURSOR_IMAGES)			\
88
	gimp-tool-cursors.xcf
89

90
noinst_DATA = \
91 92
	gimp-tool-cursors.gresource.xml		\
	gimp-color-picker-cursors.gresource.xml
93

94 95
CLEANFILES = $(noinst_DATA)

96 97

gimp-tool-cursors.gresource.xml: $(CURSOR_IMAGES) Makefile.am
98
	$(AM_V_GEN) ( rm -f $@; \
99 100 101
	  echo '<?xml version="1.0" encoding="UTF-8"?>' > $@; \
	  echo '<gresources>' >> $@; \
	  echo '  <gresource prefix="/org/gimp/tool-cursors">' >> $@; \
102
	  for image in $(CURSOR_IMAGES); do \
103 104 105 106 107 108 109 110 111 112
	    echo "    <file preprocess=\"to-pixdata\">$$image</file>" >> $@; \
	  done; \
	  echo '  </gresource>' >> $@; \
	  echo '</gresources>' >> $@ )

gimp-color-picker-cursors.gresource.xml: $(CURSOR_IMAGES) Makefile.am
	$(AM_V_GEN) ( rm -f $@; \
	  echo '<?xml version="1.0" encoding="UTF-8"?>' > $@; \
	  echo '<gresources>' >> $@; \
	  echo '  <gresource prefix="/org/gimp/color-picker-cursors">' >> $@; \
113
	  for image in $(COLOR_PICKER_IMAGES); do \
114 115 116
	    echo "    <file preprocess=\"to-pixdata\">$$image</file>" >> $@; \
	  done; \
	  echo '  </gresource>' >> $@; \
117 118 119 120 121
	  echo '  <gresource prefix="/org/gimp/color-picker-cursors-raw">' >> $@; \
	  for image in $(COLOR_PICKER_IMAGES); do \
	    echo "    <file>$$image</file>" >> $@; \
	  done; \
	  echo '  </gresource>' >> $@; \
122
	  echo '</gresources>' >> $@ )