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

Sven Neumann's avatar
Sven Neumann committed
3
SUBDIRS = preferences
4 5 6

themedatadir = $(gimpdatadir)/themes/Default/images

Sven Neumann's avatar
Sven Neumann committed
7

8 9 10
## A warning Wilber that is used from the core

CORE_IMAGES = \
11
	stock-question-64.png
12 13

CORE_VARIABLES = \
14
	stock_question_64 $(srcdir)/stock-question-64.png
15 16


Sven Neumann's avatar
Sven Neumann committed
17 18
## Wilber icons for the window managaer, compiled in

19 20 21 22 23
WILBER_IMAGES = \
	stock-wilber-16.png	\
	stock-wilber-32.png	\
	stock-wilber-48.png	\
	stock-wilber-64.png
Sven Neumann's avatar
Sven Neumann committed
24

25
WILBER_VARIABLES = \
26 27 28
	stock_wilber_16  $(srcdir)/stock-wilber-16.png	\
	stock_wilber_32  $(srcdir)/stock-wilber-32.png	\
	stock_wilber_48  $(srcdir)/stock-wilber-48.png	\
29
	stock_wilber_64  $(srcdir)/stock-wilber-64.png
Sven Neumann's avatar
Sven Neumann committed
30 31 32 33


## Below are compiled in stock icons 

34
STOCK_MENU_IMAGES = \
35 36 37
	stock-cap-butt-16.png				\
	stock-cap-round-16.png				\
	stock-cap-square-16.png				\
38
	stock-center-16.png				\
39 40 41 42 43
	stock-channel-16.png				\
	stock-channel-alpha-16.png			\
	stock-channel-blue-16.png			\
	stock-channel-gray-16.png			\
	stock-channel-green-16.png			\
44
	stock-channel-indexed-16.png			\
45 46
	stock-channel-red-16.png			\
	stock-channels-16.png				\
47
	stock-close-12.png				\
48 49 50
	stock-convert-grayscale-16.png			\
	stock-convert-indexed-16.png			\
	stock-convert-rgb-16.png			\
51
	stock-cursor-16.png				\
52 53
	stock-default-colors-12.png			\
	stock-device-status-16.png			\
54
	stock-display-filter-16.png			\
55 56 57
	stock-eye-12.png				\
	stock-flip-horizontal-16.png			\
	stock-flip-vertical-16.png			\
58
	stock-floating-selection-16.png			\
59 60 61 62 63 64 65 66 67 68 69 70
	stock-gradient-bilinear-16.png			\
	stock-gradient-conical-asymmetric-16.png	\
	stock-gradient-conical-symmetric-16.png		\
	stock-gradient-linear-16.png			\
	stock-gradient-radial-16.png			\
	stock-gradient-shapeburst-angular-16.png	\
	stock-gradient-shapeburst-dimpled-16.png	\
	stock-gradient-shapeburst-spherical-16.png	\
	stock-gradient-spiral-anticlockwise-16.png	\
	stock-gradient-spiral-clockwise-16.png		\
	stock-gradient-square-16.png			\
	stock-grid-16.png				\
71
	stock-histogram-16.png				\
72 73
	stock-histogram-linear-16.png			\
	stock-histogram-logarithmic-16.png		\
74 75 76
	stock-image-16.png				\
	stock-images-16.png				\
	stock-info-16.png				\
77
	stock-indexed-palette-16.png			\
78
	stock-invert-16.png				\
79 80 81
	stock-join-bevel-16.png				\
	stock-join-miter-16.png				\
	stock-join-round-16.png				\
82 83
	stock-landscape-16.png				\
	stock-layer-16.png				\
84
	stock-layer-mask-16.png				\
85 86 87
	stock-layer-to-imagesize-16.png			\
	stock-layers-16.png				\
	stock-list-16.png				\
88 89
	stock-menu-left-12.png				\
	stock-menu-right-12.png				\
90
	stock-merge-down-16.png				\
91
	stock-move-to-screen-16.png			\
92
	stock-navigation-16.png				\
93
	stock-path-16.png				\
94 95 96
	stock-paths-16.png				\
	stock-plugin-16.png				\
	stock-portrait-16.png				\
97
	stock-print-resolution-16.png			\
98 99 100 101 102 103 104
	stock-qmask-off-16.png				\
	stock-qmask-on-16.png				\
	stock-reshow-filter-16.png			\
	stock-resize-16.png				\
	stock-rotate-180-16.png				\
	stock-rotate-270-16.png				\
	stock-rotate-90-16.png				\
105
	stock-sample-point-16.png			\
106
	stock-scale-16.png				\
107
	stock-selection-16.png				\
108 109 110 111
	stock-selection-all-16.png			\
	stock-selection-grow-16.png			\
	stock-selection-none-16.png			\
	stock-selection-shrink-16.png			\
112
	stock-selection-border-16.png			\
113 114 115
	stock-shape-circle-16.png			\
	stock-shape-diamond-16.png			\
	stock-shape-square-16.png			\
116 117 118 119 120
	stock-swap-colors-12.png			\
	stock-template-16.png				\
	stock-text-layer-16.png				\
	stock-toilet-paper-16.png			\
	stock-tool-options-16.png			\
121
	stock-tools-16.png				\
122
	stock-transparency-16.png			\
123
	stock-undo-history-16.png			\
124 125 126
	stock-video-16.png				\
	stock-warning-16.png				\
	stock-wilber-16.png				\
127 128
	stock-web-16.png				\
	stock-zoom-follow-window-12.png
129

130
STOCK_BUTTON_IMAGES = \
131
	stock-anchor-16.png			\
132
	stock-center-24.png			\
133
	stock-channel-24.png			\
134 135 136 137
	stock-channel-alpha-24.png		\
	stock-channel-blue-24.png		\
	stock-channel-gray-24.png		\
	stock-channel-green-24.png		\
138
	stock-channel-indexed-24.png		\
139
	stock-channel-red-24.png		\
140
	stock-channels-24.png			\
141
	stock-char-picker-22.png		\
142 143 144
	stock-color-picker-black-18.png		\
	stock-color-picker-gray-18.png		\
	stock-color-picker-white-18.png		\
145
	stock-color-pick-from-screen-16.png	\
146
	stock-color-triangle-16.png		\
147
	stock-cursor-24.png			\
148 149
	stock-curve-free-16.png			\
	stock-curve-smooth-16.png		\
150
	stock-device-status-24.png		\
151
	stock-display-filter-24.png		\
152 153 154
	stock-duplicate-16.png			\
	stock-edit-16.png			\
	stock-eye-20.png			\
155
	stock-floating-selection-24.png		\
156 157 158 159 160 161 162 163
	stock-gravity-east-24.png		\
	stock-gravity-north-24.png		\
	stock-gravity-north-east-24.png		\
	stock-gravity-north-west-24.png		\
	stock-gravity-south-24.png		\
	stock-gravity-south-east-24.png		\
	stock-gravity-south-west-24.png		\
	stock-gravity-west-24.png		\
164
	stock-hcenter-24.png			\
165 166
	stock-hchain-24.png			\
	stock-hchain-broken-24.png		\
167
	stock-histogram-22.png			\
168
	stock-image-24.png			\
169
	stock-images-24.png			\
170
	stock-indexed-palette-24.png		\
171
	stock-info-24.png			\
172
	stock-layer-24.png			\
173
	stock-layer-mask-24.png			\
174 175
	stock-layers-24.png			\
	stock-letter-spacing-22.png		\
176
	stock-line-spacing-22.png		\
177
	stock-linked-12.png			\
178
	stock-linked-20.png			\
179
	stock-move-to-screen-24.png		\
180 181
	stock-paste-as-new-16.png		\
	stock-paste-into-16.png			\
182
	stock-path-stroke-16.png		\
183
	stock-path-22.png			\
184
	stock-paths-22.png			\
185
	stock-print-resolution-24.png		\
186
	stock-reset-16.png			\
187
	stock-sample-point-24.png		\
188 189
	stock-selection-add-16.png		\
	stock-selection-intersect-16.png	\
190
	stock-selection-replace-16.png		\
191
	stock-selection-stroke-16.png		\
192
	stock-selection-subtract-16.png		\
193
	stock-selection-to-channel-16.png	\
194
	stock-selection-to-path-16.png		\
195 196
	stock-text-dir-ltr-24.png		\
	stock-text-dir-rtl-24.png		\
197
	stock-template-24.png			\
198
	stock-text-layer-24.png			\
Sven Neumann's avatar
Sven Neumann committed
199
	stock-toilet-paper-24.png		\
200 201
	stock-tool-options-24.png		\
	stock-tools-24.png			\
202
	stock-transparency-24.png		\
203
	stock-vcenter-24.png			\
204 205
	stock-vchain-24.png			\
	stock-vchain-broken-24.png		\
206
	stock-video-24.png			\
207
	stock-undo-history-24.png		\
208
	stock-warning-24.png			\
209
	stock-web-24.png
Sven Neumann's avatar
Sven Neumann committed
210

211 212
STOCK_DND_IMAGES = \
	stock-channel-32.png			\
213
	stock-channel-alpha-32.png		\
214 215 216
	stock-channel-blue-32.png		\
	stock-channel-gray-32.png		\
	stock-channel-green-32.png		\
217
	stock-channel-indexed-32.png		\
218
	stock-channel-red-32.png		\
219
	stock-floating-selection-32.png		\
220 221
	stock-image-32.png			\
	stock-layer-32.png			\
222
	stock-layer-mask-32.png			\
223 224
	stock-text-layer-32.png

225
STOCK_DIALOG_IMAGES = \
226
	stock-channel-48.png			\
227
	stock-channel-alpha-48.png		\
228 229 230
	stock-channel-blue-48.png		\
	stock-channel-gray-48.png		\
	stock-channel-green-48.png		\
231
	stock-channel-indexed-48.png		\
232
	stock-channel-red-48.png		\
233
	stock-error-64.png			\
234
	stock-floating-selection-48.png		\
235
	stock-frame-64.png			\
236
	stock-image-48.png			\
237
	stock-info-64.png			\
238
	stock-layer-48.png			\
239
	stock-layer-mask-48.png			\
240
	stock-question-64.png			\
241
	stock-text-layer-48.png			\
242
	stock-texture-64.png			\
243 244 245
	stock-warning-64.png			\
	stock-wilber-64.png			\
	stock-wilber-eek-64.png
246

247
STOCK_TOOL_IMAGES = \
248
	tools/stock-tool-airbrush-16.png		\
249
	tools/stock-tool-airbrush-22.png		\
250
	tools/stock-tool-blend-16.png			\
251
	tools/stock-tool-blend-22.png			\
252
	tools/stock-tool-blur-16.png			\
253
	tools/stock-tool-blur-22.png			\
254
	tools/stock-tool-brightness-contrast-16.png	\
255
	tools/stock-tool-brightness-contrast-22.png	\
256
	tools/stock-tool-bucket-fill-16.png		\
257
	tools/stock-tool-bucket-fill-22.png		\
258
	tools/stock-tool-by-color-select-16.png		\
259
	tools/stock-tool-by-color-select-22.png		\
260
	tools/stock-tool-clone-16.png			\
261
	tools/stock-tool-clone-22.png			\
262
	tools/stock-tool-color-balance-16.png		\
263
	tools/stock-tool-color-balance-22.png		\
264
	tools/stock-tool-color-picker-16.png		\
265
	tools/stock-tool-color-picker-22.png		\
266 267
	tools/stock-tool-colorize-16.png		\
	tools/stock-tool-colorize-22.png		\
268
	tools/stock-tool-crop-16.png			\
269
	tools/stock-tool-crop-22.png			\
270
	tools/stock-tool-curves-16.png			\
271
	tools/stock-tool-curves-22.png			\
272
	tools/stock-tool-dodge-16.png			\
273
	tools/stock-tool-dodge-22.png			\
274
	tools/stock-tool-ellipse-select-16.png		\
275
	tools/stock-tool-ellipse-select-22.png		\
276
	tools/stock-tool-eraser-16.png			\
277
	tools/stock-tool-eraser-22.png			\
278
	tools/stock-tool-flip-16.png			\
279
	tools/stock-tool-flip-22.png			\
280
	tools/stock-tool-free-select-16.png		\
281
	tools/stock-tool-free-select-22.png		\
282 283
	tools/stock-tool-foreground-select-16.png	\
	tools/stock-tool-foreground-select-22.png	\
284
	tools/stock-tool-fuzzy-select-16.png		\
285
	tools/stock-tool-fuzzy-select-22.png		\
286
	tools/stock-tool-hue-saturation-16.png		\
287
	tools/stock-tool-hue-saturation-22.png		\
288
	tools/stock-tool-ink-16.png			\
289
	tools/stock-tool-ink-22.png			\
290
	tools/stock-tool-iscissors-16.png		\
291
	tools/stock-tool-iscissors-22.png		\
292
	tools/stock-tool-levels-16.png			\
293
	tools/stock-tool-levels-22.png			\
294
	tools/stock-tool-measure-16.png			\
295
	tools/stock-tool-measure-22.png			\
296
	tools/stock-tool-move-16.png			\
297
	tools/stock-tool-move-22.png			\
298
	tools/stock-tool-paintbrush-16.png		\
299
	tools/stock-tool-paintbrush-22.png		\
300 301
	tools/stock-tool-path-16.png			\
	tools/stock-tool-path-22.png			\
302
	tools/stock-tool-pencil-16.png			\
303
	tools/stock-tool-pencil-22.png			\
304
	tools/stock-tool-perspective-16.png		\
305
	tools/stock-tool-perspective-22.png		\
306
	tools/stock-tool-posterize-16.png		\
307
	tools/stock-tool-posterize-22.png		\
308
	tools/stock-tool-rect-select-16.png		\
309
	tools/stock-tool-rect-select-22.png		\
310
	tools/stock-tool-rotate-16.png			\
311
	tools/stock-tool-rotate-22.png			\
312
	tools/stock-tool-scale-16.png			\
313
	tools/stock-tool-scale-22.png			\
314
	tools/stock-tool-shear-16.png			\
315
	tools/stock-tool-shear-22.png			\
316
	tools/stock-tool-smudge-16.png			\
317
	tools/stock-tool-smudge-22.png			\
318
	tools/stock-tool-text-16.png			\
319
	tools/stock-tool-text-22.png			\
320
	tools/stock-tool-threshold-16.png		\
321
	tools/stock-tool-threshold-22.png		\
322
	tools/stock-tool-zoom-16.png			\
323
	tools/stock-tool-zoom-22.png
324

Sven Neumann's avatar
Sven Neumann committed
325 326
STOCK_IMAGES = \
	$(STOCK_MENU_IMAGES) 	\
327
	$(STOCK_BUTTON_IMAGES)	\
328
	$(STOCK_DND_IMAGES)	\
329 330
	$(STOCK_DIALOG_IMAGES)	\
	$(STOCK_TOOL_IMAGES)
Sven Neumann's avatar
Sven Neumann committed
331

332
themedata_DATA = $(STOCK_IMAGES)
333

334
EXTRA_DIST = \
335 336 337 338
	$(themedata_DATA)	\
	$(CORE_IMAGES)		\
	$(WILBER_IMAGES)	\
	gimp-dialog-icons.xcf.gz\
339
	makefile.msc
Sven Neumann's avatar
Sven Neumann committed
340 341


342 343 344 345 346
noinst_DATA = \
	gimp-core-pixbufs.h	\
	gimp-stock-pixbufs.h	\
	gimp-wilber-pixbufs.h

Sven Neumann's avatar
Sven Neumann committed
347 348
CLEANFILES = $(noinst_DATA) stock-icons.list

349

Sven Neumann's avatar
Sven Neumann committed
350 351 352
stock-icons.list: $(STOCK_IMAGES) Makefile.am
	( rm -f $@; \
          for image in $(STOCK_IMAGES); do \
353
            echo $$image | \
Sven Neumann's avatar
Sven Neumann committed
354 355 356 357
              sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
	    echo "  $(srcdir)/$$image" >> $@; \
	  done )

358 359 360
$(srcdir)/gimp-core-pixbufs.h: $(CORE_IMAGES) Makefile.am
	$(GDK_PIXBUF_CSOURCE) --raw --build-list $(CORE_VARIABLES) > $(@F)

361
$(srcdir)/gimp-stock-pixbufs.h: stock-icons.list
362
	$(GDK_PIXBUF_CSOURCE) --raw --build-list `cat stock-icons.list` > $(@F)
Sven Neumann's avatar
Sven Neumann committed
363

364
$(srcdir)/gimp-wilber-pixbufs.h: $(WILBER_IMAGES) Makefile.am
365
	$(GDK_PIXBUF_CSOURCE) --raw --build-list $(WILBER_VARIABLES) > $(@F)