1## XXX does not cover .includes of core .pasm files
2
3$(LIBRARY_DIR)/PCT.pbc : $(PARROT) compilers/pct/PCT.pir \
4    $(LIBRARY_DIR)/PCT/Grammar.pbc $(LIBRARY_DIR)/PCT/PAST.pbc
5	$(PARROT) -o $@ compilers/pct/PCT.pir
6	@$(ADDGENERATED) "$@" "[main]"
7
8$(LIBRARY_DIR)/PCT/PAST.pbc : compilers/pct/src/PAST.pir $(PARROT) $(PBC_MERGE) \
9    $(LIBRARY_DIR)/PCT/HLLCompiler.pbc \
10    compilers/pct/src/PCT/Node.pbc \
11    compilers/pct/src/PAST/Node.pbc \
12    compilers/pct/src/PAST/Compiler.pbc \
13    compilers/pct/src/POST/Node.pbc \
14    compilers/pct/src/POST/Compiler.pbc
15	$(PBC_MERGE) -o $@ \
16	  compilers/pct/src/PCT/Node.pbc \
17	  compilers/pct/src/PAST/Node.pbc \
18	  compilers/pct/src/PAST/Compiler.pbc \
19	  compilers/pct/src/POST/Node.pbc \
20	  compilers/pct/src/POST/Compiler.pbc
21	@$(ADDGENERATED) "$@" "[main]"
22
23$(LIBRARY_DIR)/PCT/Grammar.pbc : compilers/pct/src/PCT/Grammar.pir $(PARROT) \
24    $(LIBRARY_DIR)/PGE.pbc $(LIBRARY_DIR)/PGE/Util.pbc
25	$(PARROT) -o $@ compilers/pct/src/PCT/Grammar.pir
26	@$(ADDGENERATED) "$@" "[main]"
27
28$(LIBRARY_DIR)/PCT/HLLCompiler.pbc : compilers/pct/src/PCT/HLLCompiler.pir \
29    $(PARROT) \
30    $(LIBRARY_DIR)/PGE/Dumper.pbc \
31    $(LIBRARY_DIR)/P6object.pbc \
32    $(LIBRARY_DIR)/Parrot/Exception.pbc \
33    $(LIBRARY_DIR)/config.pir \
34    $(LIBRARY_DIR)/Getopt/Obj.pbc \
35    $(LIBRARY_DIR)/dumper.pbc \
36    $(LIBRARY_DIR)/PCT/Dumper.pbc
37	$(PARROT) -o $@ compilers/pct/src/PCT/HLLCompiler.pir
38	@$(ADDGENERATED) "$@" "[main]"
39
40$(LIBRARY_DIR)/PCT/Dumper.pbc : compilers/pct/src/PCT/Dumper.pir $(PARROT)
41	$(PARROT) -o $@ compilers/pct/src/PCT/Dumper.pir
42	@$(ADDGENERATED) "$@" "[main]"
43
44compilers/pct/src/PCT/Node.pbc : compilers/pct/src/PCT/Node.pir $(PARROT)
45	$(PARROT) -o $@ compilers/pct/src/PCT/Node.pir
46
47compilers/pct/src/PAST/Node.pbc : compilers/pct/src/PAST/Node.pir $(PARROT)
48	$(PARROT) -o $@ compilers/pct/src/PAST/Node.pir
49
50compilers/pct/src/PAST/Compiler.pbc : compilers/pct/src/PAST/Compiler.pir $(PARROT)
51	$(PARROT) -o $@ compilers/pct/src/PAST/Compiler.pir
52
53compilers/pct/src/POST/Node.pbc : compilers/pct/src/POST/Node.pir $(PARROT)
54	$(PARROT) -o $@ compilers/pct/src/POST/Node.pir
55
56compilers/pct/src/POST/Compiler.pbc : compilers/pct/src/POST/Compiler.pir $(PARROT)
57	$(PARROT) -o $@ compilers/pct/src/POST/Compiler.pir
58
59# Local variables:
60#   mode: makefile
61# End:
62# vim: ft=make:
63