1 # $Id: mmakefile.src 22621 2004-12-25 16:05:59Z verhaegs $
2 include $(TOP)/config/make.cfg
4 #MM kernel-package-x86_64: \
7 #MM kernel-bootloader-pc-x86_64 \
12 #MM kernel-pc-i386-vga \
13 #MM kernel-pc-i386-vesa \
14 #MM kernel-battclock \
17 #MM kernel-pci-pcipc \
18 #MM kernel-mathieeesingbas \
19 #MM workbench-libs-partition \
20 #MM workbench-hidd-graphics \
24 #MM kernel-intuition \
26 #MM kernel-cgfx-kobj \
29 #MM kernel-fs-packet \
31 #MM kernel-workbench \
32 #MM workbench-fs-nil \
33 #MM workbench-fs-ram \
34 #MM workbench-fs-afs \
35 #MM kernel-contrib-necessary-pc-x86_64 \
38 #MM- kernel-contrib-necessary-pc-x86_64 : contrib-necessary-pc-x86_64
40 PKG_LIBS := aros boot mathieeesingbas partition dos graphics layers keymap intuition workbench
41 PKG_RSRC := bootloader battclock misc
42 PKG_DEVS := ata timer keyboard gameport input console
43 PKG_HANDLERS := cdrom packet con nil ram afs
44 PKG_HIDDS:= vgah pci pcipc graphics vesagfx
47 $(addprefix $(BINDIR)/Libs/, $(addsuffix .library, $(PKG_LIBS))) \
48 $(addprefix $(BINDIR)/Devs/, $(addsuffix .device, $(PKG_DEVS))) \
49 $(addprefix $(BINDIR)/Devs/, $(addsuffix .resource, $(PKG_RSRC))) \
50 $(addprefix $(BINDIR)/Devs/, $(addsuffix .handler, $(PKG_HANDLERS))) \
51 $(addprefix $(BINDIR)/Devs/Drivers/, $(addsuffix .hidd, $(PKG_HIDDS)))
53 kernel-package-x86_64:
54 $(RM) -rf $(BINDIR)/.pkg
55 %mkdirs_q $(BINDIR)/.pkg
56 @mv $(MODULES) $(BINDIR)/.pkg/
57 # Dirty hack to link graphics.library with cybergraphics (they use the same graphics_driver!!!)
58 $(TARGET_LD) -r $(BINDIR)/.pkg/graphics.library $(KOBJSDIR)/cybergraphics_library.o -o $(BINDIR)/.pkg/gfx.library
59 $(RM) $(BINDIR)/.pkg/graphics.library
60 $(TOP)/tools/package/pkg c $(BINDIR)/boot/kernel.pkg $(BINDIR)/.pkg
61 $(RM) -rf $(BINDIR)/.pkg