# @(#)Makefile	1.18 98/03/08
#
# Makefile for building Java debugger library
#

BUILDDIR = ..\..
LOCATION = sun\debug
LIBRARY  = agent
!include $(BUILDDIR)\makefiles\defs.nmk

#
# Has been converted to the JNI: generate JNI-style header files
#
JAVAHFLAGS = $(JAVAHFLAGS) -jni

#
# Files to compile.
#
PKG  = sun.tools.agent
PKG2 = sun.tools.debug
PKG3 = sun.tools.ttydebug
PKG4 = sun.tools.java
!include $(MINCLUDES)\sun_debug.jmk
!include $(MINCLUDES)\sun_debug.cmk

#
# Stuff to feed into javah.
#
EXPORTED_CLASSES = \
	sun.tools.agent.Agent \
	sun.tools.agent.AgentConstants \
	sun.tools.agent.Breakpoint \
	sun.tools.agent.CachedClass \
	sun.tools.agent.CachedField \
	sun.tools.agent.CachedMethod \
	sun.tools.agent.MainThread \
	sun.tools.agent.StackFrame \
	sun.tools.java.Constants

#
# Link with jvm.dll
#
EXTRA_LIBS = $(JVMLIB)

#
# Rules.
#
!include $(BUILDDIR)\makefiles\library.nmk
