revert between 56095 -> 55830 in arch
[AROS.git] / rom / aros / mmakefile.src
blob8d1600ca4500a2305cd716d7455acb4a2b9d61b7
1 #   $Id$
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 \
13 #MM      includes-copy
14 #MM- core-linklibs: linklibs-aros
16 USER_CPPFLAGS := -DAROS_ARCHITECTURE="\"$(AROS_TARGET_PLATFORM)\""
18 %build_module mmake=kernel-aros \
19   modname=aros modtype=library \
20   files="aros_init arosinquirea"
22 #MM
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