From c98a99e6c02ff76fc8e161a0889c183ff105f725 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 28 Aug 2007 23:38:15 +0000 Subject: Basic infrastructure for socket() and bind() git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@316 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/net/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'nuttx/net/Makefile') diff --git a/nuttx/net/Makefile b/nuttx/net/Makefile index 5aeacc213..52c055014 100644 --- a/nuttx/net/Makefile +++ b/nuttx/net/Makefile @@ -14,7 +14,7 @@ # notice, this list of conditions and the following disclaimer in # the documentation and/or other materials provided with the # distribution. -# 3. Neither the name Gregory Nutt nor the names of its contributors may be +# 3. Neither the name NuttX nor the names of its contributors may be # used to endorse or promote products derived from this software # without specific prior written permission. # @@ -38,13 +38,15 @@ MKDEP = $(TOPDIR)/tools/mkdeps.sh ifeq ($(CONFIG_NET_UIP),y) +STD_ASRCS = +STD_CSRCS = socket.c bind.c include uip/Make.defs endif -ASRCS = $(UIP_ASRCS) +ASRCS = $(STD_ASRCS) $(UIP_ASRCS) AOBJS = $(ASRCS:.S=$(OBJEXT)) -CSRCS = $(UIP_CSRCS) +CSRCS = $(STD_CSRCS) $(UIP_CSRCS) COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) @@ -70,7 +72,7 @@ $(BIN): $(OBJS) .depend: Makefile $(SRCS) ifeq ($(CONFIG_NET_UIP),y) - $(MKDEP) --dep-path uip $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep + $(MKDEP) --dep-path . --dep-path uip $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep endif touch $@ -- cgit v1.2.3