★ wanayoo — archive 1999 http://java.sun.com/beans/software/makefiles.htmlNouvelle recherche | Portail wanayoo

JavaBeans Software
Feedback Java Search JavaBeans Web



JavaBeans Development Software JavaBeans Documentation JavaBeans FAQ JavaBeans Development Tools Training + Support JavaBeans Events JavaBeans Directory The JavaBeans Advisor Staying in Touch JavaBeans JavaBeans Development Software JavaBeans Documentation JavaBeans FAQ JavaBeans Development Tools JavaBeans Training + Support JavaBeans Events JavaBeans Directory Market Your Beans Staying in Touch JavaBeans

Building BDK examples

The BDK includes makefiles for rebuilding the BDK and all the examples using either nmake Makefiles on Windows or gnumake GNUmakefiles on UnixTM.

Note that you can build beans without using any kind of make utility. We provide example gnumake and nmake makefiles merely as a convenience for developers.

"nmake" Makefiles

The BDK can be rebuilt on Win32 systems using the Microsoft nmake utility. This is available as part of various Microsoft tools products, and is also available for download as a self-extracting .exe from Microsoft's ftp site as:

The "nmake" compatible makefiles are either called Makefile or end in the suffix ".mk". Thus beanbox\Makefile and demo\juggler.mk are nmake makefiles. The makefiles expect you to have JDK 1.1 (or later) installed and to have the JDK bin directory on your windows PATH.

For clarity, the makefiles for the example beans have been broken up into a separate package.mk makefile for each example package. Thus to make the "buttons" package, you should cd to the demo directory and do "nmake -f buttons.mk"

To rebuild the entire BDK from scratch, cd to the directory where you have installed the BDK and do "nmake clean all".

"gnumake" GNUmakefiles

The BDK can be rebuilt on Unix systems using the gnumake utility. A number of different "make" utilities are available on Unix systems, we used gnumake because it has been very widely ported. You can obtain a copy of gnumake from one of the GNU ftp sites.

The "gnumake" compatible makefiles are either called GNUmakefile or end in the suffix ".gmk". Thus beanbox/GNUmakefile and demo/juggler.gmk are gnumake makefiles. The makefiles expect you to have JDK 1.1 (or later) installed and to have the JDK bin directory on your Unix PATH.

For clarity, the makefiles for the example beans have been broken up into a separate package.gmk makefile for each example package. Thus to make the "buttons" package, you should cd to the demo directory and do "gnumake -f buttons.gmk"

To rebuild the entire BDK from scratch, cd to the directory where you have installed the BDK and do "gnumake clean all".


Software | Documentation | FAQ | Tools | Training & Support | Events | Directory | Market Your Beans
Staying in Touch | Search | Home | java.sun.com home

Send questions or comments about this site to webmaster@wombat.eng.sun.com.


Sun Home Page

Copyright © 1997-99 Sun Microsystems, Inc., 901 San Antonio Rd., Palo Alto, CA 94303 USA.
All rights reserved.