make/common/Defs-linux.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 specific closed sources
  57 ifndef OPENJDK
  58   ifndef CLOSED_PLATFORM_SRC
  59     CLOSED_PLATFORM_SRC = $(BUILDDIR)/../src/closed/solaris
  60   endif
  61 endif
  62 
  63 # platform specific include files
  64 PLATFORM_INCLUDE_NAME = $(PLATFORM)
  65 PLATFORM_INCLUDE      = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME)
  66 
  67 # suffix used for make dependencies files.
  68 DEPEND_SUFFIX = d
  69 # The suffix applied to the library name for FDLIBM
  70 FDDLIBM_SUFFIX = a
  71 # The suffix applied to scripts (.bat for windows, nothing for unix)
  72 SCRIPT_SUFFIX =
  73 # CC compiler object code output directive flag value
  74 CC_OBJECT_OUTPUT_FLAG = -o #trailing blank required!
  75 CC_PROGRAM_OUTPUT_FLAG = -o #trailing blank required!




  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 Linux platform
  57 ifndef PLATFORM_PROPERTIES
  58   PLATFORM_PROPERTIES  = $(BUILDDIR)/../src/solaris/lib
  59 endif # PLATFORM_SRC
  60 
  61 # Platform specific closed sources
  62 ifndef OPENJDK
  63   ifndef CLOSED_PLATFORM_SRC
  64     CLOSED_PLATFORM_SRC = $(BUILDDIR)/../src/closed/solaris
  65   endif
  66 endif
  67 
  68 # platform specific include files
  69 PLATFORM_INCLUDE_NAME = $(PLATFORM)
  70 PLATFORM_INCLUDE      = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME)
  71 
  72 # suffix used for make dependencies files.
  73 DEPEND_SUFFIX = d
  74 # The suffix applied to the library name for FDLIBM
  75 FDDLIBM_SUFFIX = a
  76 # The suffix applied to scripts (.bat for windows, nothing for unix)
  77 SCRIPT_SUFFIX =
  78 # CC compiler object code output directive flag value
  79 CC_OBJECT_OUTPUT_FLAG = -o #trailing blank required!
  80 CC_PROGRAM_OUTPUT_FLAG = -o #trailing blank required!