Changeset 53983 in vbox for trunk/src/VBox/ExtPacks
- Timestamp:
- Jan 27, 2015 9:35:39 PM (10 years ago)
- Location:
- trunk/src/VBox/ExtPacks/VBoxDTrace
- Files:
-
- 4 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
r53981 r53983 29 29 VBOX_PATH_EXTPACK_VBOXDTRACE = $(PATH_STAGE)/$(INST_EXTPACK)$(VBOX_EXTPACK_VBOXDTRACE_MANGLED_NAME) 30 30 INST_EXTPACK_VBOXDTRACE = $(INST_EXTPACK)$(VBOX_EXTPACK_VBOXDTRACE_MANGLED_NAME)/ 31 32 VBOXDT_PATH := $(PATH_ROOT)/src/VBox/ExtPacks/VBoxDTrace 33 VBOXDT_PATH_ONNV := $(VBOXDT_PATH)/onnv 34 VBOXDT_PATH_UTS := $(VBOXDT_PATH_ONNV)/uts 35 VBOXDT_PATH_CMD := $(VBOXDT_PATH_ONNV)/cmd 36 VBOXDT_PATH_LIBCTF := $(VBOXDT_PATH_ONNV)/lib/libctf 37 VBOXDT_PATH_CMN_CTF := $(VBOXDT_PATH_ONNV)/common/ctf 38 VBOXDT_PATH_LIBDTRACE := $(VBOXDT_PATH_ONNV)/lib/libdtrace 39 VBOXDT_PATH_CMN_DTRACE := $(VBOXDT_PATH_ONNV)/common/dtrace 31 40 32 41 … … 151 160 $(VBOXDT_PATH_LIBCTF)/common/ctf_lib.c 152 161 153 if 1162 ifdef VBOX_HAVE_BISON 154 163 USES += yacc 155 164 VBoxDTraceCmd_USES += yacc … … 160 169 VBoxDTraceCmd_INCS += $(VBoxDTraceCmd_0_OUTDIR)/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common 161 170 else 162 # TODO: generate these. 163 endif 164 165 if 1 171 VBoxDTraceCmd_SOURCES += \ 172 $(VBOXDT_PATH)/generated/dt_grammar.c 173 VBoxDTraceCmd_INCS += \ 174 $(VBOXDT_PATH)/generated/ 175 endif 176 177 ifdef VBOX_HAVE_FLEX 166 178 USES += lex 167 179 VBoxDTraceCmd_USES += lex 168 180 VBoxDTraceCmd_LEXTOOL = FLEX 169 181 VBoxDTraceCmd_LEXFLAGS = -l -B #-d -T 170 VBoxDTraceCmd_DEFS += USING_FLEX171 182 VBoxDTraceCmd_SOURCES += \ 172 183 $(VBOXDT_PATH_LIBDTRACE)/common/dt_lex.l 173 184 else 174 # TODO: generate this. 175 endif 185 VBoxDTraceCmd_SOURCES += \ 186 $(VBOXDT_PATH)/generated/dt_lex.c 187 endif 188 VBoxDTraceCmd_DEFS += USING_FLEX 176 189 177 190 VBoxDTraceCmd_LIBS = \ … … 194 207 $(SED) -n -f $(VBOXDT_PATH_LIBDTRACE)/common/mknames.sed --output $@ $< 195 208 196 197 209 # 198 210 # Source not used or wanted: \ … … 201 213 # 202 214 215 # 216 # Updates the sources generated by flex and biosn. 217 # The SED processing removes the paths the from #line statements. 218 # 219 vboxdtrace-update-generated-sources: \ 220 $$(VBoxDTraceCmd_0_OUTDIR)/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_grammar.c \ 221 $$(VBoxDTraceCmd_0_OUTDIR)/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_grammar.h \ 222 $$(VBoxDTraceCmd_0_OUTDIR)/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_lex.c 223 $(foreach file,dt_grammar.c dt_grammar.h dt_lex.c \ 224 ,$(NLTAB)$(SED) -e 's,$(VBOXDT_PATH_LIBDTRACE)/common/,,g'\ 225 -e 's,$(VBoxDTraceCmd_0_OUTDIR)/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/,,g' \ 226 --output $(VBOXDT_PATH)/generated/$(file) \ 227 $(VBoxDTraceCmd_0_OUTDIR)/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/$(file)) 203 228 204 229 # … … 313 338 endif # VBOX_WITH_EXTPACK_VBOXDTRACE 314 339 340 315 341 include $(FILE_KBUILD_SUB_FOOTER) 316 342
Note:
See TracChangeset
for help on using the changeset viewer.