52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# This is the dmake version.
|
|
|
|
# copied from settings.mk
|
|
SOLARBINDIR=$(SOLARVERSION)$/$(INPATH)$/bin$(UPDMINOREXT)
|
|
|
|
# Please modify the following lines to match your environment:
|
|
# If you use the run: target at the end of the file, then adapt port number.
|
|
PORT_NUMBER = 5678
|
|
|
|
# The following variables probably don't need to be changed.
|
|
JAVAC = javac
|
|
JAVA = java
|
|
# The JAR_PATH points to the jar files of your local office installation.
|
|
JAR_PATH = $(SOLARBINDIR)$/
|
|
|
|
|
|
# The rest of this makefile should not need to be touched.
|
|
|
|
all : ov
|
|
|
|
JAR_FILES = \
|
|
unoil.jar \
|
|
sandbox.jar \
|
|
ridl.jar \
|
|
jurt.jar \
|
|
juh.jar \
|
|
java_uno.jar
|
|
|
|
JAVA_FILES = \
|
|
ov/ObjectViewContainer.java \
|
|
ov/ObjectView.java \
|
|
ov/ListeningObjectView.java \
|
|
ov/ContextView.java \
|
|
ov/FocusView.java \
|
|
ov/SelectionView.java \
|
|
ov/TextView.java
|
|
# ov/StateSetView.java \
|
|
|
|
|
|
JAVA_CLASSPATHS := \
|
|
. .. \
|
|
$(foreach,i,$(JAR_FILES) $(JAR_PATH)$i) \
|
|
$(CLASSPATH)
|
|
|
|
CLASSPATH !:=$(JAVA_CLASSPATHS:t$(PATH_SEPERATOR))
|
|
|
|
JFLAGS = -deprecation -classpath $(CLASSPATH)
|
|
|
|
%.class : %.java
|
|
+$(JAVAC) $(JFLAGS) $<
|
|
|
|
ov : $(JAVA_FILES:b:+".class")
|