1 LIBSTDCXX_VERSION = @LIBSTDCXX_VERSION@
19 $(EPS_IMAGES:%.eps=gen-images/%.png)
21 DEMOS = $(patsubst demo/%.cc,demo/build/%,$(wildcard demo/*.cc))
23 GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
27 $(EPS_IMAGES18:%.eps=gen-images/%.png): gen-images/%.png: images/%.eps
29 $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<
31 $(EPS_IMAGES27:%.eps=gen-images/%.png): gen-images/%.png: images/%.eps
33 $(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<
35 $(EPS_IMAGES36:%.eps=gen-images/%.png): gen-images/%.png: images/%.eps
37 $(GS_COMMAND) -sDEVICE=pngalpha -r36 -sOutputFile=$@ $<
39 html: Doxyfile-gen $(PNG_IMAGES)
47 sed -e 's/@version@/'`./scripts/chg-len.py`'/g' \
48 -e 's/@lemon_doc_prefix@/@make_lemon_doc_prefix@/g' \
49 < Doxyfile.in >Doxyfile
59 wget -O libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-$(LIBSTDCXX_VERSION)/libstdc++.tag && \
60 mv libstdc++.tag.tmp libstdc++.tag || \
62 wget -O lemon.tag.tmp @make_lemon_doc_prefix@/lemon.tag && \
63 mv lemon.tag.tmp lemon.tag || \
67 $(DEMOS): demo/build/%: demo/%.cc
69 g++ -o $@ @lemon_cflags@ @lemon_libs@ \
70 -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy \
71 -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings \
72 -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align \
73 -Wsign-promo -Woverloaded-virtual -ansi -fno-strict-aliasing \
74 -Wold-style-cast -Wno-unknown-pragmas \
78 .PHONY: update-external-tags html demos Doxyfile-gen