diff options
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 |