7 TOPDIR
= ${NETBSDSRCDIR}/sys
/external
/intel-public
/acpica
/dist/compiler
11 CPPFLAGS
+= -I
${TOPDIR}/..
/include -I
${TOPDIR} -I.
12 CPPFLAGS
+= -D_LINUX
-DACPI_ASL_COMPILER
-DACPI_USE_ALTERNATE_TIMEOUT
13 CPPFLAGS
+= -D_USE_BERKELEY_YACC
14 LDADD
+= -ll
-ly
-lrt
-lpthread
15 DPADD
+= ${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
17 DPSRCS
= aslcompilerparse.c
18 DPSRCS
+=aslcompilerlex.c
21 SRCS
= aslcompilerparse.c
22 SRCS
+= aslcompilerlex.c
46 .PATH
: ${TOPDIR}/..
/common
48 .PATH
: ${TOPDIR}/..
/utilities
64 .PATH
: ${TOPDIR}/..
/namespace
75 .PATH
: ${TOPDIR}/..
/parser
84 .PATH
: ${TOPDIR}/..
/dispatcher
93 .PATH
: ${TOPDIR}/..
/executer
114 .PATH
: ${TOPDIR}/..
/common
122 .PATH
: ${TOPDIR}/..
/debugger
124 .PATH
: ${TOPDIR}/..
/disassembler
134 .PATH
: ${TOPDIR}/..
/tables
142 aslcompilerparse.c
: ${TOPDIR}/aslcompiler.y
143 ${YACC} -v
-d
-o
${.TARGET
} -pAslCompiler
${.ALLSRC
}
144 mv
-f
${.PREFIX
}.h aslcompiler.y.h
146 aslcompilerlex.c
: ${TOPDIR}/aslcompiler.l
147 ${LEX} -i
-PAslCompiler
-o
${.TARGET
} ${.ALLSRC
}
149 CLEANFILES
+= aslcompilerlex.c aslcompilerparse.c aslcompiler.y.h y.output
151 .
include <bsd.prog.mk
>