3 # Generate aros.library
5 include $(SRCDIR)/config/aros.cfg
7 #MM- kernel-aros : linklibs kernel-aros-create-abi-file
8 #MM- kernel-aros-kobj : linklibs kernel-aros-create-abi-file
10 #MM- kernel-aros-includes : \
11 #MM kernel-exec-includes \
12 #MM kernel-utility-includes \
14 #MM- core-linklibs: linklibs-aros
16 USER_CFLAGS := -DAROS_ARCHITECTURE="\"$(AROS_TARGET_PLATFORM)\""
18 %build_module mmake=kernel-aros \
19 modname=aros modtype=library \
20 files="aros_init arosinquirea"
23 kernel-aros-create-abi-file :
24 $(MKDIR) $(AROS_PREFS)/Env-Archive
25 $(SED) -n 's/#define AROS_ABI_VERSION_MAJOR// p' < $(SRCDIR)/$(CURDIR)/arosinquirea.c | $(SED) -n 's/^ *//;s/[ */*].*//p' > $(AROS_PREFS)/Env-Archive/ABI