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