make/common/Defs-macosx.gmk

Print this page




  36 #   CFLAGS        (set $(OTHER_CFLAGS) instead)
  37 #   CPPFLAGS      (set $(OTHER_CPPFLAGS) instead)
  38 #   CXXFLAGS      (set $(OTHER_CXXFLAGS) instead)
  39 #   LDFLAGS       (set $(OTHER_LDFAGS) instead)
  40 #   LDLIBS        (set $(EXTRA_LIBS) instead)
  41 #   LDLIBS_COMMON (set $(EXTRA_LIBS) instead)
  42 
  43 # Get shared JDK settings
  44 include $(JDK_MAKE_SHARED_DIR)/Defs.gmk
  45 
  46 # Part of INCREMENTAL_BUILD mechanism.
  47 #   Compiler emits things like:  path/file.o: file.h
  48 #   We want something like: relative_path/file.o relative_path/file.d: file.h
  49 CC_DEPEND        = -MM
  50 CC_DEPEND_FILTER = $(SED) -e 's!$*\.$(OBJECT_SUFFIX)!$(dir $@)& $(dir $@)$*.$(DEPEND_SUFFIX)!g'
  51 
  52 ifndef PLATFORM_SRC
  53   PLATFORM_SRC = $(BUILDDIR)/../src/solaris
  54 endif # PLATFORM_SRC
  55 





  56 PLATFORM_SRC_MACOS = $(BUILDDIR)/../src/macosx
  57 
  58 # BSD build pulls its platform sources from the solaris tree.
  59 JAVA_SRCDIR_LIST = src/$(PLATFORM) src/solaris src/share
  60 NATIVE_SRCDIR_LIST = src/$(PLATFORM) src/solaris src/share
  61 
  62 # Platform specific closed sources
  63 ifndef OPENJDK
  64   ifndef CLOSED_PLATFORM_SRC
  65     CLOSED_PLATFORM_SRC = $(BUILDDIR)/../src/closed/solaris
  66   endif
  67 endif
  68 
  69 # platform specific include files
  70 PLATFORM_INCLUDE_NAME = $(OS_NAME)
  71 PLATFORM_INCLUDE      = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME)
  72 
  73 # suffix used for make dependencies files.
  74 DEPEND_SUFFIX = d
  75 # The suffix applied to the library name for FDLIBM




  36 #   CFLAGS        (set $(OTHER_CFLAGS) instead)
  37 #   CPPFLAGS      (set $(OTHER_CPPFLAGS) instead)
  38 #   CXXFLAGS      (set $(OTHER_CXXFLAGS) instead)
  39 #   LDFLAGS       (set $(OTHER_LDFAGS) instead)
  40 #   LDLIBS        (set $(EXTRA_LIBS) instead)
  41 #   LDLIBS_COMMON (set $(EXTRA_LIBS) instead)
  42 
  43 # Get shared JDK settings
  44 include $(JDK_MAKE_SHARED_DIR)/Defs.gmk
  45 
  46 # Part of INCREMENTAL_BUILD mechanism.
  47 #   Compiler emits things like:  path/file.o: file.h
  48 #   We want something like: relative_path/file.o relative_path/file.d: file.h
  49 CC_DEPEND        = -MM
  50 CC_DEPEND_FILTER = $(SED) -e 's!$*\.$(OBJECT_SUFFIX)!$(dir $@)& $(dir $@)$*.$(DEPEND_SUFFIX)!g'
  51 
  52 ifndef PLATFORM_SRC
  53   PLATFORM_SRC = $(BUILDDIR)/../src/solaris
  54 endif # PLATFORM_SRC
  55 
  56 # Location of the various .properties files specific to MacOS X platform
  57 ifndef PLATFORM_PROPERTIES
  58   PLATFORM_PROPERTIES  = $(BUILDDIR)/../src/macosx/lib
  59 endif # PLATFORM_SRC
  60 
  61 PLATFORM_SRC_MACOS = $(BUILDDIR)/../src/macosx
  62 
  63 # BSD build pulls its platform sources from the solaris tree.
  64 JAVA_SRCDIR_LIST = src/$(PLATFORM) src/solaris src/share
  65 NATIVE_SRCDIR_LIST = src/$(PLATFORM) src/solaris src/share
  66 
  67 # Platform specific closed sources
  68 ifndef OPENJDK
  69   ifndef CLOSED_PLATFORM_SRC
  70     CLOSED_PLATFORM_SRC = $(BUILDDIR)/../src/closed/solaris
  71   endif
  72 endif
  73 
  74 # platform specific include files
  75 PLATFORM_INCLUDE_NAME = $(OS_NAME)
  76 PLATFORM_INCLUDE      = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME)
  77 
  78 # suffix used for make dependencies files.
  79 DEPEND_SUFFIX = d
  80 # The suffix applied to the library name for FDLIBM