Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1498 | serge | 1 | |
2 | SRCS= \ |
||
3 | aslcompilerparse.c \ |
||
4 | aslcompilerlex.c \ |
||
5 | aslanalyze.c \ |
||
6 | aslcodegen.c \ |
||
7 | aslcompile.c \ |
||
8 | aslerror.c \ |
||
9 | aslfiles.c \ |
||
10 | aslfold.c \ |
||
11 | asllength.c \ |
||
12 | asllisting.c \ |
||
13 | aslload.c \ |
||
14 | asllookup.c \ |
||
15 | aslmain.c \ |
||
16 | aslmap.c \ |
||
17 | aslopcodes.c \ |
||
18 | asloperands.c \ |
||
19 | aslopt.c \ |
||
20 | aslpredef.c \ |
||
21 | aslresource.c \ |
||
22 | aslrestype1.c \ |
||
23 | aslrestype1i.c \ |
||
24 | aslrestype2.c \ |
||
25 | aslrestype2d.c \ |
||
26 | aslrestype2e.c \ |
||
27 | aslrestype2q.c \ |
||
28 | aslrestype2w.c \ |
||
29 | aslstartup.c \ |
||
30 | aslstubs.c \ |
||
31 | asltransform.c \ |
||
32 | asltree.c \ |
||
33 | aslutils.c \ |
||
34 | dtcompile.c \ |
||
35 | dtfield.c \ |
||
36 | dtio.c \ |
||
37 | dtsubtable.c \ |
||
38 | dttable.c \ |
||
39 | dtutils.c \ |
||
40 | ../common/getopt.c \ |
||
41 | ../utilities/utalloc.c \ |
||
42 | ../utilities/utcache.c \ |
||
43 | ../utilities/utcopy.c \ |
||
44 | ../utilities/utdebug.c \ |
||
45 | ../utilities/utdelete.c \ |
||
46 | ../utilities/utglobal.c \ |
||
47 | ../utilities/utinit.c \ |
||
48 | ../utilities/utlock.c \ |
||
49 | ../utilities/utobject.c \ |
||
50 | ../utilities/utmisc.c \ |
||
51 | ../utilities/utmath.c \ |
||
52 | ../utilities/utmutex.c \ |
||
53 | ../utilities/utresrc.c \ |
||
54 | ../utilities/utstate.c \ |
||
55 | ../utilities/utxface.c \ |
||
56 | ../namespace/nsaccess.c \ |
||
57 | ../namespace/nsalloc.c \ |
||
58 | ../namespace/nsdump.c \ |
||
59 | ../namespace/nsnames.c \ |
||
60 | ../namespace/nsobject.c \ |
||
61 | ../namespace/nsparse.c \ |
||
62 | ../namespace/nssearch.c \ |
||
63 | ../namespace/nsutils.c \ |
||
64 | ../namespace/nswalk.c \ |
||
65 | ../namespace/nsxfobj.c \ |
||
66 | ../parser/psargs.c \ |
||
67 | ../parser/psloop.c \ |
||
68 | ../parser/psopcode.c \ |
||
69 | ../parser/psparse.c \ |
||
70 | ../parser/psscope.c \ |
||
71 | ../parser/pstree.c \ |
||
72 | ../parser/psutils.c \ |
||
73 | ../parser/pswalk.c \ |
||
74 | ../dispatcher/dswscope.c \ |
||
75 | ../dispatcher/dswstate.c \ |
||
76 | ../dispatcher/dsfield.c \ |
||
77 | ../dispatcher/dsobject.c \ |
||
78 | ../dispatcher/dsopcode.c \ |
||
79 | ../dispatcher/dsutils.c \ |
||
80 | ../dispatcher/dswexec.c \ |
||
81 | ../dispatcher/dswload.c \ |
||
82 | ../executer/exconvrt.c \ |
||
83 | ../executer/excreate.c \ |
||
84 | ../executer/exdump.c \ |
||
85 | ../executer/exmisc.c \ |
||
86 | ../executer/exmutex.c \ |
||
87 | ../executer/exnames.c \ |
||
88 | ../executer/exoparg1.c \ |
||
89 | ../executer/exoparg2.c \ |
||
90 | ../executer/exoparg3.c \ |
||
91 | ../executer/exoparg6.c \ |
||
92 | ../executer/exprep.c \ |
||
93 | ../executer/exregion.c \ |
||
94 | ../executer/exresnte.c \ |
||
95 | ../executer/exresolv.c \ |
||
96 | ../executer/exresop.c \ |
||
97 | ../executer/exstore.c \ |
||
98 | ../executer/exstoren.c \ |
||
99 | ../executer/exstorob.c \ |
||
100 | ../executer/exsystem.c \ |
||
101 | ../executer/exutils.c \ |
||
102 | ../common/adfile.c \ |
||
103 | ../common/adisasm.c \ |
||
104 | ../common/adwalk.c \ |
||
105 | ../common/dmextern.c \ |
||
106 | ../common/dmrestag.c \ |
||
107 | ../common/dmtable.c \ |
||
108 | ../common/dmtbinfo.c \ |
||
109 | ../common/dmtbdump.c \ |
||
110 | ../debugger/dbfileio.c \ |
||
111 | ../disassembler/dmbuffer.c \ |
||
112 | ../disassembler/dmnames.c \ |
||
113 | ../disassembler/dmopcode.c \ |
||
114 | ../disassembler/dmobject.c \ |
||
115 | ../disassembler/dmresrc.c \ |
||
116 | ../disassembler/dmresrcl.c \ |
||
117 | ../disassembler/dmresrcs.c \ |
||
118 | ../disassembler/dmutils.c \ |
||
119 | ../disassembler/dmwalk.c \ |
||
120 | ../tables/tbfadt.c \ |
||
121 | ../tables/tbinstal.c \ |
||
122 | ../tables/tbutils.c \ |
||
123 | ../tables/tbxface.c \ |
||
124 | ../osunixxf.c |
||
125 | |||
126 | |||
127 | CFLAGS+= -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../include -I../compiler |
||
128 | |||
129 | |||
130 | YACC= bison |
||
131 | YFLAGS+= -v -d |
||
132 | LEX= flex |
||
133 | LFLAGS+= -i |
||
134 | |||
135 | |||
136 | YFLAGS+= -y -pAslCompiler |
||
137 | #.else |
||
138 | #CFLAGS+= -D_USE_BERKELEY_YACC |
||
139 | #.endif |
||
140 | |||
141 | |||
142 | |||
143 | |||
144 | $(CC) $(LDFLAGS) $(patsubst %.c,%.o, $(SRCS)) \ |
||
145 | $(LOADLIBES) $(LDLIBS) -o iasl |
||
146 | |||
147 | |||
148 | aslcompilerparse.c aslcompilerlex.c iasl |
||
149 | |||
150 | |||
151 | ${YACC} ${YFLAGS} aslcompiler.y |
||
152 | cp y.tab.c aslcompilerparse.c |
||
153 | cp y.tab.h aslcompiler.y.h |
||
154 | |||
155 | |||
156 | ${LEX} ${LFLAGS} -PAslCompiler -oaslcompilerlex.c aslcompiler.l |
||
157 | |||
158 | |||
159 | rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) |
||
160 |