Forward compatibility: libarossupport.a - remove dependency on C library
[AROS.git] / bootstrap / mmakefile.src
blobf0e158271a8bc87a48a7f9a75027864163d6614a
1 #   $Id$
4 include $(SRCDIR)/config/aros.cfg
6 FILES := elfloader
8 USER_INCLUDES := -I $(SRCDIR)/$(CURDIR)/include -I $(GENINCDIR)
10 %build_linklib mmake=linklibs-bootstrap libname=bootstrap files="$(FILES)" \
11                compiler=kernel libdir=$(GENDIR)/lib
13 # linklibs-bootstrap32 target is used by x86-64 bootstrap which runs in 32-bit mode
15 CFLAGS32 := $(filter-out -mcmodel=large,$(CFLAGS))
17 %build_linklib mmake=linklibs-bootstrap32 libname=bootstrap files="$(FILES)" \
18                cflags="-m32 -DELF_64BIT $(CFLAGS32)" compiler=kernel objdir=$(GENDIR)/$(CURDIR)/32bit libdir=$(GENDIR)/lib32
20 %common