#
# @(#)GNUmakefile	1.32 98/03/10
#
# Makefile for building the jdb debug and agent libraries
#

BUILDDIR = ../..
include $(BUILDDIR)/Platform.gmk
LIBRARY = agent
PACKAGE = sun.tools.debug
PRODUCT = sun
include $(BUILDDIR)/makefiles/Defs.gmk

#
# Files to compile.
#
include Exportedfiles.gmk
include $(MINCLUDES)sun_debug.jmk
include $(MINCLUDES)sun_debug.cmk

#
# Rules.
#
include $(BUILDDIR)/makefiles/Library.gmk

#
# Extra clean.
#
clean::
	$(RM) -r $(CLASSBINDIR)/sun/tools/ttydebug

#
# Has been converted to the JNI: generate JNI-style header files.
#
JAVAHFLAGS += -jni

#
# JVMDI implementation lives in the VM.
#
OTHER_LDLIBS = $(JVMLIB)
