< prev index next >

make/copy/Copy-java.desktop.gmk

Print this page

        

*** 22,31 **** --- 22,32 ---- # or visit www.oracle.com if you need additional information or have any # questions. # include CopyCommon.gmk + include Modules.gmk $(eval $(call IncludeCustomExtension, copy/Copy-java.desktop.gmk)) ################################################################################
*** 46,50 **** --- 47,86 ---- $(call install-file) TARGETS += $(PSFONTPROPFILE_TARGET_FILES) ################################################################################ + # + # Copy and filter the legal files depending on what 3rd party components are + # bundled or linked from the OS. + # + ifeq ($(USE_EXTERNAL_LIBJPEG), true) + LEGAL_EXCLUDES += jpeg.md + endif + + ifeq ($(USE_EXTERNAL_LIBGIF), true) + LEGAL_EXCLUDES += giflib.md + endif + + ifeq ($(USE_EXTERNAL_LIBPNG), true) + LEGAL_EXCLUDES += libpng.md + endif + + ifeq ($(USE_EXTERNAL_LCMS), true) + LEGAL_EXCLUDES += lcms.md + endif + + ifeq ($(FREETYPE_TO_USE), system) + LEGAL_EXCLUDES += freetype.md + endif + + $(eval $(call SetupCopyFiles, COPY_LEGAL, \ + SRC := $(TOPDIR)/src/$(MODULE), \ + DEST := $(SUPPORT_OUTPUTDIR)/modules_legal/$(MODULE), \ + FILES := $(filter-out $(addprefix %/, $(LEGAL_EXCLUDES)), \ + $(wildcard $(addsuffix /*, $(call FindModuleLegalSrcDirs, $(MODULE))))), \ + FLATTEN := true, \ + )) + + TARGETS += $(COPY_LEGAL) + + ################################################################################
< prev index next >