xref: /freebsd/usr.sbin/acpi/iasl/Makefile (revision d37ea99837e6ad50837fd9fe1771ddf1c3ba6002)
1# $FreeBSD$
2
3PROG=	iasl
4SRCS=	aslcompiler.y.h aslcompilerlex.l aslcompilerparse.y \
5	aslanalyze.c aslcodegen.c \
6	aslcompile.c aslerror.c aslfiles.c asllength.c \
7	asllisting.c aslload.c asllookup.c aslmain.c \
8	aslmap.c aslopcodes.c asloperands.c aslresource.c \
9	aslrestype1.c aslrestype2.c asltree.c aslutils.c \
10	asltransform.c aslfold.c aslstubs.c aslopt.c
11SRCS+=	adisasm.c getopt.c osunixxf.c
12SRCS+=	dbfileio.c dmbuffer.c dmnames.c dmopcode.c dmobject.c \
13        dmresrc.c dmresrcl.c dmresrcs.c dmutils.c dmwalk.c \
14        dsopcode.c dsutils.c dswexec.c dswload.c \
15	dswscope.c dswstate.c dsfield.c dsobject.c \
16        exconvrt.c excreate.c exdump.c exmisc.c \
17        exmutex.c exnames.c exoparg1.c exoparg2.c \
18        exoparg3.c exoparg6.c exprep.c exregion.c \
19        exresnte.c exresolv.c exresop.c exstore.c \
20        exstoren.c exstorob.c exsystem.c exutils.c \
21        nsaccess.c nsalloc.c nsdump.c nsnames.c nsobject.c \
22	nsparse.c nssearch.c nsutils.c nswalk.c nsxfobj.c \
23        psargs.c psopcode.c psparse.c psscope.c \
24        pstree.c psutils.c pswalk.c \
25        tbinstal.c tbutils.c \
26	utalloc.c utcopy.c utdebug.c utdelete.c \
27        utglobal.c utobject.c utmisc.c utmath.c
28
29MAN=	iasl.8
30
31CFLAGS+= -D_ACPI_ASL_COMPILER -I.
32
33CFLAGS+= -D_USE_BERKELEY_YACC
34LFLAGS=	-i -PAslCompiler
35YFLAGS=	-d -pAslCompiler
36
37CLEANFILES= aslcompiler.y.h aslcompilerlex.l aslcompilerparse.y
38
39aslcompiler.y.h: aslcompilerparse.h
40	cat ${.ALLSRC} > ${.TARGET}
41
42aslcompilerlex.l: aslcompiler.l
43	cat ${.ALLSRC} > ${.TARGET}
44
45aslcompilerparse.y: aslcompiler.y
46	cat ${.ALLSRC} > ${.TARGET}
47
48.include <bsd.prog.mk>
49