[620b2b7] | 1 | ## Process this file with automake to produce Makefile.in |
---|
| 2 | |
---|
[63c2fe8] | 3 | xpm_files = \ |
---|
[ea1ea51] | 4 | aven.xpm \ |
---|
[63c2fe8] | 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 | |
---|
[b4f28e0] | 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) |
---|
[63c2fe8] | 35 | |
---|
| 36 | aven-icons.rc: Makefile.am |
---|
[b4f28e0] | 37 | perl -e 'for (@ARGV) { /(.*)\.rcdata$$/ and $$1 ne "aven" and print "$$1 RCDATA $$_\n" }' \ |
---|
| 38 | $(rcdata_files) > aven-icons.rc |
---|
[63c2fe8] | 39 | |
---|
[d0339a4] | 40 | icondir = $(pkgdatadir)/icons |
---|
[63c2fe8] | 41 | dist_icon_DATA = \ |
---|
[469c47b] | 42 | 3d.svg err.svg pos.svg svx.svg \ |
---|
[ea1ea51] | 43 | 3d.png err.png plt.png pos.png svx.png |
---|
[27b8b59] | 44 | |
---|
[edb6576] | 45 | # tubesprefs.png stationsprefs.png indicatorprefs.png\ |
---|
| 46 | # windowprefs.png gridprefs.png unitsprefs.png \ |
---|
[be891ea] | 47 | # legsprefs.png ctlprefs.png pres-restart.png pres-create.png\ |
---|
[e30041a] | 48 | # pres-record.png pres-finish.png solid-surface.png |
---|
[27b8b59] | 49 | |
---|
[e72b854] | 50 | pixmapsdir = $(datadir)/pixmaps |
---|
[ea1ea51] | 51 | dist_pixmaps_DATA = aven.svg svxedit.png |
---|
[e72b854] | 52 | |
---|
[b8271f8f] | 53 | Aven.iconset.zip: aven.svg |
---|
[87900bb] | 54 | $(SHELL) $(srcdir)/svg2iconsetzip aven.svg Aven.iconset.zip |
---|
[b8271f8f] | 55 | |
---|
[1b207f0] | 56 | 3d.iconset.zip: 3d.svg |
---|
| 57 | $(SHELL) $(srcdir)/svg2iconsetzip 3d.svg 3d.iconset.zip |
---|
| 58 | |
---|
[4488c83] | 59 | pos.iconset.zip: pos.svg |
---|
| 60 | $(SHELL) $(srcdir)/svg2iconsetzip pos.svg pos.iconset.zip |
---|
| 61 | |
---|
[1959b9f] | 62 | svx.iconset.zip: svx.svg |
---|
| 63 | $(SHELL) $(srcdir)/svg2iconsetzip svx.svg svx.iconset.zip |
---|
| 64 | |
---|
[63c2fe8] | 65 | SUFFIXES = .ico .png .svg .iconset.zip .xpm |
---|
[f8576fb] | 66 | |
---|
[87900bb] | 67 | .png.iconset.zip: |
---|
| 68 | $(SHELL) $(srcdir)/png2iconsetzip $< $@ |
---|
[27b8b59] | 69 | |
---|
| 70 | .png.ico: |
---|
[95fa391] | 71 | $(SHELL) $(srcdir)/png2winicon $< $@ |
---|
[b462168] | 72 | |
---|
[63c2fe8] | 73 | .xpm.ico: |
---|
| 74 | $(SHELL) $(srcdir)/xpm2winicon $< $@ |
---|
| 75 | |
---|
[b4f28e0] | 76 | .xpm.rcdata: |
---|
| 77 | $(SHELL) $(srcdir)/xpm2png $< $@ |
---|
| 78 | |
---|
[4cc264e] | 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 |
---|
[f8576fb] | 82 | |
---|
| 83 | MAINTAINERCLEANFILES = $(iconsets) |
---|
[0c2c415] | 84 | |
---|
[b4f28e0] | 85 | BUILT_SOURCES = aven-icons.rc $(rcdata_files) |
---|
[63c2fe8] | 86 | |
---|
[4cc264e] | 87 | EXTRA_DIST = png2winicon png2iconsetzip svg2iconsetzip\ |
---|
[63c2fe8] | 88 | aven-icons.rc\ |
---|
| 89 | $(xpm_files)\ |
---|
[b4f28e0] | 90 | $(rcdata_files)\ |
---|
[4cc264e] | 91 | aven.ico svxedit.ico\ |
---|
| 92 | 3d.ico err.ico plt.ico pos.ico svx.ico\ |
---|
| 93 | $(iconsets) |
---|