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