| 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 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 Loading... |
| 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) |
| OLD | NEW |