--- Makefile Thu Jan 1 01:00:00 1970 +++ Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,4 @@ + +SUBDIR= lib apps + +.include --- apps/Makefile Thu Jan 1 01:00:00 1970 +++ apps/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,6 @@ + +SUBDIR= atodtst counter coupler fish gethumd memutil mweather shaapp \ + swtsngl temp tstfind + +.include + --- apps/atodtst/Makefile Thu Jan 1 01:00:00 1970 +++ apps/atodtst/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= atodtst +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/counter/Makefile Thu Jan 1 01:00:00 1970 +++ apps/counter/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= counter +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/coupler/Makefile Thu Jan 1 01:00:00 1970 +++ apps/coupler/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= coupler +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/fish/Makefile Thu Jan 1 01:00:00 1970 +++ apps/fish/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= fish +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/gethumd/Makefile Thu Jan 1 01:00:00 1970 +++ apps/gethumd/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= gethumd +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/memutil/Makefile Thu Jan 1 01:00:00 1970 +++ apps/memutil/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= memutil +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/mweather/Makefile Thu Jan 1 01:00:00 1970 +++ apps/mweather/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= mweather +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/shaapp/Makefile Thu Jan 1 01:00:00 1970 +++ apps/shaapp/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= shaapp +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/swtloop/Makefile.app Thu Jan 1 01:00:00 1970 +++ apps/swtloop/Makefile.app Wed Oct 27 17:03:17 2004 @@ -0,0 +1,8 @@ +PROG= tstfind +CFLAGS= -I. -Wall -I ../../common +LDFLAGS= -L ../../common -L ../../lib/userial +LDADD= -lmlanser -lmlancom +NOMAN= true +SRCS= tstfind.c + +.include --- apps/swtsngl/Makefile Thu Jan 1 01:00:00 1970 +++ apps/swtsngl/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= swtsngl +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/temp/Makefile Thu Jan 1 01:00:00 1970 +++ apps/temp/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= temp +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- apps/thermo/Makefile.app Thu Jan 1 01:00:00 1970 +++ apps/thermo/Makefile.app Wed Oct 27 17:03:17 2004 @@ -0,0 +1,8 @@ +PROG= tstfind +CFLAGS= -I. -Wall -I ../../common +LDFLAGS= -L ../../common -L ../../lib/userial +LDADD= -lmlanser -lmlancom +NOMAN= true +SRCS= tstfind.c + +.include --- apps/tstfind/Makefile Thu Jan 1 01:00:00 1970 +++ apps/tstfind/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,15 @@ +PROG= tstfind +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin +MLANCOM= ${.CURDIR}/../../common +MLANLIB= ${.CURDIR}/../../lib/userial +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a +NOMAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} + ./${PROG} /dev/cuaa0 + +.include --- common/ownet.h Fri Sep 28 21:42:02 2001 +++ common/ownet.h Wed Oct 27 17:03:17 2004 @@ -133,6 +133,10 @@ typedef unsigned short ushort; typedef unsigned long ulong; #endif + #if (__FreeBSD__) + #include + typedef unsigned long ulong; + #endif #endif #ifdef SDCC //intent of ushort is 2 bytes unsigned. --- lib/Makefile Thu Jan 1 01:00:00 1970 +++ lib/Makefile Wed Oct 27 17:03:17 2004 @@ -0,0 +1,3 @@ +SUBDIR= userial + +.include --- lib/userial/Link/linuxlnk.c Fri Sep 28 21:42:14 2001 +++ lib/userial/Link/linuxlnk.c Wed Oct 27 17:03:17 2004 @@ -93,6 +93,7 @@ #include #include #include +#include #include "ds2480.h" #include "ownet.h" --- lib/userial/Makefile Thu Jan 1 01:00:00 1970 +++ lib/userial/Makefile Wed Oct 27 17:03:56 2004 @@ -0,0 +1,33 @@ +MLANCOM= ${.CURDIR}/../../common +MLANLNK= ${.CURDIR}/Link +LIB= mlan +CFLAGS= -I. -Wall -I${MLANCOM} +NOPROFILE= yes +PREFIX?= /usr/local +LIBDIR= ${PREFIX}/lib + + +.PATH: ${MLANCOM} ${MLANLNK} + +SRCS= ds2480ut.c owllu.c ownetu.c owsesu.c owtrnu.c + +SRCS+= linuxlnk.c + +SRCS+= ad26.c atod20.c cnt1d.c \ + crcutil.c findtype.c ibsha33o.c \ + ioutil.c mbappreg.c mbee.c \ + mbeprom.c mbnv.c mbnvcrc.c \ + mbscr.c mbscrcrc.c mbscree.c \ + mbscrex.c mbsha.c mbshaee.c \ + owcache.c owerr.c owfile.c \ + owpgrw.c owprgm.c rawmem.c \ + screenio.c sha18.c sha33.c \ + shadebit.c shadebitvm.c shaibutton.c \ + swt05.c swt12.c swt1f.c \ + temp10.c thermo21.c weather.c + +beforeinstall: + ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ + ${_INSTALLFLAGS} ${MLANCOM}/ownet.h ${DESTDIR}/${PREFIX}/include + +.include 9b7fa3a341d44124d2f225bc9'>- Add SHA256pav2005-11-251-0/+2