# Makefile - makefile for src/hwif/GPIO
#
# Copyright (c) 2010,2011 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
# --------------------
# 01c,15jun11,rec  remove omap35xxDState.c
# 01b,10nov10,dbr  add DState power management
# 01a,30sep10,dbr  created

# DESCRIPTION
# This file contains the makefile rules for building the vxBus library
#

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME = drv

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

DOC_FILES =     omap35xxPowerDomain.c

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

OBJS_ARMARCH7 = omap35xxPowerDomain.o
OBJS_ARMARCH7_T2 = $(OBJS_ARMARCH7)

#include $(wildcard $(sort *.mk))

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

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

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