#-----------------------------------------------------------------------------
#
# make libs	- create the libraries rciUser.a and rciCtrl.a,
#		  for creation purposes only. Also, on microVAX systems, 
#		  create libAux.a as a symlink to the minikernel located
#		  in auxkernel.
#
#-----------------------------------------------------------------------------

LIBLIST =	rciUser.a rciCtrl.a

libs:		$(LIBLIST)

rciUser.a:
		ar r rciUser.a
rciCtrl.a:
		ar r rciCtrl.a

#ifdef uVaxConfig
libs:		libAux.a
libAux.a:	
		rm -f libAux.a
		ln -s ../auxkernel/slave.a libAux.a
#endif

VXWdir = VXW/

#if VxWorksSupport

.PHONY:		vxw VXW
vxw:		vxwRCCL.o
vxwRCCL.o:	$(VXWdir)*
		VxwLdCmd -r -o vxwRCCL.o $^
VXW:
		@ $(CheckForVXWDir)
#endif

makeClean(*.a $(VXWdir)*)


