| OLD | NEW |
| 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # A temporary Makefile to build the DFA-based validator, decoder, tests. This | 5 # A temporary Makefile to build the DFA-based validator, decoder, tests. This |
| 6 # will likely go away as soon we integrate with the NaCl build system(s). | 6 # will likely go away as soon we integrate with the NaCl build system(s). |
| 7 | 7 |
| 8 OUT = out | 8 OUT = out |
| 9 OUT_DIRS = $(OUT)/build/objs \ | 9 OUT_DIRS = $(OUT)/build/objs \ |
| 10 $(OUT)/tarballs \ | 10 $(OUT)/tarballs \ |
| 11 $(OUT)/timestamps \ | 11 $(OUT)/timestamps \ |
| 12 $(OUT)/test | 12 $(OUT)/test |
| 13 OBJD=$(OUT)/build/objs | 13 OBJD=$(OUT)/build/objs |
| 14 | 14 |
| 15 PYTHON2X=/usr/bin/python2.6 | 15 PYTHON2X=/usr/bin/python2.6 |
| 16 CC = gcc -std=gnu99 -Wdeclaration-after-statement -Wall -pedantic -Wextra \ | 16 CC = gcc -std=gnu99 -Wdeclaration-after-statement -Wall -pedantic -Wextra \ |
| 17 -Wno-long-long -Wswitch-enum -Wsign-compare -Wno-variadic-macros -Werror \ | 17 -Wno-long-long -Wswitch-enum -Wsign-compare -Wno-variadic-macros -Werror \ |
| 18 -O3 -finline-limit=10000 | 18 -O3 -finline-limit=10000 -I../../../../.. -DNACL_LINUX |
| 19 CXX = g++ -std=c++0x -O3 -finline-limit=10000 | 19 CXX = g++ -std=c++0x -O3 -finline-limit=10000 |
| 20 RAGEL = ragel | 20 RAGEL = ragel |
| 21 CFLAGS = -g | 21 CFLAGS = -g |
| 22 CXXFLAGS = -g | 22 CXXFLAGS = -g |
| 23 LDFLAGS = -g | 23 LDFLAGS = -g |
| 24 INST_DEFS = general-purpose-instructions.def \ | 24 INST_DEFS = general-purpose-instructions.def \ |
| 25 system-instructions.def \ | 25 system-instructions.def \ |
| 26 x87-instructions.def \ | 26 x87-instructions.def \ |
| 27 mmx-instructions.def \ | 27 mmx-instructions.def \ |
| 28 xmm-instructions.def | 28 xmm-instructions.def |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 | 270 |
| 271 .PHONY: check-ncval-impl | 271 .PHONY: check-ncval-impl |
| 272 check-ncval-impl: | 272 check-ncval-impl: |
| 273 ln -sfn ../../validator_x86/testdata | 273 ln -sfn ../../validator_x86/testdata |
| 274 $(PYTHON2X) run_ncval_tests.py \ | 274 $(PYTHON2X) run_ncval_tests.py \ |
| 275 --decoder="$(OBJD)/decoder-test" \ | 275 --decoder="$(OBJD)/decoder-test" \ |
| 276 --validator="$(OBJD)/validator-test" \ | 276 --validator="$(OBJD)/validator-test" \ |
| 277 --gas="$(GAS)" \ | 277 --gas="$(GAS)" \ |
| 278 --tmp="$(OUT)/test/" \ | 278 --tmp="$(OUT)/test/" \ |
| 279 --arch="$(TEST_ARCH)" | 279 --arch="$(TEST_ARCH)" |
| OLD | NEW |