AROS-v0/rom/aros/mmakefile.src

28 lines
812 B
Plaintext

# $Id$
#
# Generate aros.library
#
include $(SRCDIR)/config/aros.cfg
#MM- kernel-aros : linklibs kernel-aros-create-abi-file
#MM- kernel-aros-kobj : linklibs kernel-aros-create-abi-file
#MM- kernel-aros-includes : \
#MM kernel-exec-includes \
#MM kernel-utility-includes \
#MM includes-copy
#MM- core-linklibs: linklibs-aros
USER_CPPFLAGS := \
-DUSE_EXEC_DEBUG \
-DAROS_ARCHITECTURE="\"$(AROS_TARGET_PLATFORM)\""
%build_module mmake=kernel-aros \
modname=aros modtype=library \
files="aros_init arosinquirea" usesdks="private config"
#MM
kernel-aros-create-abi-file :
@$(MKDIR) $(AROS_PREFS)/Env-Archive
@$(SED) -n 's/#define AROS_ABI_VERSION_MAJOR// p' < $(SRCDIR)/$(CURDIR)/arosinquirea.c | $(SED) -n 's/^ *//;s/[ */*].*//p' > $(AROS_PREFS)/Env-Archive/ABI