author | lana |
Wed, 11 Apr 2012 18:44:33 -0700 | |
changeset 12408 | 8e95f7b85140 |
parent 12047 | 320a714614e9 |
child 14342 | 8435a30053c1 |
permissions | -rw-r--r-- |
2 | 1 |
# |
9035
1255eb81cc2f
7033660: Update copyright year to 2011 on any files changed in 2011
ohair
parents:
8583
diff
changeset
|
2 |
# Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. |
2 | 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 |
|
5506 | 7 |
# published by the Free Software Foundation. Oracle designates this |
2 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5506 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
2 | 10 |
# |
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
5506 | 21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
2 | 24 |
# |
25 |
||
26 |
# |
|
27 |
# Makefile for building the JDI back-end implementation |
|
28 |
# |
|
29 |
||
30 |
BUILDDIR = ../.. |
|
31 |
LIBRARY = jdwp |
|
32 |
PRODUCT = jpda |
|
33 |
||
34 |
FILES_m = mapfile-vers |
|
35 |
||
36 |
include $(BUILDDIR)/common/Defs.gmk |
|
37 |
||
38 |
# Use the mapfile-vers (See the mapfile located with this Makefile) |
|
39 |
ifdef FILES_m |
|
40 |
include $(BUILDDIR)/common/Mapfile-vers.gmk |
|
41 |
endif |
|
42 |
||
43 |
OTHER_INCLUDES = -I$(SHARE_SRC)/transport/export \ |
|
44 |
-I$(SHARE_SRC)/back/export \ |
|
45 |
-I$(SHARE_SRC)/npt \ |
|
46 |
-I$(PLATFORM_SRC)/npt \ |
|
47 |
-I$(SHARE_SRC)/back \ |
|
48 |
-I$(PLATFORM_SRC)/back \ |
|
49 |
-I$(GENNATIVESRCDIR)/jdwp |
|
50 |
||
51 |
ifneq ($(PLATFORM), windows) |
|
12047
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
9035
diff
changeset
|
52 |
OTHER_LDLIBS += $(LIBDL) |
2 | 53 |
endif # PLATFORM |
54 |
||
55 |
# |
|
56 |
# This controls the ability to do logging in the library. |
|
57 |
# |
|
58 |
CPPFLAGS_DBG += -DJDWP_LOGGING |
|
59 |
CPPFLAGS_OPT += -DJDWP_LOGGING |
|
60 |
||
61 |
# |
|
62 |
# Files to compile. |
|
63 |
# |
|
64 |
FILES_c = \ |
|
65 |
ArrayReferenceImpl.c \ |
|
66 |
ArrayTypeImpl.c \ |
|
67 |
ClassTypeImpl.c \ |
|
68 |
ClassLoaderReferenceImpl.c \ |
|
69 |
ClassObjectReferenceImpl.c \ |
|
70 |
EventRequestImpl.c \ |
|
71 |
FieldImpl.c \ |
|
72 |
FrameID.c \ |
|
73 |
MethodImpl.c \ |
|
74 |
ObjectReferenceImpl.c \ |
|
75 |
ReferenceTypeImpl.c \ |
|
76 |
SDE.c \ |
|
77 |
StackFrameImpl.c \ |
|
78 |
StringReferenceImpl.c \ |
|
79 |
ThreadGroupReferenceImpl.c \ |
|
80 |
ThreadReferenceImpl.c \ |
|
81 |
VirtualMachineImpl.c \ |
|
82 |
bag.c \ |
|
83 |
commonRef.c \ |
|
84 |
classTrack.c \ |
|
85 |
debugDispatch.c \ |
|
86 |
debugInit.c \ |
|
87 |
debugLoop.c \ |
|
88 |
error_messages.c \ |
|
89 |
eventFilter.c \ |
|
90 |
eventHandler.c \ |
|
91 |
eventHelper.c \ |
|
92 |
inStream.c \ |
|
93 |
invoker.c \ |
|
94 |
log_messages.c \ |
|
95 |
outStream.c \ |
|
96 |
standardHandlers.c \ |
|
97 |
stepControl.c \ |
|
98 |
stream.c \ |
|
99 |
threadControl.c \ |
|
100 |
transport.c \ |
|
101 |
util.c \ |
|
102 |
linker_md.c \ |
|
103 |
exec_md.c |
|
104 |
||
105 |
# |
|
106 |
# Rules. |
|
107 |
# |
|
108 |
include $(BUILDDIR)/common/Library.gmk |
|
109 |
||
110 |
# We don't want to link against -ljava |
|
111 |
JAVALIB= |
|
112 |
||
113 |
# |
|
114 |
# Add to ambient vpath so we pick up the library files |
|
115 |
# |
|
116 |
ifeq ($(PLATFORM), windows) |
|
117 |
vpath %.c $(SHARE_SRC)/back:$(SHARE_SRC)/back |
|
118 |
endif # PLATFORM |
|
119 |
vpath %.c $(SHARE_SRC)/back:$(PLATFORM_SRC)/back |
|
120 |