
PATH_TO_TOP = ../..

TARGET_TYPE = library

TARGET_NAME = rtl

include $(PATH_TO_TOP)/config

TARGET_CFLAGS = -Wall -Werror -ffreestanding

# require os code to explicitly request A/W version of structs/functions
TARGET_CFLAGS += -D_DISABLE_TIDENTS

ifneq ($(DBG), 0)
TARGET_CFLAGS += -DDBG
endif

TARGET_OBJECTS = \
	access.o \
	acl.o \
	ppb.o \
	bit.o \
	thread.o \
	process.o \
	bitmap.o \
	bootdata.o \
	compress.o \
	dos8dot3.o \
	encode.o \
	env.o \
	error.o \
	exception.o \
	generictable.o \
	heap.o \
	image.o \
	largeint.o \
	luid.o \
	mem.o \
	network.o \
	nls.o \
	random.o \
	registry.o \
	sd.o \
	security.o \
	sid.o \
	splaytree.o \
	time.o \
	timezone.o \
	unicode.o \
	unicodeprefix.o \
	version.o \
	i386/chkstk.o \
	i386/exception.o \
	i386/except.o \
	i386/alldiv.o \
	i386/allmul.o \
	i386/allrem.o \
	i386/allshl.o \
	i386/allshr.o \
	i386/aulldiv.o \
	i386/aullrem.o \
	i386/aullshr.o \

#	atom
#	registry


include $(PATH_TO_TOP)/rules.mak

include $(TOOLS_PATH)/helper.mk

DEP_OBJECTS := $(TARGET_OBJECTS)

TARGET_CLEAN = $(DEP_FILES)

include $(PATH_TO_TOP)/tools/depend.mk

# EOF
