From 23f8de5e0a37c006d5ec2c2e6bfecec91debed5b Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sun, 17 Sep 2000 03:02:24 +0000 Subject: [PATCH] Move javac and javah to make variables. --- japi/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/japi/Makefile.in b/japi/Makefile.in index c67099471..30ed8d65a 100644 --- a/japi/Makefile.in +++ b/japi/Makefile.in @@ -34,6 +34,8 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ RANLIB = @RANLIB@ +JAVAC=javac +JAVAH=javah -jni CC = @CC@ # We'll need something in 'configure' for the Java includes. @@ -64,10 +66,10 @@ CLASSES = SaneDevice.class SaneOption.class SaneRange.class Sane.class \ .SUFFIXES: .c .o .h .la .lo .java .class .java.class: - javac $< + $(JAVAC) $< .class.h: - javah -jni $* + $(JAVAH) $* %.lo: %.c @$(LIBTOOL) $(MCOMP) $(COMPILE) $<