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