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

3
CURSOR_IMAGES = \
4
	cursor-bad.png				\
5
	cursor-bad-x2.png			\
6
	cursor-color-picker.png			\
7
	cursor-color-picker-x2.png		\
8
	cursor-corner-bottom-left.png		\
9
	cursor-corner-bottom-left-x2.png	\
10
	cursor-corner-bottom-right.png		\
11
	cursor-corner-bottom-right-x2.png	\
12
	cursor-corner-bottom.png		\
13
	cursor-corner-bottom-x2.png		\
14
	cursor-corner-left.png			\
15
	cursor-corner-left-x2.png		\
16
	cursor-corner-right.png			\
17
	cursor-corner-right-x2.png		\
18
	cursor-corner-top-left.png		\
19
	cursor-corner-top-left-x2.png		\
20
	cursor-corner-top-right.png		\
21
	cursor-corner-top-right-x2.png		\
22
	cursor-corner-top.png			\
23
	cursor-corner-top-x2.png		\
24
	cursor-crosshair-small.png		\
25
	cursor-crosshair-small-x2.png		\
26
	cursor-crosshair.png			\
27
	cursor-crosshair-x2.png			\
28
	cursor-mouse.png			\
29
	cursor-mouse-x2.png			\
30
	cursor-move.png				\
31
	cursor-move-x2.png			\
32
	cursor-none.png				\
33
	cursor-none-x2.png			\
34
	cursor-side-bottom-left.png		\
35
	cursor-side-bottom-left-x2.png		\
36
	cursor-side-bottom-right.png		\
37
	cursor-side-bottom-right-x2.png		\
38
	cursor-side-bottom.png			\
39
	cursor-side-bottom-x2.png		\
40
	cursor-side-left.png			\
41
	cursor-side-left-x2.png			\
42
	cursor-side-right.png			\
43
	cursor-side-right-x2.png		\
44
	cursor-side-top-left.png		\
45
	cursor-side-top-left-x2.png		\
46
	cursor-side-top-right.png		\
47
	cursor-side-top-right-x2.png		\
48
	cursor-side-top.png			\
49
	cursor-side-top-x2.png			\
50
	cursor-zoom.png				\
51
	cursor-zoom-x2.png			\
52
	\
53
	modifier-anchor.png			\
54
	modifier-anchor-x2.png			\
55
	modifier-background.png			\
56 57 58
	modifier-background-x2.png		\
	modifier-bad.png			\
	modifier-bad-x2.png			\
59
	modifier-control.png			\
60
	modifier-control-x2.png			\
61
	modifier-foreground.png			\
62
	modifier-foreground-x2.png		\
63
	modifier-intersect.png			\
64
	modifier-intersect-x2.png		\
65
	modifier-join.png			\
66
	modifier-join-x2.png			\
67
	modifier-minus.png			\
68
	modifier-minus-x2.png			\
69
	modifier-move.png			\
70
	modifier-move-x2.png			\
71
	modifier-pattern.png			\
72
	modifier-pattern-x2.png			\
73
	modifier-plus.png			\
74
	modifier-plus-x2.png			\
75
	modifier-resize.png			\
76
	modifier-resize-x2.png			\
77
	modifier-rotate.png			\
78
	modifier-rotate-x2.png			\
79
	modifier-select.png			\
80
	modifier-select-x2.png			\
81
	modifier-zoom.png			\
82
	modifier-zoom-x2.png			\
83
	\
84
	tool-airbrush.png			\
85
	tool-airbrush-x2.png			\
86
	tool-blur.png				\
87
	tool-blur-x2.png			\
88
	tool-bucket-fill.png			\
89
	tool-bucket-fill-x2.png			\
90
	tool-burn.png				\
91
	tool-burn-x2.png			\
92
	tool-clone.png				\
93
	tool-clone-x2.png			\
94
	tool-color-picker.png			\
95
	tool-color-picker-x2.png		\
96
	tool-crop.png				\
97
	tool-crop-x2.png			\
98
	tool-dodge.png				\
99
	tool-dodge-x2.png			\
100
	tool-ellipse-select.png			\
101
	tool-ellipse-select-x2.png		\
102
	tool-eraser.png				\
103
	tool-eraser-x2.png			\
104
	tool-flip-horizontal.png		\
105
	tool-flip-horizontal-x2.png		\
106
	tool-flip-vertical.png			\
107
	tool-flip-vertical-x2.png		\
108
	tool-free-select.png			\
109
	tool-free-select-x2.png			\
110
	tool-fuzzy-select.png			\
111
	tool-fuzzy-select-x2.png		\
112
	tool-gradient.png			\
113
	tool-gradient-x2.png			\
114
	tool-hand.png				\
115
	tool-hand-x2.png			\
116
	tool-heal.png				\
117
	tool-heal-x2.png			\
118
	tool-ink.png				\
119
	tool-ink-x2.png				\
120
	tool-iscissors.png			\
121
	tool-iscissors-x2.png			\
122
	tool-measure.png			\
123
	tool-measure-x2.png			\
124
	tool-move.png				\
125
	tool-move-x2.png			\
126
	tool-paintbrush.png			\
127
	tool-paintbrush-x2.png			\
128
	tool-paths-anchor.png			\
129
	tool-paths-anchor-x2.png		\
130
	tool-paths-control.png			\
131
	tool-paths-control-x2.png		\
132
	tool-paths-segment.png			\
133 134 135
	tool-paths-segment-x2.png		\
	tool-paths.png				\
	tool-paths-x2.png			\
136
	tool-pencil.png				\
137
	tool-pencil-x2.png			\
138
	tool-perspective.png			\
139
	tool-perspective-x2.png			\
140
	tool-polygon-select.png			\
141
	tool-polygon-select-x2.png		\
142
	tool-rect-select.png			\
143
	tool-rect-select-x2.png			\
144
	tool-resize.png				\
145
	tool-resize-x2.png			\
146
	tool-rotate.png				\
147
	tool-rotate-x2.png			\
148
	tool-shear.png				\
149
	tool-shear-x2.png			\
150
	tool-smudge.png				\
151
	tool-smudge-x2.png			\
152
	tool-text.png				\
153
	tool-text-x2.png			\
154
	tool-warp.png				\
155 156 157
	tool-warp-x2.png			\
	tool-zoom.png				\
	tool-zoom-x2.png
158

159
COLOR_PICKER_IMAGES = \
160 161
	cursor-color-picker.png			\
	cursor-color-picker-x2.png
162

163
EXTRA_DIST = \
Michael Natterer's avatar
Michael Natterer committed
164
	$(CURSOR_IMAGES)			\
165 166
	gimp-tool-cursors.xcf			\
	gimp-tool-cursors-x2.xcf
167

168
noinst_DATA = \
169 170
	gimp-tool-cursors.gresource.xml		\
	gimp-color-picker-cursors.gresource.xml
171

172 173
CLEANFILES = $(noinst_DATA)

174 175

gimp-tool-cursors.gresource.xml: $(CURSOR_IMAGES) Makefile.am
176
	$(AM_V_GEN) ( rm -f $@; \
177 178 179
	  echo '<?xml version="1.0" encoding="UTF-8"?>' > $@; \
	  echo '<gresources>' >> $@; \
	  echo '  <gresource prefix="/org/gimp/tool-cursors">' >> $@; \
180
	  for image in $(CURSOR_IMAGES); do \
181 182 183 184 185 186 187 188 189 190
	    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">' >> $@; \
191
	  for image in $(COLOR_PICKER_IMAGES); do \
192 193 194
	    echo "    <file preprocess=\"to-pixdata\">$$image</file>" >> $@; \
	  done; \
	  echo '  </gresource>' >> $@; \
195 196 197 198 199
	  echo '  <gresource prefix="/org/gimp/color-picker-cursors-raw">' >> $@; \
	  for image in $(COLOR_PICKER_IMAGES); do \
	    echo "    <file>$$image</file>" >> $@; \
	  done; \
	  echo '  </gresource>' >> $@; \
200
	  echo '</gresources>' >> $@ )