diff options
Diffstat (limited to 'src/build/ifcompiler/makefile')
-rwxr-xr-x | src/build/ifcompiler/makefile | 80 |
1 files changed, 43 insertions, 37 deletions
diff --git a/src/build/ifcompiler/makefile b/src/build/ifcompiler/makefile index 6fe932a24..04bea5213 100755 --- a/src/build/ifcompiler/makefile +++ b/src/build/ifcompiler/makefile @@ -1,39 +1,45 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# fips730 src/engd/initfiles/ifcompiler/makefile 1.5 -# -# IBM CONFIDENTIAL -# -# OBJECT CODE ONLY SOURCE MATERIALS -# -# COPYRIGHT International Business Machines Corp. 2010 -# All Rights Reserved -# -# The source code for this program is not published or otherwise -# divested of its trade secrets, irrespective of what has been -# deposited with the U.S. Copyright Office. -# -# IBM_PROLOG_END_TAG -# -# Flag Reason Userid Date Description -# ---- ------- -------- -------- ----------- -# andrewg 05/24/11 Updated for VPL/PgP -# andrewg 10/07/11 Update based on review -# - -# To execute initCompiler against sample.initfile, run the following: -# ./initCompiler -init ./sample.initfile -outdir . --debug -attr ./fapiAttributeIds.H -# -# sample.if will be the binary compiled initfile, used as input to the hardware procedure which -# process it. -# -# sample.if.list will be a listing file describing the binary content of the initfile -# -# add a "-d" to flex command line to get debug output. - -all: - yacc -d initCompiler.y; flex initCompiler.lex; g++ initCompiler.C lex.yy.c y.tab.c initRpn.C initScom.C initSymbols.C -I./ -o initCompiler +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/build/ifcompiler/makefile $ +# +# IBM CONFIDENTIAL +# +# COPYRIGHT International Business Machines Corp. 2011 +# +# p1 +# +# Object Code Only (OCO) source materials +# Licensed Internal Code Source Materials +# IBM HostBoot Licensed Internal Code +# +# The source code for this program is not published or other- +# wise divested of its trade secrets, irrespective of what has +# been deposited with the U.S. Copyright Office. +# +# Origin: 30 +# +# IBM_PROLOG_END +# add a -d to flex for debug output + +y.tab.%: initCompiler.y + yacc -d initCompiler.y + +lex.yy.c: initCompiler.lex + flex initCompiler.lex + +bin/initCompiler: y.tab.c y.tab.h lex.yy.c initCompiler.C initCompiler.H initRpn.C initRpn.H initScom.C initScom.H initSymbols.C initSymbols.H + mkdir -p bin; g++ initCompiler.C lex.yy.c y.tab.c initRpn.C initScom.C initSymbols.C -I./ -o ./bin/initCompiler + +ifcompiler: bin/initCompiler + +all: gen_pass + +code_pass: + +gen_pass: ifcompiler clean: - rm -f initCompiler lex.yy.c *.if *.list y.tab.* *.dbg + rm -f ./bin/initCompiler lex.yy.c y.tab.* +beam: + |