86
87 VPATH = $(ACPICA_DEBUGGER):$(ACPICA_DISASSEMBLER):\
88 $(ACPICA_DISPATCHER):$(ACPICA_EXECUTER):$(ACPICA_NAMESPACE):\
89 $(ACPICA_PARSER):$(ACPICA_TABLES):$(ACPICA_UTILITIES):\
90 $(ACPICA_COMMON):$(ACPICA_OSL)
91
92 INTERMEDIATES = \
93 aslcompiler.y \
94 aslcompilerlex.c \
95 aslcompilerparse.c \
96 dtparserlex.c \
97 dtparserparse.c \
98 prparserlex.c \
99 prparserparse.c \
100 aslcompiler.y.h \
101 dtparser.y.h \
102 prparser.y.h
103
104 CERRWARN += -_gcc=-Wno-unused-function
105
106 CPPFLAGS += -I$(SRC)/uts/intel/sys/acpi -DACPI_ASL_COMPILER -I.
107
108 LEX_C_FILES = aslcompilerlex.c dtparserlex.c prparserlex.c
109 YACC_C_FILES = aslcompilerparse.c dtparserparse.c prparserparse.c
110 YACC_H_FILES = aslcompiler.y.h dtparser.y.h prparser.y.h
111 YACC_FILES = $(YACC_C_FILES) $(YACC_H_FILES)
112
113 aslcompilerlex.c aslcompilerparse.c aslcompiler.y.h := PARSER = AslCompiler
114 aslcompilerlex.c aslcompilerparse.c aslcompiler.y.h := LY_BASE = aslcompiler
115
116 dtparserlex.c dtparserparse.c dtparser.y.h := PARSER = DtParser
117 dtparserlex.c dtparserparse.c dtparser.y.h := LY_BASE = dtparser
118
119 prparserlex.c prparserparse.c prparser.y.h := PARSER = PrParser
120 prparserlex.c prparserparse.c prparser.y.h := LY_BASE = prparser
121
122 $(LEX_C_FILES) := LEXFILE = $(LY_BASE).l
123 $(LEX_C_FILES) := LEXFILE = $(LY_BASE).l
124 $(YACC_FILES) := YTABC = $(LY_BASE)parse.c
125
|
86
87 VPATH = $(ACPICA_DEBUGGER):$(ACPICA_DISASSEMBLER):\
88 $(ACPICA_DISPATCHER):$(ACPICA_EXECUTER):$(ACPICA_NAMESPACE):\
89 $(ACPICA_PARSER):$(ACPICA_TABLES):$(ACPICA_UTILITIES):\
90 $(ACPICA_COMMON):$(ACPICA_OSL)
91
92 INTERMEDIATES = \
93 aslcompiler.y \
94 aslcompilerlex.c \
95 aslcompilerparse.c \
96 dtparserlex.c \
97 dtparserparse.c \
98 prparserlex.c \
99 prparserparse.c \
100 aslcompiler.y.h \
101 dtparser.y.h \
102 prparser.y.h
103
104 CERRWARN += -_gcc=-Wno-unused-function
105
106 # not linted
107 SMATCH=off
108
109 CPPFLAGS += -I$(SRC)/uts/intel/sys/acpi -DACPI_ASL_COMPILER -I.
110
111 LEX_C_FILES = aslcompilerlex.c dtparserlex.c prparserlex.c
112 YACC_C_FILES = aslcompilerparse.c dtparserparse.c prparserparse.c
113 YACC_H_FILES = aslcompiler.y.h dtparser.y.h prparser.y.h
114 YACC_FILES = $(YACC_C_FILES) $(YACC_H_FILES)
115
116 aslcompilerlex.c aslcompilerparse.c aslcompiler.y.h := PARSER = AslCompiler
117 aslcompilerlex.c aslcompilerparse.c aslcompiler.y.h := LY_BASE = aslcompiler
118
119 dtparserlex.c dtparserparse.c dtparser.y.h := PARSER = DtParser
120 dtparserlex.c dtparserparse.c dtparser.y.h := LY_BASE = dtparser
121
122 prparserlex.c prparserparse.c prparser.y.h := PARSER = PrParser
123 prparserlex.c prparserparse.c prparser.y.h := LY_BASE = prparser
124
125 $(LEX_C_FILES) := LEXFILE = $(LY_BASE).l
126 $(LEX_C_FILES) := LEXFILE = $(LY_BASE).l
127 $(YACC_FILES) := YTABC = $(LY_BASE)parse.c
128
|