3 include $(SRCDIR)/config/aros.cfg
5 #MM- workbench-c: kernel-fs-cdvdfs-cdcontrol kernel-fs-cdvdfs-checkcd
6 #MM- test: kernel-fs-cdvdfs-cdrom
8 TESTSDIR := $(AROS_TESTS)/cdrom
10 HANDLER_FILES := device volumes path hfs generic iso9660 cdrom \
11 devsupp rock joliet prefs charset intui
13 CDCONTROL_FILES := cdcontrol
14 CDROM_FILES := main cdrom iso9660 rock joliet \
15 hfs generic path charset
16 CHECKCD_FILES := checkcd cdrom iso9660 rock joliet \
17 hfs generic path charset
19 #Turn these flags on to enable debugging
20 #USER_CFLAGS := -DDEBUG=1
22 #And these ones are for normal operation
23 USER_CFLAGS := -DNDEBUG -DDEBUG=0
25 %build_prog mmake=kernel-fs-cdvdfs-cdcontrol \
26 progname=cdcontrol targetdir=$(AROS_C) \
27 files="$(CDCONTROL_FILES)"
29 %build_prog mmake=kernel-fs-cdvdfs-cdrom \
30 progname=cdrom targetdir=$(TESTSDIR) \
31 files="$(CDROM_FILES)"
33 %build_prog mmake=kernel-fs-cdvdfs-checkcd \
34 progname=checkcd targetdir=$(AROS_C) \
35 files="$(CHECKCD_FILES)"
37 USER_CFLAGS := -DAROS_KERNEL $(USER_CFLAGS)
38 USER_LDFLAGS := -static
40 %build_module mmake=kernel-fs-cdvdfs \
41 modname=cdrom modtype=handler \
42 files="$(HANDLER_FILES)"