1 # |
1 # |
2 # Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2002, 2015, 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. |
7 # published by the Free Software Foundation. |
48 SOURCES = symtab.c \ |
48 SOURCES = symtab.c \ |
49 libproc_impl.c \ |
49 libproc_impl.c \ |
50 ps_core.c |
50 ps_core.c |
51 OBJS = $(SOURCES:.c=.o) |
51 OBJS = $(SOURCES:.c=.o) |
52 OBJSPLUS = MacosxDebuggerLocal.o sadis.o $(OBJS) |
52 OBJSPLUS = MacosxDebuggerLocal.o sadis.o $(OBJS) |
53 EXTINCLUDE = -I/System/Library/Frameworks/JavaVM.framework/Headers -I. |
53 EXTINCLUDE = -I. |
54 EXTCFLAGS = -m64 -D__APPLE__ -framework JavaNativeFoundation |
54 EXTCFLAGS = -m64 -D__APPLE__ -framework JavaNativeFoundation |
55 FOUNDATIONFLAGS = -framework Foundation -F/System/Library/Frameworks/JavaVM.framework/Frameworks -framework JavaNativeFoundation -framework Security -framework CoreFoundation |
55 FOUNDATIONFLAGS = -framework Foundation -framework JavaNativeFoundation -framework Security -framework CoreFoundation |
56 LIBSA = $(ARCH)/libsaproc.dylib |
56 LIBSA = $(ARCH)/libsaproc.dylib |
57 endif # Darwin |
57 endif # Darwin |
58 |
58 |
59 INCLUDES = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/$(shell uname -s | tr "[:upper:]" "[:lower:]") $(EXTINCLUDE) |
59 INCLUDES = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/$(shell uname -s | tr "[:upper:]" "[:lower:]") $(EXTINCLUDE) |
60 |
60 |