1 | ## Process this file with automake to produce Makefile.in |
---|
2 | |
---|
3 | xpm_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. |
---|
34 | rcdata_files = $(xpm_files:.xpm=.rcdata) |
---|
35 | |
---|
36 | aven-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 | |
---|
40 | icondir = $(pkgdatadir)/icons |
---|
41 | dist_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 | |
---|
50 | pixmapsdir = $(datadir)/pixmaps |
---|
51 | dist_pixmaps_DATA = aven.svg svxedit.png |
---|
52 | |
---|
53 | Aven.iconset.zip: aven.svg |
---|
54 | $(SHELL) $(srcdir)/svg2iconsetzip aven.svg Aven.iconset.zip |
---|
55 | |
---|
56 | 3d.iconset.zip: 3d.svg |
---|
57 | $(SHELL) $(srcdir)/svg2iconsetzip 3d.svg 3d.iconset.zip |
---|
58 | |
---|
59 | pos.iconset.zip: pos.svg |
---|
60 | $(SHELL) $(srcdir)/svg2iconsetzip pos.svg pos.iconset.zip |
---|
61 | |
---|
62 | svx.iconset.zip: svx.svg |
---|
63 | $(SHELL) $(srcdir)/svg2iconsetzip svx.svg svx.iconset.zip |
---|
64 | |
---|
65 | SUFFIXES = .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 | |
---|
79 | iconsets = Aven.iconset.zip svxedit.iconset.zip\ |
---|
80 | 3d.iconset.zip err.iconset.zip plt.iconset.zip pos.iconset.zip\ |
---|
81 | svx.iconset.zip |
---|
82 | |
---|
83 | MAINTAINERCLEANFILES = $(iconsets) |
---|
84 | |
---|
85 | BUILT_SOURCES = aven-icons.rc $(rcdata_files) |
---|
86 | |
---|
87 | EXTRA_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) |
---|