## gmake file, requires a posix like shell include ${ORACLE_HOME}/javavm/demo/unix.mk include ${ORACLE_HOME}/javavm/demo/java.mk # targets all: compile deploy sql run # classpath MAKE_CLASSPATH = $(JDK12_CLASSPATH) CLIENT_CLASS = \ EmployeeObject.class \ EmployeeByRef.class \ EmployeeClientObject.class \ Client.class compile: client.jar client.jar: $(CLIENT_CLASS) jar cfM $@ $? deploy: jsprocndb jsprocndb: client.jar loadjava -f -verbose -oracleresolver -resolve -oci8 -u $(USER)/$(PASS) $? touch jsprocndb sql: sqlplus /nolog @create.sql $(USER) $(PASS) run: java -classpath $(MAKE_CLASSPATH) Client $(USER) $(PASS) clean: $(RMRF) *.class */*.class client.jar *ndb *.~?~ */*.~?~