equal
deleted
inserted
replaced
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 |
47 LIBINSTRUMENT_CFLAGS := $(filter-out -MD, $(LIBINSTRUMENT_CFLAGS)) |
47 LIBINSTRUMENT_CFLAGS := $(filter-out -MD, $(LIBINSTRUMENT_CFLAGS)) |
48 # equivalent of strcasecmp is stricmp on Windows |
48 # equivalent of strcasecmp is stricmp on Windows |
49 LIBINSTRUMENT_CFLAGS += -Dstrcasecmp=stricmp |
49 LIBINSTRUMENT_CFLAGS += -Dstrcasecmp=stricmp |
50 endif |
50 endif |
51 |
51 |
52 $(eval $(call SetupNativeCompilation,BUILD_LIBINSTRUMENT, \ |
52 $(eval $(call SetupNativeCompilation, BUILD_LIBINSTRUMENT, \ |
53 LIBRARY := instrument, \ |
53 NAME := instrument, \ |
54 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
54 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
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, \ |