make/linux/makefiles/saproc.make
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6879063 Sdiff make/linux/makefiles

make/linux/makefiles/saproc.make

Print this page




  20 # CA 95054 USA or visit www.sun.com if you need additional information or
  21 # have any questions.
  22 #  
  23 #
  24 
  25 # Rules to build serviceability agent library, used by vm.make
  26 
  27 # libsaproc[_g].so: serviceability agent
  28 SAPROC = saproc$(G_SUFFIX)
  29 LIBSAPROC = lib$(SAPROC).so
  30 
  31 AGENT_DIR = $(GAMMADIR)/agent
  32 
  33 SASRCDIR = $(AGENT_DIR)/src/os/$(Platform_os_family)
  34 
  35 SASRCFILES = $(SASRCDIR)/salibelf.c                   \
  36              $(SASRCDIR)/symtab.c                     \
  37              $(SASRCDIR)/libproc_impl.c               \
  38              $(SASRCDIR)/ps_proc.c                    \
  39              $(SASRCDIR)/ps_core.c                    \
  40              $(SASRCDIR)/LinuxDebuggerLocal.c

  41 
  42 SAMAPFILE = $(SASRCDIR)/mapfile
  43 
  44 DEST_SAPROC = $(JDK_LIBDIR)/$(LIBSAPROC)
  45 
  46 # DEBUG_BINARIES overrides everything, use full -g debug information
  47 ifeq ($(DEBUG_BINARIES), true)
  48   SA_DEBUG_CFLAGS = -g
  49 endif
  50 
  51 # if $(AGENT_DIR) does not exist, we don't build SA
  52 # also, we don't build SA on Itanium.
  53 
  54 checkAndBuildSA:
  55         $(QUIETLY) if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" ] ; then \
  56            $(MAKE) -f vm.make $(LIBSAPROC); \
  57         fi
  58 
  59 SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) $(LDFLAGS_HASH_STYLE)
  60 




  20 # CA 95054 USA or visit www.sun.com if you need additional information or
  21 # have any questions.
  22 #  
  23 #
  24 
  25 # Rules to build serviceability agent library, used by vm.make
  26 
  27 # libsaproc[_g].so: serviceability agent
  28 SAPROC = saproc$(G_SUFFIX)
  29 LIBSAPROC = lib$(SAPROC).so
  30 
  31 AGENT_DIR = $(GAMMADIR)/agent
  32 
  33 SASRCDIR = $(AGENT_DIR)/src/os/$(Platform_os_family)
  34 
  35 SASRCFILES = $(SASRCDIR)/salibelf.c                   \
  36              $(SASRCDIR)/symtab.c                     \
  37              $(SASRCDIR)/libproc_impl.c               \
  38              $(SASRCDIR)/ps_proc.c                    \
  39              $(SASRCDIR)/ps_core.c                    \
  40              $(SASRCDIR)/LinuxDebuggerLocal.c         \
  41              $(AGENT_DIR)/src/share/native/sadis.c
  42 
  43 SAMAPFILE = $(SASRCDIR)/mapfile
  44 
  45 DEST_SAPROC = $(JDK_LIBDIR)/$(LIBSAPROC)
  46 
  47 # DEBUG_BINARIES overrides everything, use full -g debug information
  48 ifeq ($(DEBUG_BINARIES), true)
  49   SA_DEBUG_CFLAGS = -g
  50 endif
  51 
  52 # if $(AGENT_DIR) does not exist, we don't build SA
  53 # also, we don't build SA on Itanium.
  54 
  55 checkAndBuildSA:
  56         $(QUIETLY) if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" ] ; then \
  57            $(MAKE) -f vm.make $(LIBSAPROC); \
  58         fi
  59 
  60 SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) $(LDFLAGS_HASH_STYLE)
  61 


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