source: git/lib/icons/Makefile.am @ 4baea3a

RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereostereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change on this file since 4baea3a was 63c2fe8, checked in by Olly Betts <olly@…>, 10 years ago
  • .gitignore,lib/icons/,src/aven.rc,src/mainfrm.cc: Rather than loading

all the toolbar and notebook icons from PNG files on disk, compile
them into the aven binary. On most platforms, as XPMs; on MSW as
.ico files via a generated .rc file.

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