source: proto/SymbolTable/Makefile @ 1262

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

Updated symbol table implementation.

File size: 2.0 KB
Line 
1OUTFILE=src/xmlwf.cpp
2
3PABLO_SRCFILE=../parabix2/parabix2_pablo.py
4PABLO_COMPILER=../Compiler/pablomain.py
5PABLO_SYMTAB_HASH=parabix2_symtab_hash.py
6PABLO_SYMTAB_PBS=parabix2_symtab_pbs.py
7PABLO_SYMTAB_PBS_LOG=parabix2_symtab_pbs_log.py
8PABLO_SYMTAB_PBS_DIV=parabix2_symtab_pbs_div.py
9PABLO_SYMTAB_PBS_ADV=parabix2_symtab_pbs_adv.py
10
11SYMBOLTABLE_STL_TEMPLATE=symtab_stl_template.cpp
12SYMBOLTABLE_LS_TEMPLATE=symtab_ls_template.cpp
13HASH_SYMBOLTABLE_TEMPLATE=symtab_hash_template.cpp
14SYMBOLTABLE_IDENTITY_TEMPLATE=symtab_identity_template.cpp
15PBGS_SYMBOLTABLE_TEMPLATE=symtab_pbgs_template.cpp
16PBGS_SYMBOLTABLE_LOG_TEMPLATE=symtab_pbgs_log_template.cpp
17PBGS_SYMBOLTABLE_DIV_TEMPLATE=symtab_pbgs_div_template.cpp
18
19PABLO_FLAGS=#-a
20
21symtab_stl:     $(PABLO_SRCFILE)
22        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(SYMBOLTABLE_STL_TEMPLATE) -o $(OUTFILE)
23
24symtab_ls:      $(PABLO_SRCFILE)
25        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(SYMBOLTABLE_LS_TEMPLATE) -o $(OUTFILE)
26
27symtab_hash:    $(PABLO_SRCFILE)
28        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(HASH_SYMBOLTABLE_TEMPLATE) -o $(OUTFILE)
29
30symtab_id:      $(PABLO_SYMTAB_HASH) # Paralel bitstream based group sorting
31        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_HASH) -t $(SYMBOLTABLE_IDENTITY_TEMPLATE) -o $(OUTFILE)
32
33symtab_pbgs_id: $(PABLO_SYMTAB_PBS) # Paralel bitstream based group sorting
34        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS) -t $(PBGS_SYMBOLTABLE_TEMPLATE) -o $(OUTFILE)
35
36symtab_pbgs_id_adv:$(PABLO_SYMTAB_PBS_ADV) # Paralel bitstream based group sorting using Advance32 and Interpose32
37        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS_ADV) -t $(PBGS_SYMBOLTABLE_TEMPLATE) -o $(OUTFILE)
38
39symtab_pbgs_log:$(PABLO_SYMTAB_PBS_LOG)
40        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS_LOG) -t $(PBGS_SYMBOLTABLE_LOG_TEMPLATE) -o $(OUTFILE)
41
42symtab_pbgs_div:$(PABLO_SYMTAB_PBS_DIV)
43        python $(PABLO_COMPILER) $(PABLO_FLAGS) $(PABLO_SYMTAB_PBS_DIV) -t $(PBGS_SYMBOLTABLE_DIV_TEMPLATE) -o $(OUTFILE)
44
45pablo_help:
46        python  $(PABLO_COMPILER) -h
47
48clean: 
49        rm -f $(OUTFILE)
50
51
Note: See TracBrowser for help on using the repository browser.