]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
- remove automake-generated files
authorsdhsdh <sdhsdh>
Mon, 31 Aug 2009 18:06:39 +0000 (18:06 +0000)
committersdhsdh <sdhsdh>
Mon, 31 Aug 2009 18:06:39 +0000 (18:06 +0000)
 - a few other fixes

support/sdk/c/blip/configure.ac
support/sdk/c/blip/driver/nwstate.c
support/sdk/c/blip/driver/radvd-1.0/Makefile [deleted file]
support/sdk/c/blip/driver/radvd-1.0/config.cache [deleted file]
support/sdk/c/blip/driver/radvd-1.0/config.h [deleted file]
support/sdk/c/blip/driver/radvd-1.0/config.log [deleted file]
support/sdk/c/blip/driver/radvd-1.0/config.status [deleted file]
support/sdk/c/blip/driver/radvd-1.0/device.c
support/sdk/c/blip/lib6lowpan/lib6lowpan.h
support/sdk/c/blip/lib6lowpan/nwbyte.h [new file with mode: 0644]

index a5258ce2e5ae423a2c4bb95e578b3619d8b0f362..38d485e921945811200a8d0c3d67b4b81bd742f6 100644 (file)
@@ -9,5 +9,12 @@ AC_CONFIG_FILES([
  lib6lowpan/Makefile
  driver/Makefile
 ])
+
+AC_ARG_ENABLE([lpl],
+        [AS_HELP_STRING([--enable-lpl], [assume LPL is in use])],
+        AC_DEFINE([BLIP_L2_RETRIES], [1], [Number of link-layer retransmissions])
+        [])
+
+
 AC_CONFIG_SUBDIRS([driver/radvd-1.0])
-AC_OUTPUT
\ No newline at end of file
+AC_OUTPUT
index 7a08edebe68608537e38a2b08217433577e224cf..822b2551ccd918bfb1c11a1c45e300119edef1f3 100644 (file)
@@ -132,8 +132,13 @@ void nw_print_links(int fd, int argc, char **argv) {
   router_t *r;
   link_t *l;
 
-  if (argc == 2)
-    target = atoi(argv[1]);
+  if (argc == 2) {
+    if (sscanf(argv[1], "%i", &target) == 0) {
+      VTY_printf("invalid node\r\n");
+      VTY_flush();
+      return;
+    }
+  }
 
   for (r = router_list; r != NULL; r = r->next) {
     char flags[16]; int pos = 0;
diff --git a/support/sdk/c/blip/driver/radvd-1.0/Makefile b/support/sdk/c/blip/driver/radvd-1.0/Makefile
deleted file mode 100644 (file)
index 647d35b..0000000
+++ /dev/null
@@ -1,572 +0,0 @@
-# Generated automatically from Makefile.in by configure.
-# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
-
-# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-#
-#   $Id$
-#
-#   Authors:
-#    Lars Fenneberg            <lf@elemental.net>       
-#
-#   This software is Copyright 1996,1997 by the above mentioned author(s), 
-#   All Rights Reserved.
-#
-#   The license which is distributed with this software in the file COPYRIGHT
-#   applies to this software. If your distribution is missing this file, you
-#   may request it from <pekkas@netcore.fi>.
-#
-
-
-SHELL = /bin/sh
-
-srcdir = .
-top_srcdir = .
-prefix = /usr/local
-exec_prefix = ${prefix}
-
-bindir = ${exec_prefix}/bin
-sbindir = ${exec_prefix}/sbin
-libexecdir = ${exec_prefix}/libexec
-datadir = ${prefix}/share
-sysconfdir = ${prefix}/etc
-sharedstatedir = ${prefix}/com
-localstatedir = ${prefix}/var
-libdir = ${exec_prefix}/lib
-infodir = ${prefix}/info
-mandir = ${prefix}/man
-includedir = ${prefix}/include
-oldincludedir = /usr/include
-
-DESTDIR =
-
-pkgdatadir = $(datadir)/radvd
-pkglibdir = $(libdir)/radvd
-pkgincludedir = $(includedir)/radvd
-
-top_builddir = .
-
-ACLOCAL = aclocal
-AUTOCONF = autoconf
-AUTOMAKE = automake
-AUTOHEADER = autoheader
-
-INSTALL = /usr/bin/install -c
-INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
-INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_SCRIPT = ${INSTALL_PROGRAM}
-transform = s,x,x,
-
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_alias = x86_64-unknown-linux-gnu
-build_triplet = x86_64-unknown-linux-gnu
-host_alias = x86_64-unknown-linux-gnu
-host_triplet = x86_64-unknown-linux-gnu
-target_alias = x86_64-unknown-linux-gnu
-target_triplet = x86_64-unknown-linux-gnu
-CC = gcc
-GZIP = /bin/gzip
-LEX = flex
-LN = /bin/ln
-LOG_FACILITY = LOG_DAEMON
-MAKEINFO = makeinfo
-PACKAGE = radvd
-PATH_RADVD_CONF = ${prefix}/etc/radvd.conf
-PATH_RADVD_LOG = /var/log/radvd.log
-PATH_RADVD_PID = /var/run/radvd.pid
-RM = /bin/rm
-SED = /bin/sed
-TAR = /bin/tar
-VERSION = 1.0
-YACC = bison -y
-
-AUTOMAKE_OPTIONS = 1.2 foreign
-
-DEFS = -DPATH_RADVD_CONF=\"$(PATH_RADVD_CONF)\" \
-       -DPATH_RADVD_LOG=\"$(PATH_RADVD_LOG)\" -DLOG_FACILITY=$(LOG_FACILITY) \
-       -DPATH_RADVD_PID=\"$(PATH_RADVD_PID)\" \
-       -DVERSION=\"$(VERSION)\" -DINET6=1
-
-INCLUDES = -I$(srcdir) -I.
-
-########################################################################
-
-COMMON_SRC = log.c socket.c recv.c util.c radvd.h defaults.h pathnames.h \
-       includes.h
-
-
-sbin_PROGRAMS = radvd radvdump
-
-radvd_SOURCES = $(COMMON_SRC) radvd.c timer.c send.c process.c interface.c \
-       device.c device-common.c gram.y gram.h scanner.l
-
-radvd_LDADD = -lfl
-EXTRA_radvd_SOURCES = device-linux.c device-bsd44.c
-YFLAGS = -d
-CFLAGS = -g -O2 -Wall -Wpointer-arith  -Wcast-qual -Wcast-align -Wconversion \
-       -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-
-
-radvdump_SOURCES = $(COMMON_SRC) radvdump.c
-
-man_MANS = radvd.8 radvdump.8 radvd.conf.5
-EXTRA_DIST = radvd.8.man radvdump.8.man radvd.conf.5.man VERSION CHANGES \
-       COPYRIGHT INTRO.html copyright.blurb radvd.conf.example
-
-BUILT_SOURCES = device.c
-
-CLEANFILES = radvd.8 radvdump.8 radvd.conf.5
-DISTCLEANFILES = device.c
-
-SUFFIXES = .man
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = 
-PROGRAMS =  $(sbin_PROGRAMS)
-
-CPPFLAGS = 
-LDFLAGS = 
-LIBS = -lc 
-radvd_OBJECTS =  log.o socket.o recv.o util.o radvd.o timer.o send.o \
-process.o interface.o device.o device-common.o gram.o scanner.o
-radvd_DEPENDENCIES = 
-radvd_LDFLAGS = 
-radvdump_OBJECTS =  log.o socket.o recv.o util.o radvdump.o
-radvdump_LDADD = $(LDADD)
-radvdump_DEPENDENCIES = 
-radvdump_LDFLAGS = 
-LEX_OUTPUT_ROOT = lex.yy
-LEXLIB = -lfl
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-man5dir = $(mandir)/man5
-man8dir = $(mandir)/man8
-MANS = $(man_MANS)
-
-NROFF = nroff
-DIST_COMMON =  README ./stamp-h.in Makefile.am Makefile.in TODO \
-aclocal.m4 config.guess config.h.in config.sub configure configure.in \
-gram.c install-sh missing mkinstalldirs scanner.c
-
-
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-GZIP_ENV = --best
-DEP_FILES =  .deps/device-bsd44.P .deps/device-common.P \
-.deps/device-linux.P .deps/device.P .deps/gram.P .deps/interface.P \
-.deps/log.P .deps/process.P .deps/radvd.P .deps/radvdump.P .deps/recv.P \
-.deps/scanner.P .deps/send.P .deps/socket.P .deps/timer.P .deps/util.P
-SOURCES = $(radvd_SOURCES) $(EXTRA_radvd_SOURCES) $(radvdump_SOURCES)
-OBJECTS = $(radvd_OBJECTS) $(radvdump_OBJECTS)
-
-all: all-redirect
-.SUFFIXES:
-.SUFFIXES: .S .c .l .man .o .s .y
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
-       cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
-
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
-       cd $(top_builddir) \
-         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-$(ACLOCAL_M4):  configure.in 
-       cd $(srcdir) && $(ACLOCAL)
-
-config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       $(SHELL) ./config.status --recheck
-$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
-       cd $(srcdir) && $(AUTOCONF)
-
-config.h: stamp-h
-       @if test ! -f $@; then \
-               rm -f stamp-h; \
-               $(MAKE) stamp-h; \
-       else :; fi
-stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
-       cd $(top_builddir) \
-         && CONFIG_FILES= CONFIG_HEADERS=config.h \
-            $(SHELL) ./config.status
-       @echo timestamp > stamp-h 2> /dev/null
-$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
-       @if test ! -f $@; then \
-               rm -f $(srcdir)/stamp-h.in; \
-               $(MAKE) $(srcdir)/stamp-h.in; \
-       else :; fi
-$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 
-       cd $(top_srcdir) && $(AUTOHEADER)
-       @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
-
-mostlyclean-hdr:
-
-clean-hdr:
-
-distclean-hdr:
-       -rm -f config.h
-
-maintainer-clean-hdr:
-
-mostlyclean-sbinPROGRAMS:
-
-clean-sbinPROGRAMS:
-       -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
-
-distclean-sbinPROGRAMS:
-
-maintainer-clean-sbinPROGRAMS:
-
-install-sbinPROGRAMS: $(sbin_PROGRAMS)
-       @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(sbindir)
-       @list='$(sbin_PROGRAMS)'; for p in $$list; do \
-         if test -f $$p; then \
-           echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
-            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
-         else :; fi; \
-       done
-
-uninstall-sbinPROGRAMS:
-       @$(NORMAL_UNINSTALL)
-       list='$(sbin_PROGRAMS)'; for p in $$list; do \
-         rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
-       done
-
-.s.o:
-       $(COMPILE) -c $<
-
-.S.o:
-       $(COMPILE) -c $<
-
-mostlyclean-compile:
-       -rm -f *.o core *.core
-
-clean-compile:
-
-distclean-compile:
-       -rm -f *.tab.c
-
-maintainer-clean-compile:
-
-radvd: $(radvd_OBJECTS) $(radvd_DEPENDENCIES)
-       @rm -f radvd
-       $(LINK) $(radvd_LDFLAGS) $(radvd_OBJECTS) $(radvd_LDADD) $(LIBS)
-
-radvdump: $(radvdump_OBJECTS) $(radvdump_DEPENDENCIES)
-       @rm -f radvdump
-       $(LINK) $(radvdump_LDFLAGS) $(radvdump_OBJECTS) $(radvdump_LDADD) $(LIBS)
-.l.c:
-       $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
-.y.c:
-       $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
-       if test -f y.tab.h; then \
-       if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
-       else :; fi
-gram.h: gram.c
-
-
-install-man5:
-       $(mkinstalldirs) $(DESTDIR)$(man5dir)
-       @list='$(man5_MANS)'; \
-       l2='$(man_MANS)'; for i in $$l2; do \
-         case "$$i" in \
-           *.5*) list="$$list $$i" ;; \
-         esac; \
-       done; \
-       for i in $$list; do \
-         if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
-         else file=$$i; fi; \
-         ext=`echo $$i | sed -e 's/^.*\\.//'`; \
-         inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
-         inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-         echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
-         $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
-       done
-
-uninstall-man5:
-       @list='$(man5_MANS)'; \
-       l2='$(man_MANS)'; for i in $$l2; do \
-         case "$$i" in \
-           *.5*) list="$$list $$i" ;; \
-         esac; \
-       done; \
-       for i in $$list; do \
-         ext=`echo $$i | sed -e 's/^.*\\.//'`; \
-         inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
-         inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-         echo " rm -f $(DESTDIR)$(man5dir)/$$inst"; \
-         rm -f $(DESTDIR)$(man5dir)/$$inst; \
-       done
-
-install-man8:
-       $(mkinstalldirs) $(DESTDIR)$(man8dir)
-       @list='$(man8_MANS)'; \
-       l2='$(man_MANS)'; for i in $$l2; do \
-         case "$$i" in \
-           *.8*) list="$$list $$i" ;; \
-         esac; \
-       done; \
-       for i in $$list; do \
-         if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
-         else file=$$i; fi; \
-         ext=`echo $$i | sed -e 's/^.*\\.//'`; \
-         inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
-         inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-         echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
-         $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
-       done
-
-uninstall-man8:
-       @list='$(man8_MANS)'; \
-       l2='$(man_MANS)'; for i in $$l2; do \
-         case "$$i" in \
-           *.8*) list="$$list $$i" ;; \
-         esac; \
-       done; \
-       for i in $$list; do \
-         ext=`echo $$i | sed -e 's/^.*\\.//'`; \
-         inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
-         inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-         echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
-         rm -f $(DESTDIR)$(man8dir)/$$inst; \
-       done
-install-man: $(MANS)
-       @$(NORMAL_INSTALL)
-       $(MAKE) $(AM_MAKEFLAGS) install-man5 install-man8
-uninstall-man:
-       @$(NORMAL_UNINSTALL)
-       $(MAKE) $(AM_MAKEFLAGS) uninstall-man5 uninstall-man8
-
-tags: TAGS
-
-ID: $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS)'; \
-       unique=`for i in $$list; do echo $$i; done | \
-         awk '    { files[$$0] = 1; } \
-              END { for (i in files) print i; }'`; \
-       here=`pwd` && cd $(srcdir) \
-         && mkid -f$$here/ID $$unique $(LISP)
-
-TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
-       tags=; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)'; \
-       unique=`for i in $$list; do echo $$i; done | \
-         awk '    { files[$$0] = 1; } \
-              END { for (i in files) print i; }'`; \
-       test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
-         || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
-
-mostlyclean-tags:
-
-clean-tags:
-
-distclean-tags:
-       -rm -f TAGS ID
-
-maintainer-clean-tags:
-
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-
-# This target untars the dist file and tries a VPATH configuration.  Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
-       -rm -rf $(distdir)
-       GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
-       mkdir $(distdir)/=build
-       mkdir $(distdir)/=inst
-       dc_install_base=`cd $(distdir)/=inst && pwd`; \
-       cd $(distdir)/=build \
-         && ../configure --srcdir=.. --prefix=$$dc_install_base \
-         && $(MAKE) $(AM_MAKEFLAGS) \
-         && $(MAKE) $(AM_MAKEFLAGS) dvi \
-         && $(MAKE) $(AM_MAKEFLAGS) check \
-         && $(MAKE) $(AM_MAKEFLAGS) install \
-         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
-         && $(MAKE) $(AM_MAKEFLAGS) dist
-       -rm -rf $(distdir)
-       @banner="$(distdir).tar.gz is ready for distribution"; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"
-dist: distdir
-       -chmod -R a+r $(distdir)
-       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-       -rm -rf $(distdir)
-dist-all: distdir
-       -chmod -R a+r $(distdir)
-       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-       -rm -rf $(distdir)
-distdir: $(DISTFILES)
-       -rm -rf $(distdir)
-       mkdir $(distdir)
-       -chmod 777 $(distdir)
-       here=`cd $(top_builddir) && pwd`; \
-       top_distdir=`cd $(distdir) && pwd`; \
-       distdir=`cd $(distdir) && pwd`; \
-       cd $(top_srcdir) \
-         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pr $$d/$$file $(distdir)/$$file; \
-         else \
-           test -f $(distdir)/$$file \
-           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
-           || cp -p $$d/$$file $(distdir)/$$file || :; \
-         fi; \
-       done
-       $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
-
-DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
-
--include $(DEP_FILES)
-
-mostlyclean-depend:
-
-clean-depend:
-
-distclean-depend:
-       -rm -rf .deps
-
-maintainer-clean-depend:
-
-%.o: %.c
-       @echo '$(COMPILE) -c $<'; \
-       $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
-       @-cp .deps/$(*F).pp .deps/$(*F).P; \
-       tr ' ' '\012' < .deps/$(*F).pp \
-         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-           >> .deps/$(*F).P; \
-       rm .deps/$(*F).pp
-
-%.lo: %.c
-       @echo '$(LTCOMPILE) -c $<'; \
-       $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
-       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
-         < .deps/$(*F).pp > .deps/$(*F).P; \
-       tr ' ' '\012' < .deps/$(*F).pp \
-         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-           >> .deps/$(*F).P; \
-       rm -f .deps/$(*F).pp
-info-am:
-info: info-am
-dvi-am:
-dvi: dvi-am
-check-am: all-am
-check: check-am
-installcheck-am:
-installcheck: installcheck-am
-all-recursive-am: config.h
-       $(MAKE) $(AM_MAKEFLAGS) all-recursive
-
-install-exec-am: install-sbinPROGRAMS
-install-exec: install-exec-am
-
-install-data-am: install-man
-install-data: install-data-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-am
-uninstall-am: uninstall-sbinPROGRAMS uninstall-man
-uninstall: uninstall-am
-all-am: Makefile $(PROGRAMS) $(MANS) config.h
-all-redirect: all-am
-install-strip:
-       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
-installdirs:
-       $(mkinstalldirs)  $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man5 \
-               $(DESTDIR)$(mandir)/man8
-
-
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -rm -f Makefile $(CONFIG_CLEAN_FILES)
-       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
-       -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
-maintainer-clean-generic:
-       -test -z "scannerlgramhgramc$(BUILT_SOURCES)" || rm -f scannerl gramh gramc $(BUILT_SOURCES)
-mostlyclean-am:  mostlyclean-hdr mostlyclean-sbinPROGRAMS \
-               mostlyclean-compile mostlyclean-tags mostlyclean-depend \
-               mostlyclean-generic
-
-mostlyclean: mostlyclean-am
-
-clean-am:  clean-hdr clean-sbinPROGRAMS clean-compile clean-tags \
-               clean-depend clean-generic mostlyclean-am
-
-clean: clean-am
-
-distclean-am:  distclean-hdr distclean-sbinPROGRAMS distclean-compile \
-               distclean-tags distclean-depend distclean-generic \
-               clean-am
-
-distclean: distclean-am
-       -rm -f config.status
-
-maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-sbinPROGRAMS \
-               maintainer-clean-compile maintainer-clean-tags \
-               maintainer-clean-depend maintainer-clean-generic \
-               distclean-am
-       @echo "This command is intended for maintainers to use;"
-       @echo "it deletes files that may require special tools to rebuild."
-
-maintainer-clean: maintainer-clean-am
-       -rm -f config.status
-
-.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
-mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS clean-sbinPROGRAMS \
-maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
-install-sbinPROGRAMS mostlyclean-compile distclean-compile \
-clean-compile maintainer-clean-compile install-man5 uninstall-man5 \
-install-man8 uninstall-man8 install-man uninstall-man tags \
-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
-distdir mostlyclean-depend distclean-depend clean-depend \
-maintainer-clean-depend info-am info dvi-am dvi check check-am \
-installcheck-am installcheck all-recursive-am install-exec-am \
-install-exec install-data-am install-data install-am install \
-uninstall-am uninstall all-redirect all-am all installdirs \
-mostlyclean-generic distclean-generic clean-generic \
-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
-
-
-.man:
-       $(SED)  -e 's,@''VERSION''@,$(VERSION),g' \
-               -e 's,@''sbindir''@,$(sbindir),g' \
-               -e 's,@''PATH_RADVD_CONF''@,$(PATH_RADVD_CONF),g' \
-               -e 's,@''PATH_RADVD_PID''@,$(PATH_RADVD_PID),g' \
-               -e 's,@''PATH_RADVD_LOG''@,$(PATH_RADVD_LOG),g' \
-               -e 's,@''LOG_FACILITY''@,$(LOG_FACILITY),g' \
-               $< > $@
-
-dist-hook:
-       rm -f $(distdir)/device.c       
-       mkdir $(distdir)/redhat
-       cp -p $(srcdir)/redhat/radvd.init $(srcdir)/redhat/radvd.spec \
-               $(srcdir)/redhat/radvd.sysconfig $(distdir)/redhat
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/support/sdk/c/blip/driver/radvd-1.0/config.cache b/support/sdk/c/blip/driver/radvd-1.0/config.cache
deleted file mode 100644 (file)
index c9dfd23..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs.  It is not useful on other systems.
-# If it contains results you don't want to keep, you may remove or edit it.
-#
-# By default, configure uses ./config.cache as the cache file,
-# creating it if it does not exist already.  You can give configure
-# the --cache-file=FILE option to use a different cache file; that is
-# what configure does when it calls configure scripts in
-# subdirectories, so they share the cache.
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
-# config.status only pays attention to the cache file if you give it the
-# --recheck option to rerun configure.
-#
-ac_cv_c_const=${ac_cv_c_const=yes}
-ac_cv_func_getopt_long=${ac_cv_func_getopt_long=yes}
-ac_cv_header_getopt_h=${ac_cv_header_getopt_h=yes}
-ac_cv_header_inttypes_h=${ac_cv_header_inttypes_h=yes}
-ac_cv_header_machine_limits_h=${ac_cv_header_machine_limits_h=no}
-ac_cv_header_machine_param_h=${ac_cv_header_machine_param_h=no}
-ac_cv_header_net_if_arp_h=${ac_cv_header_net_if_arp_h=yes}
-ac_cv_header_net_if_dl_h=${ac_cv_header_net_if_dl_h=no}
-ac_cv_header_net_if_types_h=${ac_cv_header_net_if_types_h=no}
-ac_cv_header_netinet_ip6_h=${ac_cv_header_netinet_ip6_h=yes}
-ac_cv_header_stdc=${ac_cv_header_stdc=yes}
-ac_cv_header_sys_param_h=${ac_cv_header_sys_param_h=yes}
-ac_cv_header_sys_sockio_h=${ac_cv_header_sys_sockio_h=no}
-ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes}
-ac_cv_header_time=${ac_cv_header_time=yes}
-ac_cv_lib_c_inet_ntop=${ac_cv_lib_c_inet_ntop=yes}
-ac_cv_lib_fl_yywrap=${ac_cv_lib_fl_yywrap=yes}
-ac_cv_path_GZIP=${ac_cv_path_GZIP=/bin/gzip}
-ac_cv_path_LN=${ac_cv_path_LN=/bin/ln}
-ac_cv_path_RM=${ac_cv_path_RM=/bin/rm}
-ac_cv_path_SED=${ac_cv_path_SED=/bin/sed}
-ac_cv_path_TAR=${ac_cv_path_TAR=/bin/tar}
-ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
-ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
-ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
-ac_cv_prog_LEX=${ac_cv_prog_LEX=flex}
-ac_cv_prog_YACC=${ac_cv_prog_YACC='bison -y'}
-ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
-ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
-ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
-ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
-ac_cv_prog_lex_root=${ac_cv_prog_lex_root=lex.yy}
-ac_cv_prog_lex_yytext_pointer=${ac_cv_prog_lex_yytext_pointer=yes}
-ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
diff --git a/support/sdk/c/blip/driver/radvd-1.0/config.h b/support/sdk/c/blip/driver/radvd-1.0/config.h
deleted file mode 100644 (file)
index efd4219..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * "Copyright (c) 2008, 2009 The Regents of the University  of California.
- * All rights reserved."
- *
- * Permission to use, copy, modify, and distribute this software and its
- * documentation for any purpose, without fee, and without written agreement is
- * hereby granted, provided that the above copyright notice, the following
- * two paragraphs and the author appear in all copies of this software.
- *
- * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
- * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
- * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
- * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
- * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
- * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
- *
- */
-/* config.h.  Generated automatically by configure.  */
-/* config.h.in.  Generated automatically from configure.in by autoheader.  */
-
-/* Define to empty if the keyword does not work.  */
-/* #undef const */
-
-/* Define if you have the ANSI C header files.  */
-#define STDC_HEADERS 1
-
-/* Define if you can safely include both <sys/time.h> and <time.h>.  */
-#define TIME_WITH_SYS_TIME 1
-
-/* Define if lex declares yytext as a char * by default, not a char[].  */
-#define YYTEXT_POINTER 1
-
-/* Define if you have the getopt_long function.  */
-#define HAVE_GETOPT_LONG 1
-
-/* Define if you have the <getopt.h> header file.  */
-#define HAVE_GETOPT_H 1
-
-/* Define if you have the <inttypes.h> header file.  */
-#define HAVE_INTTYPES_H 1
-
-/* Define if you have the <machine/limits.h> header file.  */
-/* #undef HAVE_MACHINE_LIMITS_H */
-
-/* Define if you have the <machine/param.h> header file.  */
-/* #undef HAVE_MACHINE_PARAM_H */
-
-/* Define if you have the <net/if_arp.h> header file.  */
-#define HAVE_NET_IF_ARP_H 1
-
-/* Define if you have the <net/if_dl.h> header file.  */
-/* #undef HAVE_NET_IF_DL_H */
-
-/* Define if you have the <net/if_types.h> header file.  */
-/* #undef HAVE_NET_IF_TYPES_H */
-
-/* Define if you have the <sys/param.h> header file.  */
-#define HAVE_SYS_PARAM_H 1
-
-/* Define if you have the <sys/sockio.h> header file.  */
-/* #undef HAVE_SYS_SOCKIO_H */
-
-/* Define if you have the <sys/time.h> header file.  */
-#define HAVE_SYS_TIME_H 1
-
-/* Define if you have the c library (-lc).  */
-#define HAVE_LIBC 1
-
-/* whether struct sockaddr_in6 has sin6_scope_id */
-#define HAVE_SIN6_SCOPE_ID 1
-
-/* whether struct in6_addr has u6_addrXX and defines s6_addrXX */
-#define HAVE_IN6_ADDR_S6_ADDR 1
-
diff --git a/support/sdk/c/blip/driver/radvd-1.0/config.log b/support/sdk/c/blip/driver/radvd-1.0/config.log
deleted file mode 100644 (file)
index b2a9a4d..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-configure:609: checking host system type
-configure:630: checking target system type
-configure:648: checking build system type
-configure:683: checking for a BSD compatible install
-configure:736: checking whether build environment is sane
-configure:793: checking whether make sets ${MAKE}
-configure:832: checking for working aclocal
-configure:845: checking for working autoconf
-configure:858: checking for working automake
-configure:871: checking for working autoheader
-configure:884: checking for working makeinfo
-configure:919: checking for gcc
-configure:1032: checking whether the C compiler (gcc  ) works
-configure:1048: gcc -o conftest    conftest.c  1>&5
-configure:1074: checking whether the C compiler (gcc  ) is a cross-compiler
-configure:1079: checking whether we are using GNU C
-configure:1088: gcc -E conftest.c
-configure:1107: checking whether gcc accepts -g
-configure:1151: checking for a BSD compatible install
-configure:1206: checking for rm
-configure:1245: checking for sed
-configure:1284: checking for ln
-configure:1321: checking for bison
-configure:1352: checking how to run the C preprocessor
-configure:1373: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:1437: checking for flex
-configure:1470: checking for flex
-configure:1504: checking for yywrap in -lfl
-configure:1523: gcc -o conftest -g -O2   conftest.c -lfl   1>&5
-configure:1546: checking lex output file root
-configure:1567: checking whether yytext is a pointer
-configure:1586: gcc -o conftest -g -O2   conftest.c  -lfl 1>&5
-configure:1610: checking for tar
-configure:1645: checking for gzip
-configure:1679: checking where to put logfile
-configure:1691: checking where to put pidfile
-configure:1703: checking where to find configfile
-configure:1715: checking which syslog facility to use
-configure:1728: checking for inet_ntop in -lc
-configure:1747: gcc -o conftest -g -O2   conftest.c -lc   1>&5
-configure:1822: checking for ANSI C header files
-configure:1835: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:1902: gcc -o conftest -g -O2   conftest.c -lc  1>&5
-configure: In function 'main':
-configure:1897: warning: incompatible implicit declaration of built-in function 'exit'
-configure:1929: checking for sys/time.h
-configure:1939: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:1966: checking whether time.h and sys/time.h may both be included
-configure:1980: gcc -c -g -O2  conftest.c 1>&5
-configure:2003: checking for netinet/ip6.h
-configure:2013: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2082: checking for sys/sockio.h
-configure:2092: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2088:24: error: sys/sockio.h: No such file or directory
-configure: failed program was:
-#line 2087 "configure"
-#include "confdefs.h"
-#include <sys/sockio.h>
-configure:2082: checking for getopt.h
-configure:2092: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2082: checking for inttypes.h
-configure:2092: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2122: checking for net/if_dl.h
-configure:2132: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2128:23: error: net/if_dl.h: No such file or directory
-configure: failed program was:
-#line 2127 "configure"
-#include "confdefs.h"
-#include <net/if_dl.h>
-configure:2122: checking for net/if_types.h
-configure:2132: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2128:26: error: net/if_types.h: No such file or directory
-configure: failed program was:
-#line 2127 "configure"
-#include "confdefs.h"
-#include <net/if_types.h>
-configure:2122: checking for net/if_arp.h
-configure:2132: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2162: checking for sys/param.h
-configure:2172: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2202: checking for machine/param.h
-configure:2212: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2208:27: error: machine/param.h: No such file or directory
-configure: failed program was:
-#line 2207 "configure"
-#include "confdefs.h"
-#include <machine/param.h>
-configure:2242: checking for machine/limits.h
-configure:2252: gcc -E  conftest.c >/dev/null 2>conftest.out
-configure:2248:28: error: machine/limits.h: No such file or directory
-configure: failed program was:
-#line 2247 "configure"
-#include "confdefs.h"
-#include <machine/limits.h>
-configure:2280: checking for working const
-configure:2334: gcc -c -g -O2  conftest.c 1>&5
-configure:2356: checking whether struct sockaddr_in6 has sin6_scope_id
-configure:2367: gcc -c -g -O2  conftest.c 1>&5
-configure:2382: checking whether struct in6_addr has u6_addrXX and defines s6_addrXX
-configure:2392: gcc -c -g -O2  conftest.c 1>&5
-configure: In function 'main':
-configure:2388: warning: initialization makes integer from pointer without a cast
-configure:2409: checking for getopt_long
-configure:2437: gcc -o conftest -g -O2   conftest.c -lc  1>&5
diff --git a/support/sdk/c/blip/driver/radvd-1.0/config.status b/support/sdk/c/blip/driver/radvd-1.0/config.status
deleted file mode 100755 (executable)
index 4eaf46d..0000000
+++ /dev/null
@@ -1,353 +0,0 @@
-#! /bin/sh
-# Generated automatically by configure.
-# Run this file to recreate the current configuration.
-# This directory was configured as follows,
-# on host jackalope.cs.berkeley.edu:
-#
-# ./configure 
-#
-# Compiler output produced by configure, useful for debugging
-# configure, is in ./config.log if it exists.
-
-ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
-for ac_option
-do
-  case "$ac_option" in
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-    echo "running ${CONFIG_SHELL-/bin/sh} ./configure  --no-create --no-recursion"
-    exec ${CONFIG_SHELL-/bin/sh} ./configure  --no-create --no-recursion ;;
-  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
-    echo "./config.status generated by autoconf version 2.13"
-    exit 0 ;;
-  -help | --help | --hel | --he | --h)
-    echo "$ac_cs_usage"; exit 0 ;;
-  *) echo "$ac_cs_usage"; exit 1 ;;
-  esac
-done
-
-ac_given_srcdir=.
-ac_given_INSTALL="/usr/bin/install -c"
-
-trap 'rm -fr Makefile config.h conftest*; exit 1' 1 2 15
-
-# Protect against being on the right side of a sed subst in config.status.
-sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
- s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
-/^[    ]*VPATH[        ]*=[^:]*$/d
-
-s%@SHELL@%/bin/sh%g
-s%@CFLAGS@%-g -O2%g
-s%@CPPFLAGS@%%g
-s%@CXXFLAGS@%%g
-s%@FFLAGS@%%g
-s%@DEFS@%-DHAVE_CONFIG_H%g
-s%@LDFLAGS@%%g
-s%@LIBS@%-lc %g
-s%@exec_prefix@%${prefix}%g
-s%@prefix@%/usr/local%g
-s%@program_transform_name@%s,x,x,%g
-s%@bindir@%${exec_prefix}/bin%g
-s%@sbindir@%${exec_prefix}/sbin%g
-s%@libexecdir@%${exec_prefix}/libexec%g
-s%@datadir@%${prefix}/share%g
-s%@sysconfdir@%${prefix}/etc%g
-s%@sharedstatedir@%${prefix}/com%g
-s%@localstatedir@%${prefix}/var%g
-s%@libdir@%${exec_prefix}/lib%g
-s%@includedir@%${prefix}/include%g
-s%@oldincludedir@%/usr/include%g
-s%@infodir@%${prefix}/info%g
-s%@mandir@%${prefix}/man%g
-s%@host@%x86_64-unknown-linux-gnu%g
-s%@host_alias@%x86_64-unknown-linux-gnu%g
-s%@host_cpu@%x86_64%g
-s%@host_vendor@%unknown%g
-s%@host_os@%linux-gnu%g
-s%@target@%x86_64-unknown-linux-gnu%g
-s%@target_alias@%x86_64-unknown-linux-gnu%g
-s%@target_cpu@%x86_64%g
-s%@target_vendor@%unknown%g
-s%@target_os@%linux-gnu%g
-s%@build@%x86_64-unknown-linux-gnu%g
-s%@build_alias@%x86_64-unknown-linux-gnu%g
-s%@build_cpu@%x86_64%g
-s%@build_vendor@%unknown%g
-s%@build_os@%linux-gnu%g
-s%@INSTALL_PROGRAM@%${INSTALL}%g
-s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
-s%@INSTALL_DATA@%${INSTALL} -m 644%g
-s%@PACKAGE@%radvd%g
-s%@VERSION@%1.0%g
-s%@ACLOCAL@%aclocal%g
-s%@AUTOCONF@%autoconf%g
-s%@AUTOMAKE@%automake%g
-s%@AUTOHEADER@%autoheader%g
-s%@MAKEINFO@%makeinfo%g
-s%@SET_MAKE@%%g
-s%@CC@%gcc%g
-s%@RM@%/bin/rm%g
-s%@SED@%/bin/sed%g
-s%@LN@%/bin/ln%g
-s%@YACC@%bison -y%g
-s%@LEX@%flex%g
-s%@LEXLIB@%-lfl%g
-s%@CPP@%gcc -E%g
-s%@LEX_OUTPUT_ROOT@%lex.yy%g
-s%@TAR@%/bin/tar%g
-s%@GZIP@%/bin/gzip%g
-s%@PATH_RADVD_CONF@%${prefix}/etc/radvd.conf%g
-s%@PATH_RADVD_PID@%/var/run/radvd.pid%g
-s%@PATH_RADVD_LOG@%/var/log/radvd.log%g
-s%@LOG_FACILITY@%LOG_DAEMON%g
-
-CEOF
-
-# Split the substitutions into bite-sized pieces for seds with
-# small command number limits, like on Digital OSF/1 and HP-UX.
-ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
-ac_file=1 # Number of current file.
-ac_beg=1 # First line for current file.
-ac_end=$ac_max_sed_cmds # Line after last line for current file.
-ac_more_lines=:
-ac_sed_cmds=""
-while $ac_more_lines; do
-  if test $ac_beg -gt 1; then
-    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
-  else
-    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
-  fi
-  if test ! -s conftest.s$ac_file; then
-    ac_more_lines=false
-    rm -f conftest.s$ac_file
-  else
-    if test -z "$ac_sed_cmds"; then
-      ac_sed_cmds="sed -f conftest.s$ac_file"
-    else
-      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
-    fi
-    ac_file=`expr $ac_file + 1`
-    ac_beg=$ac_end
-    ac_end=`expr $ac_end + $ac_max_sed_cmds`
-  fi
-done
-if test -z "$ac_sed_cmds"; then
-  ac_sed_cmds=cat
-fi
-
-CONFIG_FILES=${CONFIG_FILES-"Makefile"}
-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
-  case "$ac_file" in
-  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
-       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
-  *) ac_file_in="${ac_file}.in" ;;
-  esac
-
-  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
-
-  # Remove last slash and all that follows it.  Not all systems have dirname.
-  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
-  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
-    # The file is in a subdirectory.
-    test ! -d "$ac_dir" && mkdir "$ac_dir"
-    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
-    # A "../" for each directory in $ac_dir_suffix.
-    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
-  else
-    ac_dir_suffix= ac_dots=
-  fi
-
-  case "$ac_given_srcdir" in
-  .)  srcdir=.
-      if test -z "$ac_dots"; then top_srcdir=.
-      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
-  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
-  *) # Relative path.
-    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
-    top_srcdir="$ac_dots$ac_given_srcdir" ;;
-  esac
-
-  case "$ac_given_INSTALL" in
-  [/$]*) INSTALL="$ac_given_INSTALL" ;;
-  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
-  esac
-
-  echo creating "$ac_file"
-  rm -f "$ac_file"
-  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
-  case "$ac_file" in
-  *Makefile*) ac_comsub="1i\\
-# $configure_input" ;;
-  *) ac_comsub= ;;
-  esac
-
-  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
-  sed -e "$ac_comsub
-s%@configure_input@%$configure_input%g
-s%@srcdir@%$srcdir%g
-s%@top_srcdir@%$top_srcdir%g
-s%@INSTALL@%$INSTALL%g
-" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
-fi; done
-rm -f conftest.s*
-
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
-#
-# ac_d sets the value in "#define NAME VALUE" lines.
-ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
-ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
-ac_dC='\3'
-ac_dD='%g'
-# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
-ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
-ac_uB='\([     ]\)%\1#\2define\3'
-ac_uC=' '
-ac_uD='\4%g'
-# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
-ac_eA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
-ac_eB='$%\1#\2define\3'
-ac_eC=' '
-ac_eD='%g'
-
-if test "${CONFIG_HEADERS+set}" != set; then
-  CONFIG_HEADERS="config.h"
-fi
-for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
-  case "$ac_file" in
-  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
-       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
-  *) ac_file_in="${ac_file}.in" ;;
-  esac
-
-  echo creating $ac_file
-
-  rm -f conftest.frag conftest.in conftest.out
-  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
-  cat $ac_file_inputs > conftest.in
-
-  cat > conftest.frag <<CEOF
-${ac_dA}YYTEXT_POINTER${ac_dB}YYTEXT_POINTER${ac_dC}1${ac_dD}
-${ac_uA}YYTEXT_POINTER${ac_uB}YYTEXT_POINTER${ac_uC}1${ac_uD}
-${ac_eA}YYTEXT_POINTER${ac_eB}YYTEXT_POINTER${ac_eC}1${ac_eD}
-${ac_dA}HAVE_LIBC${ac_dB}HAVE_LIBC${ac_dC}1${ac_dD}
-${ac_uA}HAVE_LIBC${ac_uB}HAVE_LIBC${ac_uC}1${ac_uD}
-${ac_eA}HAVE_LIBC${ac_eB}HAVE_LIBC${ac_eC}1${ac_eD}
-${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
-${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
-${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
-${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
-${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
-${ac_eA}HAVE_SYS_TIME_H${ac_eB}HAVE_SYS_TIME_H${ac_eC}1${ac_eD}
-CEOF
-  sed -f conftest.frag conftest.in > conftest.out
-  rm -f conftest.in
-  mv conftest.out conftest.in
-
-  cat > conftest.frag <<CEOF
-${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD}
-${ac_uA}TIME_WITH_SYS_TIME${ac_uB}TIME_WITH_SYS_TIME${ac_uC}1${ac_uD}
-${ac_eA}TIME_WITH_SYS_TIME${ac_eB}TIME_WITH_SYS_TIME${ac_eC}1${ac_eD}
-${ac_dA}HAVE_GETOPT_H${ac_dB}HAVE_GETOPT_H${ac_dC}1${ac_dD}
-${ac_uA}HAVE_GETOPT_H${ac_uB}HAVE_GETOPT_H${ac_uC}1${ac_uD}
-${ac_eA}HAVE_GETOPT_H${ac_eB}HAVE_GETOPT_H${ac_eC}1${ac_eD}
-${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
-${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
-${ac_eA}HAVE_INTTYPES_H${ac_eB}HAVE_INTTYPES_H${ac_eC}1${ac_eD}
-${ac_dA}HAVE_NET_IF_ARP_H${ac_dB}HAVE_NET_IF_ARP_H${ac_dC}1${ac_dD}
-${ac_uA}HAVE_NET_IF_ARP_H${ac_uB}HAVE_NET_IF_ARP_H${ac_uC}1${ac_uD}
-${ac_eA}HAVE_NET_IF_ARP_H${ac_eB}HAVE_NET_IF_ARP_H${ac_eC}1${ac_eD}
-CEOF
-  sed -f conftest.frag conftest.in > conftest.out
-  rm -f conftest.in
-  mv conftest.out conftest.in
-
-  cat > conftest.frag <<CEOF
-${ac_dA}HAVE_SYS_PARAM_H${ac_dB}HAVE_SYS_PARAM_H${ac_dC}1${ac_dD}
-${ac_uA}HAVE_SYS_PARAM_H${ac_uB}HAVE_SYS_PARAM_H${ac_uC}1${ac_uD}
-${ac_eA}HAVE_SYS_PARAM_H${ac_eB}HAVE_SYS_PARAM_H${ac_eC}1${ac_eD}
-${ac_dA}HAVE_SIN6_SCOPE_ID${ac_dB}HAVE_SIN6_SCOPE_ID${ac_dC}1${ac_dD}
-${ac_uA}HAVE_SIN6_SCOPE_ID${ac_uB}HAVE_SIN6_SCOPE_ID${ac_uC}1${ac_uD}
-${ac_eA}HAVE_SIN6_SCOPE_ID${ac_eB}HAVE_SIN6_SCOPE_ID${ac_eC}1${ac_eD}
-${ac_dA}HAVE_IN6_ADDR_S6_ADDR${ac_dB}HAVE_IN6_ADDR_S6_ADDR${ac_dC}1${ac_dD}
-${ac_uA}HAVE_IN6_ADDR_S6_ADDR${ac_uB}HAVE_IN6_ADDR_S6_ADDR${ac_uC}1${ac_uD}
-${ac_eA}HAVE_IN6_ADDR_S6_ADDR${ac_eB}HAVE_IN6_ADDR_S6_ADDR${ac_eC}1${ac_eD}
-${ac_dA}HAVE_GETOPT_LONG${ac_dB}HAVE_GETOPT_LONG${ac_dC}1${ac_dD}
-${ac_uA}HAVE_GETOPT_LONG${ac_uB}HAVE_GETOPT_LONG${ac_uC}1${ac_uD}
-${ac_eA}HAVE_GETOPT_LONG${ac_eB}HAVE_GETOPT_LONG${ac_eC}1${ac_eD}
-CEOF
-  sed -f conftest.frag conftest.in > conftest.out
-  rm -f conftest.in
-  mv conftest.out conftest.in
-
-  cat > conftest.frag <<CEOF
-s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
-CEOF
-  sed -f conftest.frag conftest.in > conftest.out
-  rm -f conftest.in
-  mv conftest.out conftest.in
-
-  rm -f conftest.frag conftest.h
-  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
-  cat conftest.in >> conftest.h
-  rm -f conftest.in
-  if cmp -s $ac_file conftest.h 2>/dev/null; then
-    echo "$ac_file is unchanged"
-    rm -f conftest.h
-  else
-    # Remove last slash and all that follows it.  Not all systems have dirname.
-      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
-      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
-      # The file is in a subdirectory.
-      test ! -d "$ac_dir" && mkdir "$ac_dir"
-    fi
-    rm -f $ac_file
-    mv conftest.h $ac_file
-  fi
-fi; done
-
-ac_sources="device-linux.c"
-ac_dests="device.c"
-srcdir=$ac_given_srcdir
-while test -n "$ac_sources"; do
-  set $ac_dests; ac_dest=$1; shift; ac_dests=$*
-  set $ac_sources; ac_source=$1; shift; ac_sources=$*
-
-  echo "linking $srcdir/$ac_source to $ac_dest"
-
-  if test ! -r $srcdir/$ac_source; then
-    { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
-  fi
-  rm -f $ac_dest
-
-  # Make relative symlinks.
-  # Remove last slash and all that follows it.  Not all systems have dirname.
-  ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
-  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
-    # The dest file is in a subdirectory.
-    test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
-    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
-    # A "../" for each directory in $ac_dest_dir_suffix.
-    ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
-  else
-    ac_dest_dir_suffix= ac_dots=
-  fi
-
-  case "$srcdir" in
-  [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
-  *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
-  esac
-
-  # Make a symlink if possible; otherwise try a hard link.
-  if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
-    ln $srcdir/$ac_source $ac_dest; then :
-  else
-    { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
-  fi
-done
-
-
-test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
-
-exit 0
index f160c15b06d3e75723cbb7c84d5ec3cc1a4f1f22..85579d33189f48849b81023c74085326002fce25 100644 (file)
  *
  */
 
-#include <config.h>
-#include <includes.h>
-#include <radvd.h>
-#include <defaults.h>
-#include <pathnames.h>         /* for PATH_PROC_NET_IF_INET6 */
+#include "config.h"
+#include "includes.h"
+#include "radvd.h"
+#include "defaults.h"
+#include "pathnames.h"         /* for PATH_PROC_NET_IF_INET6 */
 
 #ifndef IPV6_ADDR_LINKLOCAL
 #define IPV6_ADDR_LINKLOCAL   0x0020U
index 4596ac960abde51afc1184f856a9f0b94dd640b2..0278c554a6dea787aaf5d5050e4be1cd3671a415 100644 (file)
 
 #include "6lowpan.h"
 #include "ip.h"
-
-#if defined(PC) || defined(__TARGET_mips__)
-// use library versions if on linux
-#include <netinet/in.h>
-#define ntoh16(X)   ntohs(X)
-#define hton16(X)   htons(X)
-#define ntoh32(X)   ntohl(X)
-#define hton32(X)   htonl(X)
-
-#if defined(PC)
-#define leton16(X)  hton16(X)
-#ifndef htole16
-#define htole16(X)  (X)
-#endif
-#else
-#define leton16(X)  (((((uint16_t)(X)) << 8) | ((uint16_t)(X) >> 8)) & 0xffff)
-#define htole16(X)  leton16(X)
-#endif
-
-#else 
-// otherwise have to provide our own 
-
-#define leton16(X)  hton16(X)
-#ifndef htole16
-#define htole16(X)  (X)
-#endif
-
-#define ntoh16(X)   (((((uint16_t)(X)) >> 8) | ((uint16_t)(X) << 8)) & 0xffff)
-#define hton16(X)   (((((uint16_t)(X)) << 8) | ((uint16_t)(X) >> 8)) & 0xffff)
-
-/* this is much more efficient since gcc can insert swpb now.  */
-static uint32_t __attribute__((unused))  ntoh32(uint32_t i) {
-  uint16_t lo = (uint16_t)i;
-  uint16_t hi = (uint16_t)(i >> 16);
-  lo = (lo << 8) | (lo >> 8);
-  hi = (hi << 8) | (hi >> 8);
-  return (((uint32_t)lo) << 16) | ((uint32_t)hi);
-}                                                                                                                      
-#define hton32(X) ntoh32(X)
-
-#define ntohs(X) ntoh16(X)
-#define htons(X) hton16(X)
-#define ntohl(X) ntoh32(X)
-#define htonl(X) hton32(X)
-
-#endif
+#include "nwbyte.h"
 
 
 #ifdef DEF_MEMCPY
diff --git a/support/sdk/c/blip/lib6lowpan/nwbyte.h b/support/sdk/c/blip/lib6lowpan/nwbyte.h
new file mode 100644 (file)
index 0000000..44d0ea8
--- /dev/null
@@ -0,0 +1,61 @@
+#ifndef _NWBYTE_H
+#define _NWBYTE_H_
+
+#if !defined(PC)
+// if we're not on a pc, assume little endian for now
+#define __LITTLE_ENDIAN 1234
+#define __BYTE_ORDER __LITTLE_ENDIAN
+#endif
+
+/* define normal network byte-orders routines  */
+#if defined(PC) 
+// use library versions if on linux
+#include <netinet/in.h>
+#include <endian.h>
+
+#define ntoh16(X)   ntohs(X)
+#define hton16(X)   htons(X)
+#define ntoh32(X)   ntohl(X)
+#define hton32(X)   htonl(X)
+#else
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+// otherwise have to provide our own 
+
+#define ntoh16(X)   (((((uint16_t)(X)) >> 8) | ((uint16_t)(X) << 8)) & 0xffff)
+#define hton16(X)   (((((uint16_t)(X)) << 8) | ((uint16_t)(X) >> 8)) & 0xffff)
+
+/* this is much more efficient since gcc can insert swpb now.  */
+static uint32_t __attribute__((unused))  ntoh32(uint32_t i) {
+  uint16_t lo = (uint16_t)i;
+  uint16_t hi = (uint16_t)(i >> 16);
+  lo = (lo << 8) | (lo >> 8);
+  hi = (hi << 8) | (hi >> 8);
+  return (((uint32_t)lo) << 16) | ((uint32_t)hi);
+}
+
+#define hton32(X) ntoh32(X)
+#define ntohs(X) ntoh16(X)
+#define htons(X) hton16(X)
+#define ntohl(X) ntoh32(X)
+#define htonl(X) hton32(X)
+
+#else 
+#error "No byte-order conversions defined!"
+#endif
+#endif
+
+/* little-endian conversion routines */
+
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+#define leton16(X)  hton16(X)
+#ifndef htole16
+#define htole16(X)  (X)
+#endif
+
+#else
+// assume big-endian byte-order
+#define leton16(X) (X)
+#define htole16(X) (((((uint16_t)(X)) << 8) | ((uint16_t)(X) >> 8)) & 0xffff)
+#endif
+
+#endif