# Makefile - makefile for un
#
# modification history
# --------------------
# 01i,21aug07,ebh  Remove extraneous define of _KERNEL (WIND00102055)
# 01h,11oct04,p_r  removed coreip reference from comment (SPR#102446)
# 01g,26aug04,ann  added changes to select this directory only for 6.0 and
#                  beyond
# 01f,24may04,ann  merged from /main/vdt/base6_itn5-int/1.
# 01e,30apr04,rp   check for sh endianness no longer required
# 01d,17feb04,pch  remove PPC32 hack, no longer needed
# 01c,05dec03,xli  add EXTRA_DEFINE
# 01b,02dec03,bwa  changed the make rules
# 01a,09oct03,bwa  written
#
# DESCRIPTION
# This file contains the makefile rules for building the un (AF_LOCAL
# domain) library
#

TGT_DIR         = $(WIND_BASE)/target
LIB_BASE_NAME   = dsi

override EXTRA_DEFINE+=-DZ_PREFIX -D_WRS_VXWORKS_5_5

# Choose what we build for VxWorks 5.x

IS_BASE6 := $(wildcard $(TGT_DIR)/share/h/syscallApi.def)

ifneq ($(IS_BASE6),)
OBJS            = unLib.o unShow.o
else
OBJS            = 
endif

DOC_FILES       = unShow.c

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