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

Side by Side Diff: ports/glibc-compat/Makefile

Issue 1226403004: Added (libevent,tor) and modified glibc-compat (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Resolved critical issues in libevent Created 5 years, 4 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
« no previous file with comments | « AUTHORS ('k') | ports/glibc-compat/src/readv.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ifeq (,$(findstring $(TOOLCHAIN),glibc bionic)) 5 ifeq (,$(findstring $(TOOLCHAIN),glibc bionic))
6 LIBC = newlib 6 LIBC = newlib
7 endif 7 endif
8 8
9 CFLAGS += -Wno-implicit-function-declaration 9 CFLAGS += -Wno-implicit-function-declaration
10 CPPFLAGS += -Werror -Wno-unused-value -pthread 10 CPPFLAGS += -Werror -Wno-unused-value -pthread
(...skipping 13 matching lines...) Expand all
24 src/in6_addr.c \ 24 src/in6_addr.c \
25 src/inet_addr.c \ 25 src/inet_addr.c \
26 src/inet_pton.c \ 26 src/inet_pton.c \
27 src/lockf.c \ 27 src/lockf.c \
28 src/mktemp.c \ 28 src/mktemp.c \
29 src/ns_name.c \ 29 src/ns_name.c \
30 src/ns_netint.c \ 30 src/ns_netint.c \
31 src/ns_samedomain.c \ 31 src/ns_samedomain.c \
32 src/qsort_r.c \ 32 src/qsort_r.c \
33 src/random.c \ 33 src/random.c \
34 src/readv.c \
34 src/realpath.c \ 35 src/realpath.c \
35 src/res_comp.c \ 36 src/res_comp.c \
36 src/res_data.c \ 37 src/res_data.c \
37 src/res_debug.c \ 38 src/res_debug.c \
38 src/res_init.c \ 39 src/res_init.c \
39 src/res_libc.c \ 40 src/res_libc.c \
40 src/res_mkquery.c \ 41 src/res_mkquery.c \
41 src/res_query.c \ 42 src/res_query.c \
42 src/res_send.c 43 src/res_send.c \
44 src/writev.c
43 45
44 OBJS := $(patsubst src/%.c,$(OUT)/%.o,$(SOURCES)) 46 OBJS := $(patsubst src/%.c,$(OUT)/%.o,$(SOURCES))
45 47
46 ifeq ($(V),1) 48 ifeq ($(V),1)
47 CXX_PREFIX = 49 CXX_PREFIX =
48 CC_PREFIX = 50 CC_PREFIX =
49 AR_PREFIX = 51 AR_PREFIX =
50 else 52 else
51 CXX_PREFIX = @echo " CXX $@"; 53 CXX_PREFIX = @echo " CXX $@";
52 CC_PREFIX = @echo " CC $@"; 54 CC_PREFIX = @echo " CC $@";
(...skipping 24 matching lines...) Expand all
77 $(OUT)/glibc_compat_test: $(OUT)/test.o $(LIB) 79 $(OUT)/glibc_compat_test: $(OUT)/test.o $(LIB)
78 @mkdir -p $(OUT) 80 @mkdir -p $(OUT)
79 $(CXX_PREFIX)$(CXX) -o $@ $< -L$(OUT) $(LDFLAGS) $(TEST_LIBS) 81 $(CXX_PREFIX)$(CXX) -o $@ $< -L$(OUT) $(LDFLAGS) $(TEST_LIBS)
80 82
81 test: $(OUT)/glibc_compat_test 83 test: $(OUT)/glibc_compat_test
82 84
83 clean: 85 clean:
84 rm -rf $(OUT) 86 rm -rf $(OUT)
85 87
86 .PHONY: test clean all 88 .PHONY: test clean all
OLDNEW
« no previous file with comments | « AUTHORS ('k') | ports/glibc-compat/src/readv.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698