< prev index next >

make/bsd/makefiles/saproc.make

Print this page
rev 9009 : 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
   1 #
   2 # Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #
  23 #
  24 
  25 # Rules to build serviceability agent library, used by vm.make
  26 
  27 # libsaproc.so(dylib): serviceability agent
  28 SAPROC   = saproc
  29 
  30 ifeq ($(OS_VENDOR), Darwin)
  31   LIBSAPROC           = lib$(SAPROC).dylib
  32 
  33   LIBSAPROC_DEBUGINFO = lib$(SAPROC).dylib.dSYM
  34   LIBSAPROC_DIZ       = lib$(SAPROC).diz
  35 else
  36   LIBSAPROC           = lib$(SAPROC).so
  37 
  38   LIBSAPROC_DEBUGINFO = lib$(SAPROC).debuginfo
  39   LIBSAPROC_DIZ       = lib$(SAPROC).diz
  40 endif
  41 
  42 AGENT_DIR = $(GAMMADIR)/agent
  43 
  44 SASRCDIR = $(AGENT_DIR)/src/os/$(Platform_os_family)
  45 
  46 BSD_NON_STUB_SASRCFILES = $(SASRCDIR)/salibelf.c             \
  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 


   1 #
   2 # Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #
  23 #
  24 
  25 # Rules to build serviceability agent library, used by vm.make
  26 
  27 # libsaproc.so(dylib): serviceability agent
  28 SAPROC   = saproc
  29 
  30 ifeq ($(OS_VENDOR), Darwin)
  31   LIBSAPROC           = lib$(SAPROC).$(LIBRARY_SUFFIX)
  32 
  33   LIBSAPROC_DEBUGINFO = lib$(SAPROC).$(LIBRARY_SUFFIX).dSYM
  34   LIBSAPROC_DIZ       = lib$(SAPROC).diz
  35 else
  36   LIBSAPROC           = lib$(SAPROC).so
  37 
  38   LIBSAPROC_DEBUGINFO = lib$(SAPROC).debuginfo
  39   LIBSAPROC_DIZ       = lib$(SAPROC).diz
  40 endif
  41 
  42 AGENT_DIR = $(GAMMADIR)/agent
  43 
  44 SASRCDIR = $(AGENT_DIR)/src/os/$(Platform_os_family)
  45 
  46 BSD_NON_STUB_SASRCFILES = $(SASRCDIR)/salibelf.c             \
  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 


< prev index next >