summaryrefslogtreecommitdiffstats
path: root/freebsd-userspace/Makefile
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-09-07 13:19:21 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-09-07 13:19:21 -0500
commite6fe77ef56f424b0cf72080fc37163be44f14ee8 (patch)
treef5a004ac3085edf44ccc5ed49ad947f8497c141f /freebsd-userspace/Makefile
parentAdded the ifconfig command. (diff)
downloadrtems-libbsd-e6fe77ef56f424b0cf72080fc37163be44f14ee8.tar.bz2
freebsd-userspace/Makefile: Resolve conflict so ifconfig and netstat are both here
Diffstat (limited to 'freebsd-userspace/Makefile')
-rw-r--r--freebsd-userspace/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/freebsd-userspace/Makefile b/freebsd-userspace/Makefile
index 8e8adee2..74726882 100644
--- a/freebsd-userspace/Makefile
+++ b/freebsd-userspace/Makefile
@@ -7,6 +7,7 @@ include $(PROJECT_ROOT)/make/leaf.cfg
CFLAGS += -I include
CFLAGS += -I rtems/include
CFLAGS += -I lib/libc/include
+CFLAGS += -I lib/netgraph
CFLAGS += -I sys
CFLAGS += -I local
# XXX hack to find rpc
@@ -78,6 +79,9 @@ C_FILES += lib/libc/resolv/res_send.c
C_FILES += lib/libc/resolv/res_update.c
C_FILES += lib/libc/string/strsep.c
+C_FILES += lib/libc/isc/ev_streams.c
+C_FILES += lib/libc/isc/ev_timers.c
+
# RTEMS Specific Files
# C_FILES += rtems/rtems-net-setup.c
C_FILES += rtems/syslog.c
@@ -136,6 +140,29 @@ C_FILES += commands/sbin/ifconfig/ifpfsync.c
# C_FILES += commands/sbin/ifconfig/regdomain.c
# C_FILES += commands/sbin/ifconfig/af_ipx.c
+ifeq (1,0)
+# netstat command sources
+# no need to support AppleTalk yet
+# C_FILES += commands/usr.bin/netstat/atalk.c
+C_FILES += commands/usr.bin/netstat/bpf.c
+C_FILES += commands/usr.bin/netstat/if.c
+C_FILES += commands/usr.bin/netstat/inet6.c
+C_FILES += commands/usr.bin/netstat/inet.c
+C_FILES += commands/usr.bin/netstat/ipsec.c
+# no need to support IPX yet
+# C_FILES += commands/usr.bin/netstat/ipx.c
+C_FILES += commands/usr.bin/netstat/main.c
+C_FILES += commands/usr.bin/netstat/mbuf.c
+C_FILES += commands/usr.bin/netstat/mroute6.c
+C_FILES += commands/usr.bin/netstat/mroute.c
+# Disable netgraph support - this is a long thread to pull
+# C_FILES += commands/usr.bin/netstat/netgraph.c
+C_FILES += commands/usr.bin/netstat/pfkey.c
+C_FILES += commands/usr.bin/netstat/route.c
+C_FILES += commands/usr.bin/netstat/sctp.c
+C_FILES += commands/usr.bin/netstat/unix.c
+endif
+
C_O_FILES = $(C_FILES:%.c=%.o)
C_D_FILES = $(C_FILES:%.c=%.d)