# Makefile - makefile for src/hwif/fw/axe
#
# Copyright (c) 2009 Wind River Systems, Inc.
#
# The right to copy, distribute, modify or otherwise make use
# of this software may be licensed only pursuant to the terms
# of an applicable Wind River license agreement.
#
# modification history
# --------------------
# 01b,17aug09,b_m  change build for libdrv.a
# 01a,09mar09,b_m  written.
#
# DESCRIPTION
# This file contains the makefile rules for building the AXE library
#
#*/

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME=drv

# Including defs.library to see if _WRS_CONFIG_SMP is defined.
# It must be after LIB_BASE_NAME
include $(TGT_DIR)/h/make/defs.library

EXTRA_INCLUDE=-I$(TGT_DIR)/h -I$(TGT_DIR)/src/hwif/fw/axe

OBJS_PPC32 = axe_copy_to_sram.o axe_load_task.o axe-ipc.o AXELoader.o \
             axe-reset.o context.o ppc-axe-server.o axec_codec.o \
             vxbFslAxe.o

OBJS= $(OBJS_COMMON) $(OBJS_$(CPU))

include $(TGT_DIR)/h/make/rules.library

CC_OPTIM=$(CC_OPTIM_NORMAL)
include  $(TGT_DIR)/h/make/defs.drivers
