3 # Generate the amiga.lib library (normally called libamiga.a).
6 include $(SRCDIR)/config/aros.cfg
8 # Font. Can be different, if someone wants to.
11 # This can be hardware-specific.
12 ifneq ($(AROS_TARGET_CPU),arm)
13 SERIAL := serial_16450
16 FILES := common clear init_multiboot init_multiboot2 init_taglist \
17 screen_text screen_fb util_fb vars $(FONT) $(SERIAL)
19 USER_INCLUDES := -isystem $(SRCDIR)/$(CURDIR)/include
21 %build_linklib mmake=linklibs-bootconsole libname=bootconsole files="$(FILES)" libdir=$(GENDIR)/lib
23 CFLAGS32 := $(filter-out -mcmodel=large,$(CFLAGS))
25 %build_linklib mmake=linklibs-bootconsole32 libname=bootconsole files="$(FILES)" \
26 cflags="-m32 $(CFLAGS32)" objdir=$(GENDIR)/$(CURDIR)/32bit libdir=$(GENDIR)/lib32