open-src/xserver/xvnc/sun-src/java/src/com/tigervnc/decoder/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Mon, 27 Jul 2015 12:14:56 -0700
changeset 1481 db4d95c6a514
parent 1329 b9fef7eb322e
permissions -rw-r--r--
21508998 X builds are failing since the pkg mediator set the java version to 1.8


JDK_VERSION = 1.8.0
JC = /usr/jdk/instances/jdk$(JDK_VERSION)/bin/javac
JCFLAGS = -target 1.8 -classpath ../../../

SOURCES = \
	common/Repaintable.java \
	CoRREDecoder.java \
	CopyRectDecoder.java \
	HextileDecoder.java \
	TightDecoder.java \
	RawDecoder.java \
	ZlibDecoder.java \
	RREDecoder.java \
	ZRLEDecoder.java

CLASSES = $(SOURCES:.java=.class)

all: $(CLASSES)

$(CLASSES:%=% + ): $(SOURCES)
	$(JC) $(JCFLAGS) -O $(SOURCES)

clean::
	$(RM) *.class common/*.class