source: proto/SymbolTable/Makefile @ 1228

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

Integrated symbol table with xmlwf. There are various implementations for the symbol table, please read /proto/SymbolTable/README_SymbolTable for more information.

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