|
1 | 1 | #
|
2 |
| -# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved. |
| 2 | +# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
4 | 4 | #
|
5 | 5 | # This code is free software; you can redistribute it and/or modify it
|
|
32 | 32 |
|
33 | 33 | include MakeIO.gmk
|
34 | 34 |
|
35 |
| -# Java compilation needs SetupJarArchive and/or SetupZipArchive, if we're |
36 |
| -# generating a jar file or a source zip. |
| 35 | +# Java compilation needs SetupJarArchive if we're generating a jar file |
37 | 36 | include JarArchive.gmk
|
38 |
| -include ZipArchive.gmk |
39 | 37 |
|
40 | 38 | ###
|
41 | 39 | ### Definitions for common release targets
|
@@ -156,7 +154,6 @@ endef
|
156 | 154 | # COPY_FILES myapp/foo/setting.txt means copy this file over to the package myapp/foo
|
157 | 155 | # CLEAN .properties means copy and clean all properties file to the corresponding package in BIN.
|
158 | 156 | # CLEAN_FILES myapp/foo/setting.txt means clean this file over to the package myapp/foo
|
159 |
| -# SRCZIP Create a src.zip based on the found sources and copied files. |
160 | 157 | # INCLUDE_FILES "com/sun/SolarisFoobar.java" means only compile this file!
|
161 | 158 | # EXCLUDE_FILES "com/sun/SolarisFoobar.java" means do not compile this particular file!
|
162 | 159 | # "SolarisFoobar.java" means do not compile SolarisFoobar, wherever it is found.
|
@@ -529,19 +526,6 @@ define SetupJavaCompilationBody
|
529 | 526 | # Add jar to target list
|
530 | 527 | $1 += $$($1_JAR)
|
531 | 528 | endif
|
532 |
| - |
533 |
| - # Check if a srczip was specified, then setup the rules for the srczip. |
534 |
| - ifneq ($$($1_SRCZIP), ) |
535 |
| - $$(eval $$(call SetupZipArchive, ZIP_ARCHIVE_$1, \ |
536 |
| - SRC := $$($1_SRC), \ |
537 |
| - ZIP := $$($1_SRCZIP), \ |
538 |
| - INCLUDES := $$($1_INCLUDES), \ |
539 |
| - EXCLUDES := $$($1_EXCLUDES), \ |
540 |
| - EXCLUDE_FILES := $$($1_EXCLUDE_FILES))) |
541 |
| - |
542 |
| - # Add zip to target list |
543 |
| - $1 += $$($1_SRCZIP) |
544 |
| - endif |
545 | 529 | endif # Source files found
|
546 | 530 | endef
|
547 | 531 |
|
|
0 commit comments