######################################################################
#
#	$Id: Makefile,v 1.7 2007/03/01 16:13:42 pkrawitz Exp $
#
#    Makefile used to build the telnet server library.
#
######################################################################

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

# Include the parent makefile.
all: localall
-include $(BASEDIR)/Makefile.inc

# Add stuff here for additional cleanup
localclean: clean_my_objs

component_clobber: clean_my_libs

# Location of object files.
OBJS = ./objs/$(PROCESSOR)/$(ENDIANDIR)/$(TOOLSET)

#
# The list of source directories.
#
SRCDIR = ./src

#
# The name and path of the library to be built.
#
ifeq ($(DEBUG), on)
LOCAL_LIB = $(BASEDIR)/$(LIBDIR)/libtelnsvrdbg.a
else
LOCAL_LIB = $(BASEDIR)/$(LIBDIR)/libtelnsvr.a
endif

#
# Search path for source header files, specific to this library
#
INCDIRS += -I$(BASEDIR)/h -I$(BASEDIR)/h/threadx -I$(BASEDIR)/h/tcpip -I./includes 

#
# List of C object files for this library.
#
C_OBJ=	$(OBJS)/do_echo.o\
	$(OBJS)/do_noga.o\
	$(OBJS)/do_notsu.o\
	$(OBJS)/do_txbin.o\
	$(OBJS)/fsminit.o\
	$(OBJS)/tcga.o\
	$(OBJS)/recopt.o\
	$(OBJS)/ttfsm.o\
	$(OBJS)/ttgetc.o\
	$(OBJS)/ttinit.o\
	$(OBJS)/will_not.o\
	$(OBJS)/ts_mod.o\
	$(OBJS)/wrap.o\
	$(OBJS)/telnetd2.o\
	$(OBJS)/sync.o

#
# List of C++ object files.
#
CC_OBJ=

#
# List of assembly object files.
#
S_OBJ=	

#
# Any extra compilier flags.
#
MY_CFLAGS =

#
# Any extra defines go here
#
MY_DEFINES = -DPORT_TO_NETOS6_ENV

-include $(BASEDIR)/Makefile.bld


