Changeset 324


Ignore:
Timestamp:
Feb 16, 2012, 6:21:56 PM (9 years ago)
Author:
dmik
Message:

hotspot: Generate dependencies.

Location:
trunk/openjdk/hotspot/make/os2/makefiles
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/make/os2/makefiles/compile.make

    r322 r324  
    7373CPP_FLAGS += -DTARGET_OS_FAMILY_os2
    7474
     75# Generate dependencies
     76CPP_FLAGS += -MMD -MP -MF $(@:%=%.d)
     77SUFFIXES += .d
     78
    7579# Generic linker settings
    7680LINK = g++
  • trunk/openjdk/hotspot/make/os2/makefiles/launcher.make

    r323 r324  
    4747LAUNCHER_OUT = launcher
    4848
    49 SUFFIXES += .d
    50 
    5149OBJS := $(LAUNCHER_OUT)/java.obj $(LAUNCHER_OUT)/java_md.obj $(LAUNCHER_OUT)/jli_util.obj
    5250
    53 DEPFILES := $(patsubst %.obj,%.d,$(OBJS))
    54 -include $(DEPFILES)
     51# Include dependencies
     52-include $(LAUNCHER_OUT)/*.d
    5553
    5654launcher-out:
     
    5856
    5957$(LAUNCHER_OUT)/%.obj: $(LAUNCHERDIR_SHARE)/%.c | launcher-out
    60         $(QUIETLY) $(CXX) $(CXX_FLAGS) -g -o $@ -c $< -MMD $(LAUNCHER_FLAGS)
     58        $(QUIETLY) $(CXX) $(CXX_FLAGS) -g -o $@ -c $< $(LAUNCHER_FLAGS)
    6159
    6260$(LAUNCHER_OUT)/%.obj: $(LAUNCHERDIR)/%.c | launcher-out
    63         $(QUIETLY) $(CXX) $(CXX_FLAGS) -g -o $@ -c $< -MMD $(LAUNCHER_FLAGS)
     61        $(QUIETLY) $(CXX) $(CXX_FLAGS) -g -o $@ -c $< $(LAUNCHER_FLAGS)
    6462
    6563launcher: $(OBJS)
  • trunk/openjdk/hotspot/make/os2/makefiles/vm.make

    r321 r324  
    2222#
    2323#
     24
     25# Include dependencies
     26-include *.d
    2427
    2528include ../generated/objfiles.make
     
    8487
    8588Def_File = vm.def
    86 $(Def_File): $(MAKEFILE_LIST)
     89$(Def_File): $(MAKEFILE)
    8790        @echo -e 'LIBRARY jvm INITINSTANCE TERMINSTANCE \n \
    8891EXPORTS \n \
Note: See TracChangeset for help on using the changeset viewer.