summaryrefslogtreecommitdiffstats
path: root/src/build/ifcompiler/makefile
blob: 6fe932a24f343c859d9e345079f7c6a2728356a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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

clean:
	rm -f initCompiler lex.yy.c *.if *.list y.tab.* *.dbg
OpenPOWER on IntegriCloud