diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-11 13:43:15 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-11 13:43:15 -0600 |
commit | 009f20e7e2493693059ea3e6a00b317dcddad94d (patch) | |
tree | a6361d468e3542f598be84c03f4237002c11eac2 /apps/netutils/dnsclient/Makefile | |
parent | 7150125fb8f7eba8ec7bf04112a6ca5cd23fc2e0 (diff) | |
download | nuttx-009f20e7e2493693059ea3e6a00b317dcddad94d.tar.gz nuttx-009f20e7e2493693059ea3e6a00b317dcddad94d.tar.bz2 nuttx-009f20e7e2493693059ea3e6a00b317dcddad94d.zip |
Breadk dnsclient.c file into three smaller files: dns_resolver.c, dns_socket.c, and dns_gethostip.c
Diffstat (limited to 'apps/netutils/dnsclient/Makefile')
-rw-r--r-- | apps/netutils/dnsclient/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/apps/netutils/dnsclient/Makefile b/apps/netutils/dnsclient/Makefile index 076fa5290..e3909ebe3 100644 --- a/apps/netutils/dnsclient/Makefile +++ b/apps/netutils/dnsclient/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/netutils/dnsclient/Makefile # -# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2012, 2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -39,34 +39,34 @@ include $(APPDIR)/Make.defs # DNS Resolver library -ASRCS = -CSRCS = +ASRCS = +CSRCS = ifeq ($(CONFIG_NET_UDP),y) -CSRCS = dnsclient.c +CSRCS = dns_resolver.c dns_socket.c dns_gethostip.c endif -AOBJS = $(ASRCS:.S=$(OBJEXT)) -COBJS = $(CSRCS:.c=$(OBJEXT)) +AOBJS = $(ASRCS:.S=$(OBJEXT)) +COBJS = $(CSRCS:.c=$(OBJEXT)) -SRCS = $(ASRCS) $(CSRCS) -OBJS = $(AOBJS) $(COBJS) +SRCS = $(ASRCS) $(CSRCS) +OBJS = $(AOBJS) $(COBJS) ifeq ($(CONFIG_WINDOWS_NATIVE),y) - BIN = ..\..\libapps$(LIBEXT) + BIN = ..\..\libapps$(LIBEXT) else ifeq ($(WINTOOL),y) - BIN = ..\\..\\libapps$(LIBEXT) + BIN = ..\\..\\libapps$(LIBEXT) else - BIN = ../../libapps$(LIBEXT) + BIN = ../../libapps$(LIBEXT) endif endif -ROOTDEPPATH = --dep-path . +ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean |