add more dependency files to Makefile
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 6 Sep 2022 07:23:45 +0000 (00:23 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 6 Sep 2022 07:25:26 +0000 (00:25 -0700)
openpower/Makefile

index 0d4f575cf114588d093ca3b93d2076bd5b429db2..f3899f7895b47ed0d3a75b77acfe65677efdbdc3 100755 (executable)
@@ -52,7 +52,8 @@ SOURCE_TEX := \
 tex: $(SOURCE_TEX)
        mkdir -p tex_out
 
-tex_out/sv_analysis.tex : sv/sv_analysis.mdwn
+tex_out/sv_analysis.tex : sv/sv_analysis.mdwn mdwn_inline.py \
+                       ../../openpower-isa/src/openpower/sv/sv_analysis.py
        mkdir -p tex_out
        ./mdwn_inline.py sv/sv_analysis.mdwn tex_out/sv_analysis.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
@@ -190,7 +191,8 @@ tex_out/mv_swizzle.tex : sv/mv.swizzle.mdwn
                        --filter pandoc_img.py \
                        -N -o tex_out/mv_swizzle.tex sv/mv.swizzle.mdwn
 
-tex_out/fields.tex : sv/fields.mdwn
+tex_out/fields.tex : sv/fields.mdwn mdwn_inline.py \
+                       ../../openpower-isa/openpower/isatables/fields.text
        mkdir -p tex_out
        ./mdwn_inline.py sv/fields.mdwn tex_out/fields.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
@@ -261,56 +263,78 @@ tex_out/pseudocode_fixedshift.tex : $(ISA_DIR)/fixedshift.mdwn
                        -N -o tex_out/pseudocode_fixedshift.tex \
                        $(ISA_DIR)/fixedshift.mdwn
 
-tex_out/atomics.tex: atomics.mdwn
+tex_out/atomics.tex: atomics.mdwn mdwn_inline.py \
+                       ../../openpower-isa/src/openpower/sv/sv_analysis.py
        mkdir -p tex_out
        ./mdwn_inline.py atomics.mdwn tex_out/atomics.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                        --filter pandoc_img.py \
                        -N -o tex_out/atomics.tex tex_out/atomics.mdwn
 
-tex_out/transcendentals.tex: transcendentals.mdwn power_trans_ops.mdwn
+tex_out/transcendentals.tex: transcendentals.mdwn power_trans_ops.mdwn \
+                       mdwn_inline.py
        mkdir -p tex_out
        ./mdwn_inline.py transcendentals.mdwn tex_out/transcendentals.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                        --filter pandoc_img.py \
                        -N -o tex_out/transcendentals.tex tex_out/transcendentals.mdwn
 
-tex_out/executive_summary.tex: sv/executive_summary.mdwn
+tex_out/executive_summary.tex: sv/executive_summary.mdwn mdwn_inline.py
        mkdir -p tex_out
        ./mdwn_inline.py sv/executive_summary.mdwn tex_out/executive_summary.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                        --filter pandoc_img.py \
                        -N -o tex_out/executive_summary.tex tex_out/executive_summary.mdwn
 
-tex_out/svp64_appendix.tex: sv/svp64/appendix.mdwn
+tex_out/svp64_appendix.tex: sv/svp64/appendix.mdwn mdwn_inline.py \
+                       sv/preduce.py
        mkdir -p tex_out
        ./mdwn_inline.py sv/svp64/appendix.mdwn tex_out/appendix.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                        --filter pandoc_img.py \
                        -N -o tex_out/svp64_appendix.tex tex_out/appendix.mdwn
 
-tex_out/vector_ops.tex: sv/vector_ops.mdwn
+tex_out/vector_ops.tex: sv/vector_ops.mdwn mdwn_inline.py sv/bmask.py
        mkdir -p tex_out
        ./mdwn_inline.py sv/vector_ops.mdwn tex_out/vector_ops.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                        --filter pandoc_img.py \
                        -N -o tex_out/vector_ops.tex tex_out/vector_ops.mdwn
 
-tex_out/remap_appendix.tex: sv/remap/appendix.mdwn
+tex_out/remap_appendix.tex: sv/remap/appendix.mdwn mdwn_inline.py sv/remap.py \
+                       sv/remapyield.py sv/remap_fft_yield.py
        mkdir -p tex_out
        ./mdwn_inline.py sv/remap/appendix.mdwn tex_out/remap_appendix.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                        --filter pandoc_img.py \
                        -N -o tex_out/remap_appendix.tex tex_out/remap_appendix.mdwn
 
-tex_out/remap.tex: sv/remap.mdwn
+tex_out/remap.tex: sv/remap.mdwn mdwn_inline.py
        mkdir -p tex_out
        ./mdwn_inline.py sv/remap.mdwn tex_out/remap.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                        --filter pandoc_img.py \
                        -N -o tex_out/remap.tex tex_out/remap.mdwn
 
-tex_out/bitmanip.tex: sv/bitmanip.mdwn pandoc_img.py
+tex_out/bitmanip.tex: sv/bitmanip.mdwn pandoc_img.py mdwn_inline.py \
+                       sv/draft_opcode_tables.mdwn \
+                       ../../nmigen-gf/gf_reference/pack_poly.py \
+                       ../../nmigen-gf/gf_reference/clmul.py \
+                       ../../nmigen-gf/gf_reference/clmulh.py \
+                       ../../nmigen-gf/gf_reference/clmulr.py \
+                       ../../nmigen-gf/gf_reference/cldivrem.py \
+                       ../../nmigen-gf/gf_reference/decode_reducing_polynomial.py \
+                       ../../nmigen-gf/gf_reference/gfbredpoly.py \
+                       ../../nmigen-gf/gf_reference/gfbmul.py \
+                       ../../nmigen-gf/gf_reference/gfbmadd.py \
+                       ../../nmigen-gf/gf_reference/gfbinv.py \
+                       ../../nmigen-gf/gf_reference/gfpadd.py \
+                       ../../nmigen-gf/gf_reference/gfpsub.py \
+                       ../../nmigen-gf/gf_reference/gfpmul.py \
+                       ../../nmigen-gf/gf_reference/gfpinv.py \
+                       ../../nmigen-gf/gf_reference/gfpmadd.py \
+                       ../../nmigen-gf/gf_reference/gfpmsub.py \
+                       ../../nmigen-gf/gf_reference/gfpmsubr.py
        mkdir -p tex_out
        ./mdwn_inline.py sv/bitmanip.mdwn tex_out/bitmanip.mdwn
        pandoc -f markdown -t latex --top-level-division=section \