Ignore:
Timestamp:
Sep 4, 2010, 1:44:54 AM (15 years ago)
Author:
dmik
Message:

jdk/make: Added ifndef OS2_TEMP to disable various components we don't yet support and thus make it possible to have a full build cycle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/common/Release.gmk

    r69 r144  
    337337#
    338338TOOLS = \
     339
     340ifndef OS2_TEMP # security
     341TOOLS += \
    339342        META-INF/services/com.sun.jdi.connect.Connector \
    340343        META-INF/services/com.sun.jdi.connect.spi.TransportService \
     344
     345endif
     346TOOLS += \
    341347        sun/tools/asm           \
    342348        sun/tools/jar           \
     
    351357        sun/tools/tree          \
    352358        sun/tools/util          \
     359
     360ifndef OS2_TEMP # security
     361TOOLS += \
    353362        sun/security/tools/JarBASE64Encoder.class \
    354363        sun/security/tools/JarSigner.class \
     
    360369        sun/security/tools/SignatureFile.class \
    361370        sun/security/tools/TimestampedSigner.class \
     371
     372endif
     373TOOLS += \
    362374        sun/rmi/rmic            \
    363375        sun/applet              \
    364376        sun/jvmstat             \
    365377        com/sun/javadoc         \
     378
     379ifndef OS2_TEMP # JPDA
     380TOOLS += \
    366381        com/sun/jdi             \
     382
     383endif
     384TOOLS += \
    367385        com/sun/jarsigner       \
    368386        com/sun/mirror          \
    369387        com/sun/source          \
    370388        com/sun/tools/doclets   \
     389
     390ifndef OS2_TEMP # JPDA
     391TOOLS += \
    371392        com/sun/tools/example/debug/expr \
    372393        com/sun/tools/example/debug/tty  \
    373394        com/sun/tools/extcheck  \
     395
     396endif
     397TOOLS += \
    374398        com/sun/tools/hat       \
    375399        com/sun/tools/javac     \
     
    390414        org/relaxng/datatype   \
    391415        com/sun/xml/internal/dtdparser \
     416
     417ifndef OS2_TEMP # JPDA
     418TOOLS += \
    392419        com/sun/tools/jdi       \
     420
     421endif
     422TOOLS += \
    393423        com/sun/tools/script/shell      \
     424
     425ifndef OS2_TEMP # com.sun.tools.attach
     426TOOLS += \
    394427        META-INF/services/com.sun.tools.attach.spi.AttachProvider \
    395428        com/sun/tools/attach    \
    396429        sun/tools/attach        \
     430
     431endif
     432TOOLS += \
    397433        sun/tools/jstack        \
    398434        sun/tools/jinfo         \
     
    660696        @$(java-vm-cleanup)
    661697
     698ifndef OS2_TEMP # security
    662699# Create jsse.jar containing SunJSSE implementation classes
    663700JSSE_JAR=$(TEMPDIR)/jsse-orig.jar
     
    668705                $(JAR_JFLAGS)
    669706        @$(java-vm-cleanup)
     707endif
    670708
    671709# Create sec-bin.zip
     
    776814        $(CP) $(RT_JAR) $(JRE_IMAGE_DIR)/lib/rt.jar
    777815        $(CP) $(RESOURCES_JAR) $(JRE_IMAGE_DIR)/lib/resources.jar
     816ifndef OS2_TEMP # security     
    778817        $(CP) $(JSSE_JAR) $(JRE_IMAGE_DIR)/lib/jsse.jar
     818endif
    779819        @# Generate meta-index to make boot and extension class loaders lazier
    780820        $(CD) $(JRE_IMAGE_DIR)/lib && \
     
    911951        @#
    912952        $(CP) $(LIBDIR)/$(LIB_PREFIX)jvm.$(LIB_SUFFIX) $(JDK_IMAGE_DIR)/lib
     953ifndef OS2_TEMP
    913954        $(CP) $(LIBDIR)/$(LIB_PREFIX)jawt.$(LIB_SUFFIX) $(JDK_IMAGE_DIR)/lib
     955endif
    914956        @#
    915957        @# bin/
     
    9801022        @# So for Linux, make use of the -T option (like Solaris' -I option) of
    9811023        @# obtaining the list of files from a file. MKS tar has no such option.
    982   ifeq ($(PLATFORM), linux)
     1024  ifeq ($(filter-out linux os2, $(PLATFORM)),)
    9831025        for d in $(SOURCE_DIRS); do \
    9841026          $(RM) $(ABS_TEMPDIR)/src-files.list; \
     
    10371079        @# demo, include
    10381080        @#
     1081ifndef OS2_TEMP
    10391082        $(CP) -r -f $(DEMODIR) $(JDK_IMAGE_DIR)
    10401083        $(CP) -r -f $(SAMPLEDIR) $(JDK_IMAGE_DIR)
     
    10441087        @#
    10451088        $(CD) javax/swing/beaninfo && $(MAKE) swing-1.2-beans
     1089endif
    10461090ifneq ($(filter-out windows os2, $(PLATFORM)),)
    10471091        $(call copy-man-pages,$(JDK_IMAGE_DIR),$(JDK_MAN_PAGES))
Note: See TracChangeset for help on using the changeset viewer.