# OSLib.Source.Core.oslib.Makefile	TV	20031228
#

include ${MAKEFILEDIR}.Modules

#include the global definitions afther the local ones
# to allow the latter to be recognised
include <OSLib$SourceDir>.AMUmakefile/inc

# local targets
.PHONY:	core libs libs32

core:       all
      	    @echo

libs: 	 ${OSLIB}
      	 @echo

libs32:  ${OSLIB32}
      	 @echo

REPLACE	= \
l.OSHeap.0x00010.o.001 \
l.OSHeap.0x00010x.o.001 \
l.OS.0x00020.o.000 \
l.OS.0x00020x.o.000 \
l.OS.0x00020.o.001 \
l.OS.0x00020x.o.001

${OSLIB}:   ${OBJS} ${LIBS} ${HDRS}
	-${LIBFILE} -d ${OSLIB} ${REPLACE}
	${LIBFILE} -i -o ${OSLIB} ${OBJS}

${OSLIB32}:  ${OBJS32} ${LIBS32} ${HDRS}
	-${LIBFILE} -d ${OSLIB32} ${REPLACE}
	${LIBFILE} -i -o ${OSLIB32} ${OBJS32}
