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