| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium 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 # | 5 # |
| 6 # GNU Make based build file. For details on GNU Make see: | 6 # GNU Make based build file. For details on GNU Make see: |
| 7 # http://www.gnu.org/software/make/manual/make.html | 7 # http://www.gnu.org/software/make/manual/make.html |
| 8 # | 8 # |
| 9 # | 9 # |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 NACL_SDK_ROOT?=$(abspath $(CURDIR)/../..) | 28 NACL_SDK_ROOT?=$(abspath $(CURDIR)/../..) |
| 29 include $(NACL_SDK_ROOT)/tools/common.mk | 29 include $(NACL_SDK_ROOT)/tools/common.mk |
| 30 | 30 |
| 31 | 31 |
| 32 # | 32 # |
| 33 # Target Name | 33 # Target Name |
| 34 # | 34 # |
| 35 # The base name of the final library, also the name of the NMF file containing | 35 # The base name of the final library, also the name of the NMF file containing |
| 36 # the mapping between architecture and actual NEXE. | 36 # the mapping between architecture and actual NEXE. |
| 37 # | 37 # |
| 38 TARGET=nacl_mounts | 38 TARGET=nacl_io |
| 39 | 39 |
| 40 # | 40 # |
| 41 # List of sources to compile | 41 # List of sources to compile |
| 42 # | 42 # |
| 43 SOURCES:=kernel_handle.cc kernel_intercept.cc kernel_object.cc kernel_proxy.cc | 43 SOURCES:=kernel_handle.cc kernel_intercept.cc kernel_object.cc kernel_proxy.cc |
| 44 SOURCES+=kernel_wrap_glibc.cc kernel_wrap_newlib.cc kernel_wrap_win.cc | 44 SOURCES+=kernel_wrap_glibc.cc kernel_wrap_newlib.cc kernel_wrap_win.cc |
| 45 SOURCES+=mount.cc mount_dev.cc mount_html5fs.cc mount_http.cc mount_mem.cc | 45 SOURCES+=mount.cc mount_dev.cc mount_html5fs.cc mount_http.cc mount_mem.cc |
| 46 SOURCES+=mount_node.cc mount_node_dir.cc mount_node_html5fs.cc mount_node_mem.cc | 46 SOURCES+=mount_node.cc mount_node_dir.cc mount_node_html5fs.cc mount_node_mem.cc |
| 47 SOURCES+=nacl_mounts.cc path.cc pepper_interface.cc real_pepper_interface.cc | 47 SOURCES+=nacl_io.cc path.cc pepper_interface.cc real_pepper_interface.cc |
| 48 | 48 |
| 49 # | 49 # |
| 50 # Use the compile macro for each source. | 50 # Use the compile macro for each source. |
| 51 # | 51 # |
| 52 $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src)))) | 52 $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src)))) |
| 53 | 53 |
| 54 # | 54 # |
| 55 # Use the lib macro for this target on the list of sources. | 55 # Use the lib macro for this target on the list of sources. |
| 56 # | 56 # |
| 57 $(eval $(call LIB_RULE,$(TARGET),$(SOURCES))) | 57 $(eval $(call LIB_RULE,$(TARGET),$(SOURCES))) |
| OLD | NEW |