# Makefile - makefile for building MemScope
#
# modification history
# --------------------
# 01a,26mar08,c_c  created.
#
# DESCRIPTION
# This file contains the makefile rules for building the rti library
#
#*/

TGT_DIR=$(WIND_BASE)/target
TOOLS_SRC_ROOT = ..

DOC_FILES     =

LIB_BASE_NAME =	

include $(TOOLS_SRC_ROOT)/make/common_rules.mk

DKMS = $(LIB_ROOT)/$(DKMDIRBASE)/memscope.so
MEMSCOPE_OBJS = $(LIB_ROOT)/$(LIBDIRBASE)/objmemscope/*.o

.PHONY: dkms

dkms: $(DKMS)

$(LIB_ROOT)/$(DKMDIRBASE)/memscope.so: $(MEMSCOPE_OBJS)
	$(LD_PARTIAL) $^ -o $@

LOCAL_CLEAN += $(DKMS)
