4 SRCS= adfile.c adisasm.c adwalk.c
7 SRCS+= ahpredef.c dmextern.c dmrestag.c dmtable.c dmtbdump.c \
11 SRCS+= aslanalyze.c aslbtypes.c aslcodegen.c aslcompile.c \
12 aslcompiler.y.h aslcompilerlex.c aslcompilerparse.c \
13 aslerror.c aslfileio.c aslfiles.c aslfold.c aslhex.c \
14 asllength.c asllisting.c asllistsup.c aslload.c \
15 asllookup.c aslmain.c aslmap.c aslmethod.c aslnamesp.c \
16 asloffset.c aslopcodes.c asloperands.c aslopt.c \
17 aslpredef.c aslprepkg.c aslresource.c aslrestype1.c \
18 aslrestype1i.c aslrestype2.c aslrestype2d.c \
19 aslrestype2e.c aslrestype2q.c aslrestype2s.c \
20 aslrestype2w.c aslstartup.c aslstubs.c asltransform.c \
21 asltree.c aslutils.c asluuid.c aslwalks.c aslxref.c \
22 dtcompile.c dtexpress.c dtfield.c dtio.c dtparser.y.h \
23 dtparserlex.c dtparserparse.c dtsubtable.c dttable.c \
24 dttemplate.c dtutils.c prexpress.c prmacros.c \
25 prparser.y.h prparserlex.c prparserparse.c prscan.c \
31 # components/disassembler
32 SRCS+= dmbuffer.c dmdeferred.c dmnames.c dmopcode.c dmresrc.c \
33 dmresrcl.c dmresrcl2.c dmresrcs.c dmutils.c dmwalk.c
35 # components/dispatcher
36 SRCS+= dsargs.c dscontrol.c dsfield.c dsobject.c dsopcode.c \
37 dsutils.c dswexec.c dswload.c dswload2.c dswscope.c \
41 SRCS+= exconvrt.c excreate.c exdump.c exmisc.c exmutex.c \
42 exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c \
43 exprep.c exresnte.c exresolv.c exresop.c exstore.c \
44 exstoren.c exstorob.c exsystem.c exutils.c
47 SRCS+= psargs.c psloop.c psobject.c psopcode.c psopinfo.c \
48 psparse.c psscope.c pstree.c psutils.c pswalk.c
50 # components/namespace
51 SRCS+= nsaccess.c nsalloc.c nsdump.c nsnames.c nsobject.c \
52 nsparse.c nssearch.c nsutils.c nswalk.c
55 SRCS+= tbfadt.c tbinstal.c tbutils.c tbxface.c
57 # components/utilities
58 SRCS+= utaddress.c utalloc.c utcache.c utcopy.c utdebug.c \
59 utdecode.c utdelete.c utexcep.c utglobal.c utinit.c \
60 utlock.c utmath.c utmisc.c utmutex.c utobject.c \
61 utownerid.c utpredef.c utresrc.c utstate.c utstring.c \
64 # os_specific/service_layers
71 CFLAGS+= -DACPI_ASL_COMPILER -I.
75 CLEANFILES= aslcompiler.y.h aslcompilerlex.c aslcompilerparse.c \
76 aslcompilerparse.h dtparser.y.h dtparserlex.c \
77 dtparserparse.c dtparserparse.h
79 aslcompilerlex.c: aslcompiler.l aslsupport.l
80 ${LEX} ${LFLAGS} -PAslCompiler -o${.TARGET} \
81 ${ACPICA_DIR}/compiler/aslcompiler.l
83 .ORDER: aslcompilerparse.c aslcompilerparse.h
84 aslcompilerparse.c aslcompilerparse.h: aslcompiler.y
85 ${YACC} ${YFLAGS} -pAslCompiler -oaslcompilerparse.c ${.ALLSRC}
87 aslcompiler.y.h: aslcompilerparse.h
88 ln -f ${.ALLSRC} ${.TARGET}
90 dtparserlex.c: dtparser.l
91 ${LEX} ${LFLAGS} -PDtParser -o${.TARGET} ${.ALLSRC}
93 .ORDER: dtparserparse.c dtparserparse.h
94 dtparserparse.c dtparserparse.h: dtparser.y
95 ${YACC} ${YFLAGS} -pDtParser -odtparserparse.c ${.ALLSRC}
97 dtparser.y.h: dtparserparse.h
98 ln -f ${.ALLSRC} ${.TARGET}
100 prparserlex.c: prparser.l
101 ${LEX} ${LFLAGS} -PPrParser -o${.TARGET} ${.ALLSRC}
103 .ORDER: prparserparse.c prparserparse.h
104 prparserparse.c prparserparse.h: prparser.y
105 ${YACC} ${YFLAGS} -pPrParser -oprparserparse.c ${.ALLSRC}
107 prparser.y.h: prparserparse.h
108 ln -f ${.ALLSRC} ${.TARGET}
110 .include <bsd.prog.mk>