From ede0dbf1a3ee528f059903d4dfad96a91fe55186 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 27 Aug 2009 14:07:54 +0200 Subject: added a (very, very basic) build system for the Java GUI ... so far, this can not be turned off (will do when I have merged the recent build system changes into this branch - I am glad that I at least have a working reference point now ;)). --- java/Makefile.am | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 java/Makefile.am (limited to 'java') diff --git a/java/Makefile.am b/java/Makefile.am new file mode 100644 index 00000000..8e5c041a --- /dev/null +++ b/java/Makefile.am @@ -0,0 +1,31 @@ +# very rough support for compiling the java components of rsyslog +# Some usage notes: you need to use the Sun JDK compiler (jdk-devel) +# with this. At least it didn't work for me with the eclipse compiler. +# There is no real installation support. If you intend to run a program, +# change to the ./java subdirectory and issue +# java -cp . +# e.g.: java -cp . com.rsyslog.gui.diaggui.DiagGUI +# or any equivalent command. +# +# I am very glad to hear suggestions about how to improve this part +# of the build system. -- rgerhards, 2009-08-27 + +javadir = $(top_builddir)/java +JAVAROOT = $(javadir) +# I don't know why CLASSPATH_ENV works this way, but at least it works... +CLASSPATH_ENV = CLASSPATH=$(javadir):$$CLASSPATH + +JAVA_SOURCE_FILES = \ + com/rsyslog/lib/DiagSess.java \ + com/rsyslog/lib/SyslogMessage.java \ + com/rsyslog/lib/SyslogMsgConsumer.java \ + com/rsyslog/diag/DiagTalker.java \ + com/rsyslog/gui/simpServ/simpServ.java \ + com/rsyslog/gui/simpServ/simpServConsumer.java \ + com/rsyslog/gui/diaggui/Counters.java \ + com/rsyslog/gui/diaggui/DiagGUI.java + + +java_JAVA = $(JAVA_SOURCE_FILES) + +dist_java = $(JAVA_SOURCE_FILES) -- cgit