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

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

Issue 557473002: Add working realpath implementation to glibc-compat (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | ports/glibc-compat/src/realpath.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 CFLAGS := -Werror -Wno-implicit-function-declaration -Wno-unused-value 5 CFLAGS := -Werror -Wno-implicit-function-declaration -Wno-unused-value
6 CFLAGS += -pthread -Iinclude -Isrc -D_LIBC 6 CFLAGS += -pthread -Iinclude -Isrc -D_LIBC
7 CFLAGS += -DNACL_SDK_VERSION=$(NACL_SDK_VERSION) 7 CFLAGS += -DNACL_SDK_VERSION=$(NACL_SDK_VERSION)
8 CFLAGS += -I$(NACL_SDK_ROOT)/include 8 CFLAGS += -I$(NACL_SDK_ROOT)/include
9 OUT := out 9 OUT := out
10 SOURCES := \ 10 SOURCES := \
11 src/getprotobyname_r.c \ 11 src/getprotobyname_r.c \
12 src/getservbyname_r.c \ 12 src/getservbyname_r.c \
13 src/herrno.c \ 13 src/herrno.c \
14 src/herror.c \ 14 src/herror.c \
15 src/in6_addr.c \ 15 src/in6_addr.c \
16 src/inet_addr.c \ 16 src/inet_addr.c \
17 src/inet_pton.c \ 17 src/inet_pton.c \
18 src/ns_name.c \ 18 src/ns_name.c \
19 src/ns_netint.c \ 19 src/ns_netint.c \
20 src/ns_samedomain.c \ 20 src/ns_samedomain.c \
21 src/qsort_r.c \ 21 src/qsort_r.c \
22 src/realpath.c \
22 src/res_comp.c \ 23 src/res_comp.c \
23 src/res_data.c \ 24 src/res_data.c \
24 src/res_debug.c \ 25 src/res_debug.c \
25 src/res_init.c \ 26 src/res_init.c \
26 src/res_libc.c \ 27 src/res_libc.c \
27 src/res_mkquery.c \ 28 src/res_mkquery.c \
28 src/res_query.c \ 29 src/res_query.c \
29 src/res_send.c \ 30 src/res_send.c \
30 src/stubs.c 31 src/stubs.c
31 32
(...skipping 13 matching lines...) Expand all
45 46
46 all: $(OUT)/libglibc-compat.a 47 all: $(OUT)/libglibc-compat.a
47 48
48 $(OUT)/libglibc-compat.a: $(OBJS) 49 $(OUT)/libglibc-compat.a: $(OBJS)
49 @echo " AR $@"; $(AR) rcs $@ $^ 50 @echo " AR $@"; $(AR) rcs $@ $^
50 51
51 .PHONY: clean all 52 .PHONY: clean all
52 53
53 clean: 54 clean:
54 rm -rf $(OUT) 55 rm -rf $(OUT)
OLDNEW
« no previous file with comments | « no previous file | ports/glibc-compat/src/realpath.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698