# Makefile - makefile for src/hwif/cpu/arch/i86
#
# Copyright (c) 2010, 2012, 2013 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
# --------------------
# 01e,26mar13,scm  Add vxCpuIdLib to DOC_FILES (WIND00408696)...
# 01d,18jan13,rbc  WIND00399887 - Fix build issue with other arches
# 01c,12dec12,rbc  WIND00381053 - Add a20.o file
# 01b,22sep10,sem  Add new IA cpus
# 01a,26jul10,sem  written
#
# DESCRIPTION
# This file contains the makefile rules for building the cpu library
#
#*/

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME=drv

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

DOC_FILES=       vxCpuIdLib.c

OBJS_PENTIUM = vxCpuIdALib.o vxCpuIdLib.o a20.o
OBJS_PENTIUM4 = vxCpuIdALib.o vxCpuIdLib.o a20.o
OBJS_ATOM = vxCpuIdALib.o vxCpuIdLib.o a20.o
OBJS_CORE = vxCpuIdALib.o vxCpuIdLib.o a20.o
OBJS_NEHALEM = vxCpuIdALib.o vxCpuIdLib.o a20.o

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

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

include  $(TGT_DIR)/h/make/defs.drivers
