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

RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data v1.2.17-amended
Last change on this file since b4f28e0 was b4f28e0, checked in by Olly Betts <olly@…>, 9 years ago

lib/icons/Makefile.am,lib/icons/xpm2png,src/mainfrm.cc: Fix display
of icons for toolbar and notebook under WXMSW.

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