summaryrefslogtreecommitdiff
path: root/nuttx/net/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-08-28 23:38:15 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-08-28 23:38:15 +0000
commitc98a99e6c02ff76fc8e161a0889c183ff105f725 (patch)
tree7aeb57be6de0efd516bdf0432d3190f849cd0b16 /nuttx/net/Makefile
parentbd0a099495db37954575879b1322cf60e06311f7 (diff)
downloadpx4-nuttx-c98a99e6c02ff76fc8e161a0889c183ff105f725.tar.gz
px4-nuttx-c98a99e6c02ff76fc8e161a0889c183ff105f725.tar.bz2
px4-nuttx-c98a99e6c02ff76fc8e161a0889c183ff105f725.zip
Basic infrastructure for socket() and bind()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@316 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/Makefile')
-rw-r--r--nuttx/net/Makefile10
1 files changed, 6 insertions, 4 deletions
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 $@