# Makefile - makefile for target/src/os/io
#
# modification history
# --------------------
# 01l,27dec11,zly  Fix defect WIND00260996, remove() is missing from ioLib in
#                  the VxWorks Kernel API Reference
# 01k,17dec10,pch  CQ244631: build (only) os/io/ioFuncBind for small footprint
# 01j,02sep10,jxu  Added ioFuncBind.o
# 01i,15jul10,sjz  Fix the defect WIND00223585, merge netDrv.c 
#		   into ClearCase.
# 01h,01aug07,act  io footprint work
# 01g,09aug05,hya  added iosDrvLib.o.
# 01f,07mar05,act  add uioMove.c
# 01e,26mar04,dat  move memDrv,ramDrv to src/os/io
# 01d,17feb04,pch  remove PPC32 hack, no longer needed
# 01c,03feb04,dat  rtpIoLib.c not documented for 6.0
# 01b,24nov03,dat  moving iosSc stuff to io directory
# 01a,09nov03,dat  written
#
# DESCRIPTION
# This file contains the makefile rules for building the vx library
#
#*/

TGT_DIR=$(WIND_BASE)/target

DOC_FILES=	dirLib.c ioLib.c iosLib.c iosShow.c \
		pipeDrv.c ptyDrv.c selectLib.c \
		tyLib.c ttyDrv.c memDrv.c ramDrv.c netDrv.c\
        fsIoLib.c

LIB_BASE_NAME	= os

OBJS_COMMON =	ioFuncBind.o

# Except for ioFuncBind, the I/O subsystem requires malloc() etc.
# and should not be built if they are not available.

ifndef _WRS_CONFIG_MEM_ALLOT
OBJS_COMMON +=	dirLib.o ioLib.o fsIoLib.o ioMiscLib.o ioPxLib.o \
                iosLib.o iosMiscLib.o iosPathLib.o iosPxLib.o iosRmvLib.o \
                iosRtpLib.o iosDrvLib.o iosShow.o pathLib.o \
		pathCatLib.o pipeDrv.o ptyDrv.o selectLib.o ttyDrv.o tyLib.o \
		rtpIoLib.o iosScLib.o memDrv.o ramDrv.o uioMove.o netDrv.o
endif

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

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