make/bsd/makefiles/saproc.make
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hs-comp-code-aging Sdiff make/bsd/makefiles

make/bsd/makefiles/saproc.make

Print this page




  47                       $(SASRCDIR)/symtab.c                   \
  48                       $(SASRCDIR)/libproc_impl.c             \
  49                       $(SASRCDIR)/ps_proc.c                  \
  50                       $(SASRCDIR)/ps_core.c                  \
  51                       $(SASRCDIR)/BsdDebuggerLocal.c         \
  52                       $(AGENT_DIR)/src/share/native/sadis.c
  53 
  54 DARWIN_NON_STUB_SASRCFILES = $(SASRCDIR)/symtab.c            \
  55                       $(SASRCDIR)/libproc_impl.c             \
  56                       $(SASRCDIR)/ps_core.c                  \
  57                       $(SASRCDIR)/MacosxDebuggerLocal.m      \
  58                       $(AGENT_DIR)/src/share/native/sadis.c
  59 
  60 ifeq ($(OS_VENDOR), FreeBSD)
  61   SASRCFILES = $(BSD_NON_STUB_SASRCFILES)
  62   SALIBS = -lutil -lthread_db
  63   SAARCH = $(ARCHFLAG)
  64 else
  65   ifeq ($(OS_VENDOR), Darwin)
  66     SASRCFILES = $(DARWIN_NON_STUB_SASRCFILES)
  67     SALIBS = -g -framework Foundation -F/System/Library/Frameworks/JavaVM.framework/Frameworks -framework JavaNativeFoundation -framework Security -framework CoreFoundation

  68     #objc compiler blows up on -march=i586, perhaps it should not be included in the macosx intel 32-bit C++ compiles?
  69     SAARCH = $(subst -march=i586,,$(ARCHFLAG))
  70   else
  71     SASRCFILES = $(SASRCDIR)/StubDebuggerLocal.c
  72     SALIBS = 
  73     SAARCH = $(ARCHFLAG)
  74   endif
  75 endif
  76 
  77 SAMAPFILE = $(SASRCDIR)/mapfile
  78 
  79 DEST_SAPROC           = $(JDK_LIBDIR)/$(LIBSAPROC)
  80 DEST_SAPROC_DEBUGINFO = $(JDK_LIBDIR)/$(LIBSAPROC_DEBUGINFO)
  81 DEST_SAPROC_DIZ       = $(JDK_LIBDIR)/$(LIBSAPROC_DIZ)
  82 
  83 # DEBUG_BINARIES overrides everything, use full -g debug information
  84 ifeq ($(DEBUG_BINARIES), true)
  85   SA_DEBUG_CFLAGS = -g
  86 endif
  87 




  47                       $(SASRCDIR)/symtab.c                   \
  48                       $(SASRCDIR)/libproc_impl.c             \
  49                       $(SASRCDIR)/ps_proc.c                  \
  50                       $(SASRCDIR)/ps_core.c                  \
  51                       $(SASRCDIR)/BsdDebuggerLocal.c         \
  52                       $(AGENT_DIR)/src/share/native/sadis.c
  53 
  54 DARWIN_NON_STUB_SASRCFILES = $(SASRCDIR)/symtab.c            \
  55                       $(SASRCDIR)/libproc_impl.c             \
  56                       $(SASRCDIR)/ps_core.c                  \
  57                       $(SASRCDIR)/MacosxDebuggerLocal.m      \
  58                       $(AGENT_DIR)/src/share/native/sadis.c
  59 
  60 ifeq ($(OS_VENDOR), FreeBSD)
  61   SASRCFILES = $(BSD_NON_STUB_SASRCFILES)
  62   SALIBS = -lutil -lthread_db
  63   SAARCH = $(ARCHFLAG)
  64 else
  65   ifeq ($(OS_VENDOR), Darwin)
  66     SASRCFILES = $(DARWIN_NON_STUB_SASRCFILES)
  67     #SALIBS = -g -framework Foundation -F/System/Library/Frameworks/JavaVM.framework/Frameworks -framework JavaNativeFoundation -framework Security -framework CoreFoundation
  68     SALIBS = -g -framework Foundation -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Frameworks -framework JavaNativeFoundation -framework Security -framework CoreFoundation
  69     #objc compiler blows up on -march=i586, perhaps it should not be included in the macosx intel 32-bit C++ compiles?
  70     SAARCH = $(subst -march=i586,,$(ARCHFLAG))
  71   else
  72     SASRCFILES = $(SASRCDIR)/StubDebuggerLocal.c
  73     SALIBS = 
  74     SAARCH = $(ARCHFLAG)
  75   endif
  76 endif
  77 
  78 SAMAPFILE = $(SASRCDIR)/mapfile
  79 
  80 DEST_SAPROC           = $(JDK_LIBDIR)/$(LIBSAPROC)
  81 DEST_SAPROC_DEBUGINFO = $(JDK_LIBDIR)/$(LIBSAPROC_DEBUGINFO)
  82 DEST_SAPROC_DIZ       = $(JDK_LIBDIR)/$(LIBSAPROC_DIZ)
  83 
  84 # DEBUG_BINARIES overrides everything, use full -g debug information
  85 ifeq ($(DEBUG_BINARIES), true)
  86   SA_DEBUG_CFLAGS = -g
  87 endif
  88 


make/bsd/makefiles/saproc.make
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File