source: git/lib/icons/Makefile.am @ becfd8a

RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change on this file since becfd8a was 27c74a9, checked in by Olly Betts <olly@…>, 9 years ago

lib/INSTALL.OSX,lib/icons/Makefile.am,lib/icons/plt.svg: Add SVG
version of .plt icon.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1## Process this file with automake to produce Makefile.in
2
3xpm_files = \
4        aven.xpm \
5        log.xpm \
6        open.xpm \
7        open_pres.xpm \
8        rotation.xpm \
9        plan.xpm \
10        elevation.xpm \
11        defaults.xpm \
12        names.xpm \
13        crosses.xpm \
14        entrances.xpm \
15        fixed_pts.xpm \
16        exported_pts.xpm \
17        ug_legs.xpm \
18        surface_legs.xpm \
19        tubes.xpm \
20        pres_frew.xpm \
21        pres_rew.xpm \
22        pres_go_back.xpm \
23        pres_pause.xpm \
24        pres_go.xpm \
25        pres_ff.xpm \
26        pres_fff.xpm \
27        pres_stop.xpm \
28        find.xpm \
29        hideresults.xpm \
30        survey_tree.xpm \
31        pres_tree.xpm
32
33# These ".rcdata" files are PNGs, but we end up with a loop of implicit rules
34# if we call them ".png", and the .rc file doesn't care about the extension.
35rcdata_files = $(xpm_files:.xpm=.rcdata)
36
37aven-icons.rc: Makefile.am
38        perl -e 'for (@ARGV) { /(.*)\.rcdata$$/ and $$1 ne "aven" and print "$$1 RCDATA $$_\n" }' \
39          $(rcdata_files) > aven-icons.rc
40
41icondir = $(pkgdatadir)/icons
42dist_icon_DATA = \
43        3d.svg err.svg plt.svg pos.svg svx.svg \
44        3d.png err.png plt.png pos.png svx.png
45
46#       tubesprefs.png stationsprefs.png indicatorprefs.png\
47#       windowprefs.png gridprefs.png unitsprefs.png \
48#       legsprefs.png ctlprefs.png pres-restart.png pres-create.png\
49#       pres-record.png pres-finish.png solid-surface.png
50
51pixmapsdir = $(datadir)/pixmaps
52dist_pixmaps_DATA = aven.svg svxedit.png
53
54Aven.iconset.zip: aven.svg
55        $(SHELL) $(srcdir)/svg2iconsetzip aven.svg Aven.iconset.zip
56
573d.iconset.zip: 3d.svg
58        $(SHELL) $(srcdir)/svg2iconsetzip 3d.svg 3d.iconset.zip
59
60pos.iconset.zip: pos.svg
61        $(SHELL) $(srcdir)/svg2iconsetzip pos.svg pos.iconset.zip
62
63svx.iconset.zip: svx.svg
64        $(SHELL) $(srcdir)/svg2iconsetzip svx.svg svx.iconset.zip
65
66plt.iconset.zip: plt.svg
67        $(SHELL) $(srcdir)/svg2iconsetzip plt.svg plt.iconset.zip
68
69SUFFIXES = .ico .png .svg .iconset.zip .xpm
70
71.png.iconset.zip:
72        $(SHELL) $(srcdir)/png2iconsetzip $< $@
73
74.png.ico:
75        $(SHELL) $(srcdir)/png2winicon $< $@
76
77.xpm.ico:
78        $(SHELL) $(srcdir)/xpm2winicon $< $@
79
80.xpm.rcdata:
81        $(SHELL) $(srcdir)/xpm2png $< $@
82
83iconsets = Aven.iconset.zip svxedit.iconset.zip\
84        3d.iconset.zip err.iconset.zip plt.iconset.zip pos.iconset.zip\
85        svx.iconset.zip
86
87MAINTAINERCLEANFILES = $(iconsets)
88
89BUILT_SOURCES = aven-icons.rc $(rcdata_files)
90
91EXTRA_DIST = png2winicon png2iconsetzip svg2iconsetzip\
92        aven-icons.rc\
93        $(xpm_files)\
94        $(rcdata_files)\
95        aven.ico svxedit.ico\
96        3d.ico err.ico plt.ico pos.ico svx.ico\
97        $(iconsets)
Note: See TracBrowser for help on using the repository browser.