OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gen_or1k_isa/] [Makefile] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 lampret
 
2 95 lampret
all: generate_isa generate_sum
3 14 lampret
 
4 488 ivang
gen_or1k_isa: sources/gen_or1k_isa.c sources/or32.c sources/or1k_isadesc.h sources/opcode/or32.h Makefile
5
        gcc -O2 -o gen_or1k_isa sources/or32.c sources/gen_or1k_isa.c
6 14 lampret
 
7 88 lampret
chop_html: sources/chop_html.c Makefile
8
        gcc -O2 -o chop_html sources/chop_html.c
9
 
10 496 ivang
generate_ref: gen_or1k_isa
11
        ./gen_or1k_isa -r 2 > tmp/body.tex
12
        latex tmp/body.tex; mv body.* tmp; dvips -o result/or1k_isa_ref.ps tmp/body.dvi
13
        rm -f texput.log
14
        pdflatex tmp/body.tex; mv body.* tmp; mv tmp/body.pdf result/or1k_isa_ref.pdf
15
 
16 95 lampret
generate_isa: gen_or1k_isa chop_html sources/header.tex
17 14 lampret
        ./gen_or1k_isa > tmp/body.tex
18
        cat sources/header.tex tmp/body.tex > tmp/isa.tex
19
        latex tmp/isa.tex; mv isa.* tmp; dvips -o result/or1k_isa.ps tmp/isa.dvi
20
        rm -f texput.log
21
        ./ps2pdf result/or1k_isa.ps result/or1k_isa.pdf
22
        pslatex tmp/isa.tex; mv isa.* tmp; dvips -o result/or1k_isa_distiller.ps tmp/isa.dvi
23
        rm -f texput.log
24 88 lampret
        cp sources/main1.html tmp/main1.html
25
        ./l2h tmp/isa.tex
26
        ./chop_html
27
        cat tmp/main1.html tmp/main2.html > result/or1k_isa.html
28
        cp tmp/hf.html result/hf.html
29
        cp sources/filelist.xml result/filelist.xml
30 14 lampret
 
31 95 lampret
generate_sum: gen_or1k_isa chop_html sources/header.tex
32
        ./gen_or1k_isa -s 2 > tmp/body.tex
33
        cat sources/header.tex tmp/body.tex > tmp/sum.tex
34
        latex tmp/sum.tex; mv sum.* tmp; dvips -o result/or1k_sum.ps tmp/sum.dvi
35
        rm -f texput.log
36
        ./ps2pdf result/or1k_sum.ps result/or1k_sum.pdf
37
        pslatex tmp/sum.tex; mv sum.* tmp; dvips -o result/or1k_sum_distiller.ps tmp/sum.dvi
38
        rm -f texput.log
39
        cp sources/main1.html tmp/main1.html
40
        ./l2h tmp/sum.tex
41
        cp tmp/sum.html result/or1k_sum.html
42
 
43 14 lampret
distclean: clean
44
        rm -f gen_or1k_isa
45
        rm -f result/*
46
 
47
clean:
48
        rm -f tmp/*

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.