source: trunk/openjdk/jdk/make/jpda/back/Makefile

Last change on this file was 278, checked in by dmik, 14 years ago

trunk: Merged in openjdk6 b22 from branches/vendor/oracle.

File size: 3.2 KB
Line 
1#
2# Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
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
7# published by the Free Software Foundation. Oracle designates this
8# particular file as subject to the "Classpath" exception as provided
9# by Oracle in the LICENSE file that accompanied this code.
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#
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.
24#
25
26#
27# Makefile for building the JDI back-end implementation
28#
29
30BUILDDIR = ../..
31LIBRARY = jdwp
32PRODUCT = jpda
33
34FILES_m = mapfile-vers
35
36include $(BUILDDIR)/common/Defs.gmk
37
38# Use the mapfile-vers (See the mapfile located with this Makefile)
39ifdef FILES_m
40include $(BUILDDIR)/common/Mapfile-vers.gmk
41endif
42
43OTHER_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
51ifneq ($(filter-out windows os2, $(PLATFORM)),)
52 OTHER_LDLIBS += -ldl
53endif # PLATFORM
54
55#
56# This turns off all assert() checking in the optimized library
57#
58CPPFLAGS_OPT += -DNDEBUG
59
60#
61# This controls the ability to do logging in the library.
62#
63CPPFLAGS_DBG += -DJDWP_LOGGING
64CPPFLAGS_OPT += -DJDWP_LOGGING
65
66#
67# Files to compile.
68#
69FILES_c = \
70 ArrayReferenceImpl.c \
71 ArrayTypeImpl.c \
72 ClassTypeImpl.c \
73 ClassLoaderReferenceImpl.c \
74 ClassObjectReferenceImpl.c \
75 EventRequestImpl.c \
76 FieldImpl.c \
77 FrameID.c \
78 MethodImpl.c \
79 ObjectReferenceImpl.c \
80 ReferenceTypeImpl.c \
81 SDE.c \
82 StackFrameImpl.c \
83 StringReferenceImpl.c \
84 ThreadGroupReferenceImpl.c \
85 ThreadReferenceImpl.c \
86 VirtualMachineImpl.c \
87 bag.c \
88 commonRef.c \
89 classTrack.c \
90 debugDispatch.c \
91 debugInit.c \
92 debugLoop.c \
93 error_messages.c \
94 eventFilter.c \
95 eventHandler.c \
96 eventHelper.c \
97 inStream.c \
98 invoker.c \
99 log_messages.c \
100 outStream.c \
101 standardHandlers.c \
102 stepControl.c \
103 stream.c \
104 threadControl.c \
105 transport.c \
106 util.c \
107 linker_md.c \
108 exec_md.c
109
110#
111# Rules.
112#
113include $(BUILDDIR)/common/Library.gmk
114
115# We don't want to link against -ljava
116JAVALIB=
117
118#
119# Add to ambient vpath so we pick up the library files
120#
121vpath %.c $(SHARE_SRC)/back $(PLATFORM_SRC)/back
Note: See TracBrowser for help on using the repository browser.