File: README

package info (click to toggle)
mmake 2.3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 244 kB
  • ctags: 90
  • sloc: perl: 403; makefile: 316; sh: 152; java: 17
file content (41 lines) | stat: -rw-r--r-- 1,530 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
			    MMAKE EXAMPLE

This directory contains an example on how to create different Java
versions of an Applet. The Applet source-code contains C-preprocessor
conditionalis to compile the Applet to Java 1.0 or Java 1.1 class-
files. The compilation of the Applet is done via the Makefile in this
directory. The Makefile is, of course, created by mmake.

Do a 'make doc' to create HTML-documentation of the Applet. Load the
doc/api-docs/index.html file into your browser and have a look at what
the Applet does.

Then do a 'make' to compile the Applet to Java 1.0 code. It's the
VERSION macro in the Makefile that controls the version you will
obtain. To compile the Applet as Java 1.1 code, simply change VERSION
to JAVA1_1, but first, do a "make clean" to remove .class and .java
files before you make the Applet again.

Have a look at the tildeslash/StartApp.xjava code to see how you can
write your own code to support different versions, with CPP-
conditionalis.


FILES
-----
README:      This file

Makefile:    The Makefile, generated with mmake

makefile.depend: 
             A dependency graph for the files in the tildeslash package.
             You can create this yourself by changing the variable
             JAVAC in the Makefile to JAVAC=jikes and then do a 'make
             depend'. (If you have the jikes compiler on your system.)

index.html:  HTML-file to load the Applet. 

images:      Directory with Images, used by the Applet

tildeslash:  Package directory containing the source-code for the Applet.