| 1 |
bin_PROGRAMS = \ |
| 2 |
canfield \ |
| 3 |
freecell \ |
| 4 |
golf \ |
| 5 |
mastermind \ |
| 6 |
merlin \ |
| 7 |
minesweeper \ |
| 8 |
pegged \ |
| 9 |
solitaire \ |
| 10 |
spider \ |
| 11 |
taipedit \ |
| 12 |
taipei \ |
| 13 |
thornq |
| 14 |
|
| 15 |
noinst_HEADERS = taipeilib.h taipei.h |
| 16 |
|
| 17 |
CLEANFILES = \ |
| 18 |
canfield-img.c canfield-help.c \ |
| 19 |
freecell-img.c freecell-help.c \ |
| 20 |
golf-img.c golf-help.c \ |
| 21 |
mastermind-img.c mastermind-help.c \ |
| 22 |
merlin-img.c merlin-help.c \ |
| 23 |
minesweeper-img.c minesweeper-help.c \ |
| 24 |
pegged-img.c pegged-help.c \ |
| 25 |
solitaire-img.c solitaire-help.c \ |
| 26 |
spider-img.c spider-help.c \ |
| 27 |
taipedit-img.c taipedit-help.c \ |
| 28 |
taipei-img.c taipei-help.c \ |
| 29 |
thornq-img.c thornq-help.c |
| 30 |
|
| 31 |
STRIP = @STRIP@ |
| 32 |
|
| 33 |
AM_CPPFLAGS = -I$(srcdir)/../lib $(X_CFLAGS) @PDA@ |
| 34 |
AM_LDFLAGS = $(X_LIBS) |
| 35 |
|
| 36 |
canfield_SOURCES = canfield.c canfield-img.c |
| 37 |
freecell_SOURCES = freecell.c freecell-help.c freecell-img.c |
| 38 |
golf_SOURCES = golf.c golf-help.c golf-img.c |
| 39 |
mastermind_SOURCES = mastermind.c mastermind-help.c mastermind-img.c |
| 40 |
merlin_SOURCES = merlin.c merlin-help.c merlin-img.c |
| 41 |
minesweeper_SOURCES = minesweeper.c minesweeper-help.c minesweeper-img.c |
| 42 |
pegged_SOURCES = pegged.c pegged-help.c pegged-img.c |
| 43 |
solitaire_SOURCES = solitaire.c solitaire-help.c solitaire-img.c |
| 44 |
spider_SOURCES = spider.c spider-help.c spider-img.c |
| 45 |
taipedit_SOURCES = taipedit.c taipeilib.c taipedit-help.c taipedit-img.c |
| 46 |
taipei_SOURCES = taipei.c taipeilib.c taipei-help.c taipei-img.c |
| 47 |
thornq_SOURCES = thornq.c thornq-help.c thornq-img.c |
| 48 |
|
| 49 |
BUILT_SOURCES = canfield-img.c freecell-help.c freecell-img.c golf-help.c golf-img.c \ |
| 50 |
mastermind-help.c mastermind-img.c merlin-help.c merlin-img.c \ |
| 51 |
minesweeper-help.c minesweeper-img.c pegged-help.c pegged-img.c \ |
| 52 |
solitaire-help.c solitaire-img.c spider-help.c spider-img.c \ |
| 53 |
taipedit-help.c taipedit-img.c taipei-help.c taipei-img.c |
| 54 |
|
| 55 |
LDADD = ../lib/libcards.la -lpng -lz -lX11 -lm |
| 56 |
|
| 57 |
EXTRA_DIST = $(wildcard *.png) $(wildcard *.tp) |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
canfield-img.c : canfield.png ../lib/make-imglib Makefile.am |
| 62 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ canfield.png |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
freecell-img.c : freecell.png ../lib/make-imglib Makefile.am |
| 67 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ freecell.png |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
golf-img.c : golf.png golf-arrow.png golf-noarrow.png ../lib/make-imglib Makefile.am |
| 72 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ golf.png golf-arrow.png golf-noarrow.png |
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
MINESWEEPER_PNGS = minesweeper.png minesweeper-x.png minesweeper-t.png \ |
| 77 |
minesweeper-c12.png minesweeper-c24.png minesweeper-c36.png \ |
| 78 |
minesweeper-c48.png |
| 79 |
|
| 80 |
minesweeper-img.c : $(MINESWEEPER_PNGS) ../lib/make-imglib Makefile.am |
| 81 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ $(MINESWEEPER_PNGS) |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
merlin-img.c : merlin.png merlin-c.png merlin-b.png ../lib/make-imglib Makefile.am |
| 86 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ merlin.png merlin-c.png merlin-b.png |
| 87 |
|
| 88 |
MASTERMIND_PNGS=mastermind-b.png mastermind-c.png mastermind-e.png \ |
| 89 |
mastermind-eb.png mastermind-g.png mastermind-k.png \ |
| 90 |
mastermind-o.png mastermind-p.png mastermind-r.png \ |
| 91 |
mastermind-w.png mastermind-y.png mastermind.png |
| 92 |
|
| 93 |
mastermind-img.c : $(MASTERMIND_PNGS) ../lib/make-imglib Makefile.am |
| 94 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ $(MASTERMIND_PNGS) |
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
pegged-img.c : pegged.png pegged-h.png pegged-p.png ../lib/make-imglib Makefile.am |
| 99 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ pegged.png pegged-h.png pegged-p.png |
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
solitaire-img.c : solitaire.png ../lib/make-imglib Makefile.am |
| 104 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ solitaire.png |
| 105 |
|
| 106 |
|
| 107 |
spider-img.c : spider.png golf-arrow.png golf-noarrow.png ../lib/make-imglib Makefile.am |
| 108 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ spider.png golf-arrow.png golf-noarrow.png |
| 109 |
|
| 110 |
|
| 111 |
taipei-img.c : ../lib/make-imglib taipei.png taipei-tiles.png Makefile.am |
| 112 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ taipei taipei-tiles |
| 113 |
|
| 114 |
TAIPEDITPNG = taipedit.png taipedit-bu.png taipedit-bs.png taipedit-bt.png taipei-tiles.png |
| 115 |
|
| 116 |
taipedit-img.c : ../lib/make-imglib $(TAIPEDITPNG) Makefile.am |
| 117 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ $(TAIPEDITPNG) |
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
THORNQ_PNG = thornq.png thornq-arrow.png thornq-noarrow.png |
| 122 |
thornq-img.c : $(THORNQ_PNG) ../lib/make-imglib Makefile.am |
| 123 |
../lib/make-imglib -i $(srcdir) -n appimglib - $@ $(THORNQ_PNG) |
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
%-help.c : %.html ../lib/text2c |
| 128 |
../lib/text2c $*_help < $< > $@ |
| 129 |
|
| 130 |
strip : |
| 131 |
$(STRIP) $(bin_PROGRAMS) |
| 132 |
|
| 133 |
bin-tar : |
| 134 |
$(STRIP) $(bin_PROGRAMS) |
| 135 |
tar cvf - $(bin_PROGRAMS) | gzip -9 > ../ace-bin.tar.gz |