######################################################################
#
#	$Id: Makefile,v 1.19.4.1 2007/10/08 15:50:45 lzhen Exp $
#
#    Child Makefile used to build open SSL.
#
######################################################################

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

LIBS_DIR = $(BASEDIR)/$(LIBDIR) 

# Include the parent makefile.
all:
	echo "making all"
	make -f Makefile.b TOOLSET=$(TOOLSET) LIBS_DIR=$(LIBS_DIR) OBJDIR=$(OBJS)
	cp $(BASEDIR)/$(LIBDIR)/libcrypto.a $(BASEDIR)/$(LIBDIR)/libcryptodbg.a

# Add stuff here for additional cleanup
localclean: clean_my_objs
	make -f Makefile.b clean OBJDIR=$(OBJS) TOOLSET=$(TOOLSET) LIBS_DIR=$(LIBS_DIR)

component_clobber: clean_my_libs

-include $(BASEDIR)/Makefile.inc

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

#
# The list of source directories.
#
SRCDIR=$(BASEDIR)/src/openssl

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




#
# Search path for source header files, specific to this library
#
INCDIRS += -I./../../h -I./../../h/threadx -I./../../h/tcpip -I./../../src/bsp/h


#
# Additional defines used by open SSL
#


#
# List of C object files for this library.
#
CC_OBJ=

#
# List of C++ object files.
#
C_OBJ=./crypto/ex_data.o

#
# List of assembly object files.
#
S_OBJ=	

-include $(BASEDIR)/Makefile.bld


