grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / partition / mmakefile.src
blob1cef0f5bf881938c96faa6c9146dde2dcb63a967
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 FILES := \
6         partition_types \
7         partition_support \
8         partitionebr \
9         partitionmbr \
10         partitionrdb \
11         partitiongpt \
12         crc32 \
13         fsloader
15 FUNCS := \
16         openrootpartition \
17         closerootpartition \
18         openpartitiontable \
19         closepartitiontable \
20         writepartitiontable \
21         createpartitiontable \
22         addpartition \
23         deletepartition \
24         getpartitiontableattrs \
25         setpartitiontableattrs \
26         getpartitionattrs \
27         setpartitionattrs \
28         querypartitiontableattrs \
29         querypartitionattrs \
30         destroypartitiontable    \
31         findfilesystema          \
32         loadfilesystem           \
33         getfilesystemattrsa      \
34         addbootfilesystem        \
35         loadbootfilesystems      \
36         readpartitiondata        \
37         writepartitiondata
39 #MM kernel-partition-includes : \
40 #MM    kernel-exec-includes \
41 #MM    includes-copy
42 #MM kernel-partition : core-linklibs
43 #MM kernel-partition-kobj : core-linklibs
44 #MM- core-linklibs: linklibs-partition
46 USER_CFLAGS := -DDEBUG=0
47 USER_LDFLAGS  := -L$(GENDIR)/lib -static
49 %build_module mmake=kernel-partition \
50     modname=partition modtype=library \
51     files="partition_init $(FUNCS) $(FILES)" uselibs="debug loadseg"
53 %common