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