5 export PERL_HASH_SEED=1
7 # PLAG_DEBUG ?= $(PLAG) # effectively
8 # PLAG_RELEASE ?= $(PLAG) # ie caller may set these
9 PLAG_DIR ?= ../plag-mangle
11 USE_PLAG_DEBUG := $(shell ./find-plag \
12 debug:release "$(PLAG_DIR)" "$(PLAG_DEBUG)" "$(PLAG_RELEASE)" "$(PLAG)")
13 USE_PLAG_RELEASE := $(shell ./find-plag \
14 release:debug "$(PLAG_DIR)" "$(PLAG_RELEASE)" "$(PLAG_DEBUG)" "$(PLAG)")
16 # works with plag-mangle 16446a44d3f1f467765879492fa85a01222f8052
18 export PERL_HASH_SEED=1
19 export PERL_PERTURB_KEYS=0
24 $(addprefix maxprintable-, a3) \
25 $(addprefix minprintable-, a3) \
26 $(addprefix boundings-, a3 a4) \
27 $(addprefix board-, pa3-bPageB pa3-bPageMT \
28 pa4-bPageB pa4-bPageM pa4-bPageT ) \
29 $(addprefix board-, b mt) \
31 $(addprefix a4-test-, b m t) \
32 $(addprefix layout-test-, b m t)
35 all: $(addsuffix .ps, $(BOARDFILES))
37 cmyk.pdf: cmyk.ps Makefile
38 ps2pdf -dAutoRotatePages=/None cmyk.ps $@.tmp && $i
40 map.plag: generate-plag input-graph Parse.pm
43 # create opt.plag.reuse to shortcut this
44 opt.plag: maybe-rerun-optim map.plag $(USE_PLAG_RELEASE) Makefile
45 ./$(filter-out Makefile, $^) $@ .opt.plag.sums \
48 OUTER-F2V OUTER-SPLIT \
49 B T OUTER-F2V OUTER-F12VA \
54 faces.plag: opt.plag $(USE_PLAG_DEBUG) Makefile
55 $(USE_PLAG_DEBUG) RF $< W-FACES $@.tmp && $i
57 maxprintable-%.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm
58 ./generate-board -Xp$* faces.plag input-graph $o
60 minprintable-%.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm
61 ./generate-board -Xp$*,bPrintableAll faces.plag input-graph $o
63 boundings-%.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm
64 ./generate-board -XBp$* faces.plag input-graph $o
66 board-%.ps: generate-board faces.plag input-graph misc-data.pl Parse.pm
67 ./generate-board -X$* faces.plag input-graph $o
69 layout-test.ps: maxprintable-a3.ps Makefile Parse.pm
70 ./generate-board -XW faces.plag input-graph $o
72 layout-test-%.ps: layout-test-prefix-%.ps layout-test.ps
75 a4-test-%.ps: layout-test-prefix-%.ps maxprintable-a3.ps