1 # |
1 # |
2 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 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 |
55 SRC := $(LIBINSTRUMENT_SRC), \ |
55 SRC := $(LIBINSTRUMENT_SRC), \ |
56 OPTIMIZATION := LOW, \ |
56 OPTIMIZATION := LOW, \ |
57 CFLAGS := $(LIBINSTRUMENT_CFLAGS), \ |
57 CFLAGS := $(LIBINSTRUMENT_CFLAGS), \ |
58 CFLAGS_debug := -DJPLIS_LOGGING, \ |
58 CFLAGS_debug := -DJPLIS_LOGGING, \ |
59 CFLAGS_release := -DNO_JPLIS_LOGGING, \ |
59 CFLAGS_release := -DNO_JPLIS_LOGGING, \ |
60 MAPFILE := $(TOPDIR)/make/mapfiles/libinstrument/mapfile-vers, \ |
|
61 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
60 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
62 $(call SET_SHARED_LIBRARY_ORIGIN) \ |
61 $(call SET_SHARED_LIBRARY_ORIGIN) \ |
63 $(LIBINSTRUMENT_LDFLAGS), \ |
62 $(LIBINSTRUMENT_LDFLAGS), \ |
64 LDFLAGS_linux := $(call SET_SHARED_LIBRARY_ORIGIN,/jli) \ |
63 LDFLAGS_linux := $(call SET_SHARED_LIBRARY_ORIGIN,/jli) \ |
65 -L$(call FindLibDirForModule, java.base)/jli, \ |
64 -L$(call FindLibDirForModule, java.base)/jli, \ |