#! make -f
#----------------------------------------------------------------------------
# Project:  NitroDWC - nup - libraries
# File:     Makefile
#
# $Log: Makefile.nitro,v $
# Revision 1.1  2007/06/08 23:37:55  achan
# - This check-in moved the NUP functionality to the NetCard side
# - By default, only the NUP shim layer is exported to the NitroDWC SDK now
# - The EC functionality on DS is temporarily broken (because of some API changes to add "mode" as an argument)
# - scanf: return 1 instead of 0
# - NHTTP: changed SetMode to become request-specific
# - NUP: added "mode", also changed status string to be a char array instead of a pointer so that the buffer resides in the caller side
# - devroot, elf-merge, addr_map: added address space for EC resource manager
# - ds-sdk, sdk, Makefiles: modified the list of files to be exported, added/removed build steps
#
#
# $NoKeywords: $
#----------------------------------------------------------------------------

SUBDIRS		=

#----------------------------------------------------------------------------

SRCS	= nup_shim.c

NITRODWC_MODULE_NAME :=   nup
TARGET_LIB	=	lib$(NITRODWC_LIB_PREFIX)$(NITRODWC_MODULE_NAME)$(NITRODWC_LIBSUFFIX).a

MACRO_FLAGS += -DNUP_NHTTP
CCFLAGS_MSGSTYLE = -msgstyle gcc

#----------------------------------------------------------------------------

include	$(NITRODWC_ROOT)/build/buildtools/commondefs

INSTALL_TARGETS	=	$(TARGETS)
INSTALL_DIR		=	$(NITRODWC_INSTALL_LIBDIR)

#----------------------------------------------------------------------------

do-build:		$(TARGETS)

include	$(NITRODWC_ROOT)/build/buildtools/modulerules

NITRODWC_INCDIR += $(NITROSDK_ROOT)/include/netcard
NITRODWC_INCDIR += $(NITROSDK_ROOT)/include/netcard/ds
NITRODWC_INCDIR += $(NITRODWC_ROOT)/include/netcard
NITRODWC_INCDIR += $(NITRODWC_ROOT)/include/netcard/ds

#----------------------------------------------------------------------------

#===== End of Makefile =====
