Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: libraries/nacl-mounts/Makefile

Issue 10392070: Socket subsystem implementation (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2011 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 Makefile for running nacl-mounts tests 5 # A Makefile for running nacl-mounts tests
6 # usage: 'make all' 6 # usage: 'make all'
7 # './tests_out/nacl_mounts_tests' 7 # './tests_out/nacl_mounts_tests'
8 8
9 # location of gtest 9 # location of gtest
10 GTEST_DIR = ../../testing/gtest 10 GTEST_DIR = ../../testing/gtest
11 11
12 CPPFLAGS += -I$(GTEST_DIR) -I$(GTEST_DIR)/include 12 CPPFLAGS += -I$(GTEST_DIR)
13 CXXFLAGS += -pthread -g -Wall -Werror -I$(GTEST_DIR) 13 CXXFLAGS += -pthread -g -Wall -Werror -I$(GTEST_DIR)
14 14
15 # All gtest headers 15 # All gtest headers
16 GTEST_HEADERS = $(GTEST_DIR)/include/gtest/*.h \ 16 GTEST_HEADERS = $(GTEST_DIR)/include/gtest/*.h \
17 $(GTEST_DIR)/include/gtest/internal/*.h 17 $(GTEST_DIR)/include/gtest/internal/*.h
18 18
19 # Add root of nacl-mounts to the include path 19 # Add root of nacl-mounts to the include path
20 CPPFLAGS += -I. 20 CPPFLAGS += -I.
21 21
22 UTIL_SOURCES = $(addprefix util/, Path.cc SimpleAutoLock.cc) 22 UTIL_SOURCES = $(addprefix util/, Path.cc SimpleAutoLock.cc)
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 mkdir -p $(dir $@) 64 mkdir -p $(dir $@)
65 $(AR) $(ARFLAGS) $@ $^ 65 $(AR) $(ARFLAGS) $@ $^
66 66
67 $(TESTS_OUT)/%.o: %.cc 67 $(TESTS_OUT)/%.o: %.cc
68 mkdir -p $(dir $@) 68 mkdir -p $(dir $@)
69 $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@ 69 $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
70 70
71 $(TESTS_OUT)/nacl_mounts_tests: $(OBJECTS) $(TESTS_OUT)/gtest_main.a 71 $(TESTS_OUT)/nacl_mounts_tests: $(OBJECTS) $(TESTS_OUT)/gtest_main.a
72 mkdir -p $(dir $@) 72 mkdir -p $(dir $@)
73 $(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@ 73 $(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698