jdk/makefiles/LegacyMakefiles.gmk
changeset 12892 3ef14bab6254
parent 12317 9670c1610c53
equal deleted inserted replaced
12891:5dbaa8f0f72e 12892:3ef14bab6254
    29 all: $(JDK_OUTPUTDIR)/_the.legacy_make
    29 all: $(JDK_OUTPUTDIR)/_the.legacy_make
    30 
    30 
    31 DEPS:=	$(shell $(FIND) $(JDK_TOPDIR)/makefiles/java -type f) \
    31 DEPS:=	$(shell $(FIND) $(JDK_TOPDIR)/makefiles/java -type f) \
    32 		$(shell $(FIND) $(JDK_TOPDIR)/makefiles/javax -type f) \
    32 		$(shell $(FIND) $(JDK_TOPDIR)/makefiles/javax -type f) \
    33 		$(shell $(FIND) $(JDK_TOPDIR)/makefiles/sun -type f) \
    33 		$(shell $(FIND) $(JDK_TOPDIR)/makefiles/sun -type f) \
    34 		$(shell $(FIND) $(JDK_TOPDIR)/makefiles/com -type f) \
    34 		$(shell $(FIND) $(JDK_TOPDIR)/makefiles/com -type f)
    35 		$(shell $(FIND) $(JDK_TOPDIR)/makefiles/apple -type f)
       
    36 
    35 
    37 $(JDK_OUTPUTDIR)/_the.legacy_make: $(DEPS)
    36 $(JDK_OUTPUTDIR)/_the.legacy_make: $(DEPS)
    38 	(echo Building single threaded Java subdir && \
    37 	(echo Building single threaded Java subdir && \
    39         $(MAKE) -j1 -C java all && \
    38         $(MAKE) -j1 -C java all && \
    40 	(if test "$(PLATFORM)" = macosx; then \
       
    41 		echo Building single threaded Apple subdir && \
       
    42 		$(MAKE) -j1 -C apple all; \
       
    43 	fi) && \
       
    44 	echo Building single threaded javax subdir && \
       
    45 	$(MAKE) -j1 -C javax all && \
       
    46 	echo Building single threaded sun subdir && \
       
    47 	$(MAKE) -j1 -C sun all && \
       
    48 	echo Building single threaded com subdir && \
       
    49 	$(MAKE) -j1 -C com all && \
       
    50 	if [ -z "$(OPENJDK)" ]; then \
       
    51 		echo Building single threaded altclasses subdir && \
       
    52 		$(MAKE) -j1 -C altclasses all; \
       
    53 	fi && \
       
    54 	touch $@)
    39 	touch $@)
    55 
    40 
    56 .PHONY: all
    41 .PHONY: all
    57 
    42