mirror of
https://git.freebsd.org/ports.git
synced 2025-07-03 02:20:33 -04:00
Selection of libraries for Java which are useful and not provided with Java. - Unix Sockets Library: This is a collection of classes and native code to allow you to read and write Unix sockets in Java. - Debug Library: This is a comprehensive logging and debugging solution. - CGI Library: This is a collection of classes and native code to allow you to write CGI applications in Java. - I/O Library: This provides a few much needed extensions to the Java I/O subsystem. Firstly, there is a class which will connect and InputStream with an OutputStream and copy data between them. Secondly there are two classes for inserting into an Input or OutputStream pipe a command line command, so that everything is piped through that command. Thirdly there are a pair of classes for splitting streams in two. This can either be to two OuputStreams, or to an OutputStream and a file. Equivelent to the UNIX tool tee in UNIX pipes. - Hexdump: This class formats byte-arrays in hex and ascii for display. WWW: http://www.matthew.ath.cx/projects/java/
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
--- Makefile.orig 2020-03-25 12:08:05 UTC
|
|
+++ Makefile
|
|
@@ -6,13 +6,13 @@ GCJ?=gcj
|
|
CC?=gcc
|
|
LD?=gcc
|
|
JPPFLAGS+=-C -P
|
|
-CFLAGS+=-Wall -Os -pedantic -Werror
|
|
+CFLAGS+=-Wall -pedantic -Werror
|
|
CSTD?=-std=c99
|
|
CSHAREFLAG+=-fpic -fno-stack-protector
|
|
GCJJNIFLAG=-fjni
|
|
JVERCFLAGS+=-source 1.5
|
|
JCFLAGS+=
|
|
-INCLUDES+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
|
|
+INCLUDES+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd
|
|
JAVADOCFLAGS?=-quiet -author -link http://java.sun.com/j2se/1.4.2/docs/api/
|
|
|
|
LDVER?=$(shell ld -v | cut -d' ' -f1)
|
|
@@ -91,11 +91,11 @@ libmatthew-java-$(MATTVER).tar.gz: Makefile cx cgi-jav
|
|
tar zcf $@ libmatthew-java-$(MATTVER)
|
|
|
|
debug-enable-$(DEBUGVER).jar: cx/ath/matthew/debug/Debug.jpp
|
|
- make .enabledebug
|
|
+ $(MAKE) .enabledebug
|
|
echo "Class-Path: $(JARDIR)/hexdump.jar" > Manifest
|
|
(cd classes;jar cfm ../$@ ../Manifest cx/ath/matthew/debug/*.class)
|
|
debug-disable-$(DEBUGVER).jar: cx/ath/matthew/debug/Debug.jpp
|
|
- make .disabledebug
|
|
+ $(MAKE) .disabledebug
|
|
echo "Class-Path: $(JARDIR)/hexdump.jar" > Manifest
|
|
(cd classes;jar cfm ../$@ ../Manifest cx/ath/matthew/debug/*.class)
|
|
.enabledebug: cx/ath/matthew/debug/Debug.jpp
|