[Tinyos-beta-commits] CVS: tinyos-1.x/beta/TOSComm Makefile, 1.2, 1.3 README.TOSComm, 1.1, 1.2

Kamin Whitehouse kaminw at users.sourceforge.net
Wed Sep 21 20:53:14 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/TOSComm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3679

Modified Files:
	Makefile README.TOSComm 
Log Message:
fixed the makefile so that it actually compiles and installs the code.  updated the readme with compilation instructions, and a little extra info as well.

Index: Makefile
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/TOSComm/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile	17 May 2005 22:34:03 -0000	1.2
--- Makefile	22 Sep 2005 03:53:12 -0000	1.3
***************
*** 6,13 ****
  
  all: FORCE
! 	cd comm && make
! 	cd packet && make
  
! install: FORCE
  	cd comm && make install
  	cd packet && make install
--- 6,13 ----
  
  all: FORCE
! 	cd comm && make && make install 
! 	cd packet && make && make install
  
! reinstall: FORCE
  	cd comm && make install
  	cd packet && make install

Index: README.TOSComm
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/TOSComm/README.TOSComm,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** README.TOSComm	22 Dec 2004 01:31:47 -0000	1.1
--- README.TOSComm	22 Sep 2005 03:53:12 -0000	1.2
***************
*** 10,15 ****
  TOSComm provides serial port access to Java through a native JNI shared
  library.  TOSComm has been designed as a lighter weight replacement for
! javax.comm, and its interfaces are similar.  My email to TinyOS-Devel
! summarizes my motivation and plan for writing this library:
  
      On Mon 20 Dec 2004 Cory Sharp wrote:
--- 10,74 ----
  TOSComm provides serial port access to Java through a native JNI shared
  library.  TOSComm has been designed as a lighter weight replacement for
! javax.comm, and its interfaces are similar.  
! 
! 
! 
! INSTALLATION:
! 
! From this TOSComm directory:
! 
!   make             # compile and install TOSComm
!   make reinstall   # install TOSComm (without compiling)
!   make uninstall   # uninstall TOSComm (warning: it tries to recompile the java tools w/ your javax.comm library)
!   make clean       # remove compiled binaries 
! 
! TOSComm has been built using the following system:
! 
!   Gentoo Linux 2002.2 and later
!   Debian Linux 3.1
!     Sun's j2se
!   Cygwin updated on 4 Dec 2004
!     SWIG 1.3.19
!     gcc (GCC) 3.3.3 (cygwin special), using mingw (-mno-cygwin)
!     JDK for Windows, java version "1.4.2_05"
! 
! 
! TOSComm requires SWIG and GCC to build.  As soon as it stabilizes a little
! more, I'll CVS commit comm/build_{win32,linux} to circumvent those
! dependencies for people seeking a quick install.
! 
! 
! 
! IMPLEMENTATION SUMMARY and STATUS
! 
! A new net.tinyos.comm library has been created to replace the
! javax.comm library.  This library is in the ./comm directory.  In
! order to make the rest of the tinyos Java tools to compile, we need to
! replace any files that use javax.comm with new ones that use
! net.tinyos.comm.  Currently, the only such file is
! net.tinyos.packet.SerialByteSource.java.  When TOSComm is installed,
! the comm directory is first compiled and copied into the
! tinyos-1.x/tools/java/net/tinyos/comm location. Then, the
! SerialByteSource.java file is compiled, and the .class file is copied
! into the tinyos-1.x/tools/java/net/tinyos/packet location.
! 
! Two othe files are currently known to use the javax.comm library:
! sf/SFListen.java and util/SerialPortStub.java.  All files should
! probably be made to use SerialPortStub.java, and no other files should
! use javax.comm.  That way, when TOSComm is installed, only a single
! fle (SerialPortStub.java) needs to be replaced.
! 
! 
! 
! 
! KNOWN BUGS/LIMITATIONS:
! 
! Works so far.
! 
! 
! 
! MOTIVATION AND PLAN
! 
! My email to TinyOS-Devel summarizes the motivation and plan for writing this library:
  
      On Mon 20 Dec 2004 Cory Sharp wrote:
***************
*** 51,80 ****
  
  
- INSTALLATION:
- 
- From this TOSComm directory:
- 
-   make             # compile and install TOSComm
-   make install     # install TOSComm (without compiling)
-   make uninstall   # uninstall TOSComm 
- 
- TOSComm has been built using the following system:
- 
-   Cygwin updated on 4 Dec 2004
-   SWIG 1.3.19
-   gcc (GCC) 3.3.3 (cygwin special), using mingw (-mno-cygwin)
-   JDK for Windows, java version "1.4.2_05"
- 
- TOSComm requires SWIG and GCC to build.  As soon as it stabilizes a little
- more, I'll CVS commit comm/build_{win32,linux} to circumvent those
- dependencies for people seeking a quick install.
- 
- 
- KNOWN BUGS/LIMITATIONS:
- 
- This is a new library and needs to be extensively tested.  Assume bugs
- exist until further notice.
- 
- As you could probably guess, currently the code is the documentation.
- This is sad and I must remedy it... sometime... soon?
- 
--- 110,111 ----



More information about the Tinyos-beta-commits mailing list