3 include $(SRCDIR)/config/aros.cfg
5 #MM- workbench-tools : workbench-tools-sysexplorer
17 STORAGEMODDIR := Modules/Storage
20 $(STORAGEMODDIR)/storage_init \
21 $(STORAGEMODDIR)/storage_enum \
22 $(STORAGEMODDIR)/storagebus_window_cl \
23 $(STORAGEMODDIR)/storageunit_window_cl
25 ATAMODDIR := Modules/ATA
28 $(ATAMODDIR)/ata_init \
29 $(ATAMODDIR)/ata_enum \
30 $(ATAMODDIR)/atabus_window_cl \
31 $(ATAMODDIR)/ataunit_window_cl
33 AHCIMODDIR := Modules/AHCI
36 $(AHCIMODDIR)/ahci_init \
37 $(AHCIMODDIR)/ahci_enum \
38 $(AHCIMODDIR)/ahcibus_window_cl \
39 $(AHCIMODDIR)/ahciunit_window_cl
41 # disabled until a later date ;)
42 GFXMODDIR := Modules/Gfx
44 $(GFXMODDIR)/gfx_enum \
45 $(GFXMODDIR)/gfx_window_cl \
46 $(GFXMODDIR)/gfxmonitor_window_cl
50 USER_CPPFLAGS := -D__OOP_NOMETHODBASES__ -D__OOP_NOATTRBASES__
51 USER_CPPFLAGS += -DADATE="\"$(shell date '+%d.%m.%Y')\""
52 USER_CPPFLAGS += -DDEBUG
54 EXEDIR := $(AROSDIR)/Tools
55 SYSEXP_GENINCDIR := $(GENDIR)/$(CURDIR)/include
57 #MM- workbench-tools-sysexplorer : workbench-tools-sysexplorer-catalogs workbench-tools-sysexplorer-includes workbench-tools-sysexplorer-app workbench-tools-sysexplorer-modules
58 #MM- workbench-tools-sysexplorer-quick : workbench-tools-sysexplorer-catalogs workbench-tools-sysexplorer-app-quick workbench-tools-sysexplorer-modules-quick
60 SYSEXPCOMMON_INCLUDES := -I$(SYSEXP_GENINCDIR)
62 ##MM workbench-tools-sysexplorer-module-gfx : workbench-tools-sysexplorer-includes
63 ##MM- workbench-tools-sysexplorer-modules : workbench-tools-sysexplorer-module-gfx
64 #USER_INCLUDES := $(SYSEXPCOMMON_INCLUDES) -I$(SRCDIR)/$(CURDIR)/$(GFXMODDIR)
65 #USER_LDFLAGS := -static
66 #%build_module mmake=workbench-tools-sysexplorer-module-gfx \
67 # modname=gfx modtype=library modsuffix=sysexp \
68 # files="$(GFXFILES)" moduledir=$(AROS_DIR_TOOLS)/SysExpModules \
71 #MM workbench-tools-sysexplorer-module-storage : workbench-tools-sysexplorer-includes kernel-hidd-storage-includes kernel-hidd-bus-includes
72 #MM- workbench-tools-sysexplorer-modules : workbench-tools-sysexplorer-module-storage
73 #MM- workbench-tools-sysexplorer-modules-quick : workbench-tools-sysexplorer-module-storage-quick
75 SYSEXPSTORAGE_INCLUDES := -I$(SRCDIR)/$(CURDIR)/$(STORAGEMODDIR) -I$(SYSEXP_GENINCDIR)
76 USER_INCLUDES := $(SYSEXPCOMMON_INCLUDES) $(SYSEXPSTORAGE_INCLUDES)
77 USER_LDFLAGS := -static
78 %build_module mmake=workbench-tools-sysexplorer-module-storage \
79 modname=storage modtype=library modsuffix=sysexp \
80 files="$(STORAGEFILES)" moduledir=$(AROS_DIR_TOOLS)/SysExpModules \
81 uselibs="amiga" includedir=$(SYSEXP_GENINCDIR) conffile=$(SRCDIR)/$(CURDIR)/$(STORAGEMODDIR)/storage.conf
83 #MM workbench-tools-sysexplorer-module-ata : workbench-tools-sysexplorer-includes workbench-tools-sysexplorer-module-storage-includes kernel-ata-includes
84 #MM- workbench-tools-sysexplorer-modules : workbench-tools-sysexplorer-module-ata
85 #MM- workbench-tools-sysexplorer-modules-quick : workbench-tools-sysexplorer-module-ata-quick
87 USER_INCLUDES := $(SYSEXPCOMMON_INCLUDES) $(SYSEXPSTORAGE_INCLUDES) -I$(SRCDIR)/$(CURDIR)/$(ATAMODDIR)
88 USER_LDFLAGS := -static
89 %build_module mmake=workbench-tools-sysexplorer-module-ata \
90 modname=ata modtype=library modsuffix=sysexp \
91 files="$(ATAFILES)" moduledir=$(AROS_DIR_TOOLS)/SysExpModules \
92 uselibs="amiga" includedir=$(SYSEXP_GENINCDIR) conffile=$(SRCDIR)/$(CURDIR)/$(ATAMODDIR)/ata.conf
94 #MM workbench-tools-sysexplorer-module-ahci : workbench-tools-sysexplorer-includes workbench-tools-sysexplorer-module-storage-includes kernel-ahci-includes
95 #MM- workbench-tools-sysexplorer-modules : workbench-tools-sysexplorer-module-ahci
96 #MM- workbench-tools-sysexplorer-modules-quick : workbench-tools-sysexplorer-module-ahci-quick
98 USER_INCLUDES := $(SYSEXPCOMMON_INCLUDES) $(SYSEXPSTORAGE_INCLUDES) -I$(SRCDIR)/$(CURDIR)/$(AHCIMODDIR)
99 USER_LDFLAGS := -static
100 %build_module mmake=workbench-tools-sysexplorer-module-ahci \
101 modname=ahci modtype=library modsuffix=sysexp \
102 files="$(AHCIFILES)" moduledir=$(AROS_DIR_TOOLS)/SysExpModules \
103 uselibs="amiga" includedir=$(SYSEXP_GENINCDIR) conffile=$(SRCDIR)/$(CURDIR)/$(AHCIMODDIR)/ahci.conf
105 #MM workbench-tools-sysexplorer-gen-includes : workbench-tools-sysexplorer-gen-setup
106 #MM- workbench-tools-sysexplorer-includes : workbench-tools-sysexplorer-gen-includes
109 ##workbench-tools-sysexplorer-gen-includes:
110 ##%rule_genmodule_makefile modname=sysexp modtype=library
111 ##-include $(%(mmake)_OBJDIR)/Makefile.%(modname)%(modtype)
112 ##%rule_genmodule_genlibdefs modname=sysexp modtype=library
113 ##%rule_genmodule_includes modname=sysexp modtype=library
116 workbench-tools-sysexplorer-gen-includes: $(GENDIR)/$(CURDIR)/.includes-generated
118 $(GENDIR)/$(CURDIR)/.includes-generated : $(GENMODULE) $(SRCDIR)/$(CURDIR)/sysexp.conf
119 @$(ECHO) "Generating SysExp.library Private API headers..."
120 @$(GENMODULE) -c $(SRCDIR)/$(CURDIR)/sysexp.conf -d $(SYSEXP_GENINCDIR) writeincludes sysexp library
121 @$(GENMODULE) -c $(SRCDIR)/$(CURDIR)/sysexp.conf -d $(SYSEXP_GENINCDIR) writelibdefs sysexp library
125 workbench-tools-sysexplorer-gen-setup:
126 %mkdirs_q $(SYSEXP_GENINCDIR)/clib $(SYSEXP_GENINCDIR)/defines $(SYSEXP_GENINCDIR)/inline $(SYSEXP_GENINCDIR)/proto
128 #MM workbench-tools-sysexplorer-app : iconset-$(AROS_TARGET_ICONSET)-additional-icons-aros-tools-SysExplorer kernel-hidd-storage-includes
130 USER_INCLUDES := $(SYSEXPCOMMON_INCLUDES)
132 %build_prog mmake=workbench-tools-sysexplorer-app \
133 progname=SysExplorer targetdir=$(EXEDIR) \