######################################################################
#
#                       ** WARNING **
#    !!!!! MAKEFILE FOR Digi International ENIRONMENT ONLY !!!!!
#           *** This is not an NDS makefile *** 
#
#	$Id: Makefile,v 1.8 2007/06/18 18:29:42 lming Exp $
#
#    Makefile used to build treck library.
#
######################################################################

# Root directory for netos.
BASEDIR=../../..

# Include the parent makefile.
all:
	make -f Makefile.fv TM_SNMP_VERSION=2 DEBUG=$(DEBUG) PLATFORM=$(PLATFORM)
	make -f Makefile.no_ipsec TM_SNMP_VERSION=2 DEBUG=$(DEBUG) PLATFORM=$(PLATFORM)
	make -f Makefile.fv3 TM_SNMP_VERSION=3 DEBUG=$(DEBUG) PLATFORM=$(PLATFORM)
	make -f Makefile.v3no_ipsec TM_SNMP_VERSION=3 DEBUG=$(DEBUG) PLATFORM=$(PLATFORM)

-include $(BASEDIR)/Makefile.inc
-include Makefile.src

# This is called to clean things up.
localclean: 
	make -f Makefile.fv localclean
	make -f Makefile.no_ipsec localclean
	make -f Makefile.fv3 localclean
	make -f Makefile.v3no_ipsec localclean


clobber:
	make -f Makefile.fv component_clobber
	make -f Makefile.no_ipsec component_clobber
	make -f Makefile.fv3 component_clobber
	make -f Makefile.v3no_ipsec component_clobber