
# -------------------------------------------------------------------------------
# uncomment line-1 for bundles, line-2 for subprojects
#LIB_NAME = $(BUNDLE:=_s.a)
LIB_NAME = $(SUBPROJ_OFILE_DIR)/$(NAME:.subproj=_s.a)

# -------------------------------------------------------------------------------
# dependency for building the library
project:: $(LIB_NAME)

# -------------------------------------------------------------------------------
# create the library
$(LIB_NAME): $(PRODUCT_DEPENDS)
	rm -f $(LIB_NAME) ;
	libtool -o $(LIB_NAME) $(OFILES) $(OTHER_OFILES)

#
