source: proto/SymbolTable/Makefile @ 1686

Last change on this file since 1686 was 1686, checked in by vla24, 8 years ago

SymbolTable?: use alphabets as words for dictionary, not alphanumerics

File size: 3.8 KB
Line 
1WCD_OUTFILE=src/wcd.cpp
2
3PABLO_WCD=dictionary.py
4PABLO_WCD_ID=dictionary_id.py
5PABLO_WCD_PBGS_ID=dictionary_pbgs_id.py
6PABLO_WCD_PBGS_ID_ADV=dictionary_pbgs_id_adv.py
7PABLO_WCD_PBGS_LOG=dictionary_pbgs_log.py
8PABLO_WCD_PBGS_DIV=dictionary_pbgs_div.py
9
10WCD_STL_TEMPLATE=dictionary_stl_template.cpp
11WCD_LS_TEMPLATE=dictionary_ls_template.cpp
12WCD_HASH_TEMPLATE=dictionary_hash_template.cpp
13WCD_IDENTITY_TEMPLATE=dictionary_identity_template.cpp
14WCD_PBGS_ID_TEMPLATE=dictionary_pbgs_identity_template.cpp
15WCD_PBGS_LOG_TEMPLATE=dictionary_pbgs_log_template.cpp
16WCD_PBGS_DIV_TEMPLATE=dictionary_pbgs_div_template.cpp
17
18XMLWF_OUTFILE=src/xmlwf.cpp
19
20PABLO_SRCFILE=../parabix2/parabix2_pablo.py
21PABLO_COMPILER=../Compiler/pablomain.py
22
23PABLO_SYMTAB_ID=parabix2_symtab_id.py
24PABLO_SYMTAB_PBS=parabix2_symtab_pbs.py
25PABLO_SYMTAB_PBS_LOG=parabix2_symtab_pbs_log.py
26PABLO_SYMTAB_PBS_DIV=parabix2_symtab_pbs_div.py
27PABLO_SYMTAB_PBS_ADV=parabix2_symtab_pbs_adv.py
28
29SYMBOLTABLE_STL_TEMPLATE=symtab_stl_template.cpp
30SYMBOLTABLE_LS_TEMPLATE=symtab_ls_template.cpp
31HASH_SYMBOLTABLE_TEMPLATE=symtab_hash_template.cpp
32SYMBOLTABLE_IDENTITY_TEMPLATE=symtab_identity_template.cpp
33PBGS_SYMBOLTABLE_ID_TEMPLATE=symtab_pbgs_identity_template.cpp
34PBGS_SYMBOLTABLE_LOG_TEMPLATE=symtab_pbgs_log_template.cpp
35PBGS_SYMBOLTABLE_DIV_TEMPLATE=symtab_pbgs_div_template.cpp
36
37PABLO_FLAGS=#-a
38
39wcd_stl:        $(PABLO_WCD)
40        python $(PABLO_COMPILER) $(PABLO_WCD) -t $(WCD_STL_TEMPLATE) -o $(WCD_OUTFILE)
41
42wcd_ls: $(PABLO_WCD)
43        python $(PABLO_COMPILER) $(PABLO_WCD) -t $(WCD_LS_TEMPLATE) -o $(WCD_OUTFILE)
44
45wcd_hash:       $(PABLO_WCD)
46        python $(PABLO_COMPILER) $(PABLO_WCD) -t $(WCD_HASH_TEMPLATE) -o $(WCD_OUTFILE)
47
48wcd_id: $(PABLO_WCD_ID)
49        python $(PABLO_COMPILER) $(PABLO_WCD_ID) -t $(WCD_IDENTITY_TEMPLATE) -o $(WCD_OUTFILE)
50
51wcd_pbgs_id:    $(PABLO_WCD_PBGS_ID) # Paralel bitstream based group sorting
52        python $(PABLO_COMPILER) $(PABLO_WCD_PBGS_ID) -t $(WCD_PBGS_ID_TEMPLATE) -o $(WCD_OUTFILE)
53
54wcd_pbgs_id_adv:        $(PABLO_WCD_PBGS_ID_ADV) # Paralel bitstream based group sorting
55        python $(PABLO_COMPILER) $(PABLO_WCD_PBGS_ID_ADV) -t $(WCD_PBGS_ID_TEMPLATE) -o $(WCD_OUTFILE)
56
57wcd_pbgs_log:   $(PABLO_WCD_PBGS_LOG) # Paralel bitstream based group sorting
58        python $(PABLO_COMPILER) $(PABLO_WCD_PBGS_LOG) -t $(WCD_PBGS_LOG_TEMPLATE) -o $(WCD_OUTFILE)
59
60wcd_pbgs_div:   $(PABLO_WCD_PBGS_DIV) # Paralel bitstream based group sorting
61        python $(PABLO_COMPILER) $(PABLO_WCD_PBGS_DIV) -t $(WCD_PBGS_DIV_TEMPLATE) -o $(WCD_OUTFILE)
62
63symtab_stl:     $(PABLO_SRCFILE)
64        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(SYMBOLTABLE_STL_TEMPLATE) -o $(XMLWF_OUTFILE)
65
66symtab_ls:      $(PABLO_SRCFILE)
67        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(SYMBOLTABLE_LS_TEMPLATE) -o $(XMLWF_OUTFILE)
68
69symtab_hash:    $(PABLO_SRCFILE)
70        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(HASH_SYMBOLTABLE_TEMPLATE) -o $(XMLWF_OUTFILE)
71
72symtab_id:      $(PABLO_SYMTAB_ID) # Paralel bitstream based group sorting
73        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_ID) -t $(SYMBOLTABLE_IDENTITY_TEMPLATE) -o $(XMLWF_OUTFILE)
74
75symtab_pbgs_id: $(PABLO_SYMTAB_PBS) # Paralel bitstream based group sorting
76        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS) -t $(PBGS_SYMBOLTABLE_ID_TEMPLATE) -o $(XMLWF_OUTFILE)
77
78symtab_pbgs_id_adv:$(PABLO_SYMTAB_PBS_ADV) # Paralel bitstream based group sorting using Advance32 and Interpose32
79        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS_ADV) -t $(PBGS_SYMBOLTABLE_ID_TEMPLATE) -o $(XMLWF_OUTFILE)
80
81symtab_pbgs_log:$(PABLO_SYMTAB_PBS_LOG)
82        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS_LOG) -t $(PBGS_SYMBOLTABLE_LOG_TEMPLATE) -o $(XMLWF_OUTFILE)
83
84symtab_pbgs_div:$(PABLO_SYMTAB_PBS_DIV)
85        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS_DIV) -t $(PBGS_SYMBOLTABLE_DIV_TEMPLATE) -o $(XMLWF_OUTFILE)
86
87pablo_help:
88        python  $(PABLO_COMPILER) -h
89
90symtab_clean:
91        rm -f $(XMLWF_OUTFILE)
92
93wcd_clean:
94        rm -f $(WCD_OUTFILE)
Note: See TracBrowser for help on using the repository browser.