]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - usr.sbin/acpi/iasl/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / usr.sbin / acpi / iasl / Makefile
1 # $FreeBSD$
2
3 PROG=   iasl
4 SRCS=   adfile.c adisasm.c adwalk.c
5 SRCS+=  osunixxf.c
6
7 # common
8 SRCS+=  dmrestag.c dmtable.c dmtbdump.c dmtbinfo.c getopt.c
9
10 # compiler
11 SRCS+=  aslanalyze.c aslcodegen.c aslcompile.c aslcompiler.y.h  \
12         aslcompilerlex.l aslcompilerparse.y aslerror.c          \
13         aslfiles.c aslfold.c asllength.c asllisting.c           \
14         aslload.c asllookup.c aslmain.c aslmap.c aslopcodes.c   \
15         asloperands.c aslopt.c aslresource.c aslrestype1.c      \
16         aslrestype2.c aslstubs.c asltransform.c asltree.c       \
17         aslutils.c
18
19 # debugger
20 SRCS+=  dbfileio.c
21
22 # disassembler
23 SRCS+=  dmbuffer.c dmnames.c dmobject.c dmopcode.c dmresrc.c    \
24         dmresrcl.c dmresrcs.c dmutils.c dmwalk.c
25
26 # interpreter/dispatcher
27 SRCS+=  dsfield.c dsobject.c dsopcode.c dsutils.c dswexec.c     \
28         dswload.c dswscope.c dswstate.c
29
30 # interpreter/executer
31 SRCS+=  exconvrt.c excreate.c exdump.c exmisc.c exmutex.c       \
32         exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c   \
33         exprep.c exregion.c exresnte.c exresolv.c exresop.c     \
34         exstore.c exstoren.c exstorob.c exsystem.c exutils.c
35
36 # interpreter/parser
37 SRCS+=  psargs.c psloop.c psopcode.c psparse.c psscope.c        \
38         pstree.c psutils.c pswalk.c
39
40 # namespace
41 SRCS+=  nsaccess.c nsalloc.c nsdump.c nsnames.c nsobject.c      \
42         nsparse.c nssearch.c nsutils.c nswalk.c nsxfobj.c
43
44 # tables
45 SRCS+=  tbfadt.c tbinstal.c tbutils.c tbxface.c
46
47 # utilities
48 SRCS+=  utalloc.c utcache.c utcopy.c utdebug.c utdelete.c       \
49         utglobal.c utmath.c utmisc.c utmutex.c utobject.c       \
50         utresrc.c utstate.c
51
52 MAN=    iasl.8
53
54 CFLAGS+= -DACPI_ASL_COMPILER -I.
55 CFLAGS+= -D_USE_BERKELEY_YACC
56 LFLAGS= -i -PAslCompiler
57 YFLAGS= -d -pAslCompiler
58
59 CLEANFILES= aslcompiler.y.h aslcompilerlex.l aslcompilerparse.y
60
61 aslcompiler.y.h: aslcompilerparse.h
62         cat ${.ALLSRC} > ${.TARGET}
63
64 aslcompilerlex.l: aslcompiler.l
65         cat ${.ALLSRC} > ${.TARGET}
66
67 aslcompilerparse.y: aslcompiler.y
68         cat ${.ALLSRC} > ${.TARGET}
69
70 .include <bsd.prog.mk>