make/lib/Lib-jdk.hotspot.agent.gmk
changeset 49070 d7859531621b
parent 47314 743814386712
child 49160 cefb7b496d17
child 56236 97746cb303aa
equal deleted inserted replaced
49069:e37b804ae0b1 49070:d7859531621b
     1 #
     1 #
     2 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     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
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    96 endif
    96 endif
    97 
    97 
    98 ################################################################################
    98 ################################################################################
    99 
    99 
   100 $(eval $(call SetupNativeCompilation, BUILD_LIBSA, \
   100 $(eval $(call SetupNativeCompilation, BUILD_LIBSA, \
       
   101     NAME := $(SA_NAME), \
   101     TOOLCHAIN := $(SA_TOOLCHAIN), \
   102     TOOLCHAIN := $(SA_TOOLCHAIN), \
   102     OPTIMIZATION := NONE, \
   103     OPTIMIZATION := NONE, \
   103     DISABLED_WARNINGS_microsoft := 4267, \
   104     DISABLED_WARNINGS_microsoft := 4267, \
   104     DISABLED_WARNINGS_gcc := sign-compare, \
   105     DISABLED_WARNINGS_gcc := sign-compare, \
   105     DISABLED_WARNINGS_CXX_solstudio := truncwarn unknownpragma, \
   106     DISABLED_WARNINGS_CXX_solstudio := truncwarn unknownpragma, \
   106     LIBRARY := $(SA_NAME), \
       
   107     OUTPUT_DIR := $(call FindLibDirForModule, $(MODULE)), \
   107     OUTPUT_DIR := $(call FindLibDirForModule, $(MODULE)), \
   108     SRC := $(SA_SRC), \
   108     SRC := $(SA_SRC), \
   109     EXCLUDE_FILES := test.c saproc_audit.cpp $(SA_EXCLUDE_FILES), \
   109     EXCLUDE_FILES := test.c saproc_audit.cpp $(SA_EXCLUDE_FILES), \
   110     CFLAGS := $(SA_INCLUDES) $(SA_CFLAGS) $(SA_CUSTOM_CFLAGS), \
   110     CFLAGS := $(SA_INCLUDES) $(SA_CFLAGS) $(SA_CUSTOM_CFLAGS), \
   111     CXXFLAGS := $(SA_INCLUDES) $(SA_CXXFLAGS) $(SA_CUSTOM_CXXFLAGS), \
   111     CXXFLAGS := $(SA_INCLUDES) $(SA_CXXFLAGS) $(SA_CUSTOM_CXXFLAGS), \