⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.jython

📁 Software Testing Automation Framework (STAF)的开发代码
💻 JYTHON
字号:
#############################################################################
# Software Testing Automation Framework (STAF)                              #
# (C) Copyright IBM Corp. 2005                                              #
#                                                                           #
# This software is licensed under the Common Public License (CPL) V1.0.     #
#############################################################################

jython_targets += $(REL)/lib/jython/jython.jar \
                  $(REL)/lib/jython/Lib/STAFMarshalling.py \
                  $(REL)/lib/jython/Lib/STAFJython.py

Targets += $(jython_targets)
CleanupTargets += cleanup_jython

$(jython_targets): SUBSYS_REL := lib/jython
SUBSYS_REL := lib/jython

# Include inference rules
include $(InferenceRules)

ifndef JYTHON_ROOT
  $(error You must set JYTHON_ROOT to the full pathname where you installed Jython)
endif

# Copy the original Jython.jar file, extract it, and remove the com/ziclix directory and its 
# contents as we are not supposed to ship zxJDBC code for legal reasons

$(O)/lang/jython/jython.jar: $(JYTHON_ROOT)/jython.jar
	$(COPY_FILE)
	@echo "*** Creating new $(@F) without the zxJDBC files ***"
	@cd $(O)/lang/jython; $(JAR) xf '$(OS_@)'
	@$(DEL) $(O)/lang/jython/jython.jar
	@$(DELTREE) $(O)/lang/jython/com/ziclix
	@cd $(O)/lang/jython; $(JAR) cf '$(OS_@)' *
        
# Create new Jython.jar

$(REL)/lib/jython/jython.jar: $(O)/lang/jython/jython.jar
	$(COPY_FILE)
	@echo "*** Copying Jython Lib directory ***"
	@$(MAKE_PATH) $(REL)/lib/jython/Lib
	@$(RECURSIVE_COPY) $(JYTHON_ROOT)/Lib $(REL)/lib/jython
	@find $(REL)/lib/jython/Lib -name "*.class" -exec rm {} \;

# Copy STAF Jython support libraries
        
$(REL)/lib/jython/Lib/STAFMarshalling.py: $(SRC)/lang/jython/STAFMarshalling.py
	$(COPY_FILE)
$(REL)/lib/jython/Lib/STAFJython.py: $(SRC)/lang/jython/STAFJython.py
	$(COPY_FILE)

cleanup_jython:
	-@$(DEL) $(O)/lang/jython/* $(OUT_ERR_TO_DEV_NULL)
	-@$(DEL) $(REL)/lib/jython/* $(OUT_ERR_TO_DEV_NULL)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -