3 include $(SRCDIR)/config/aros.cfg
5 ACPICA_INCLUDE := ../../source/include
8 $(call WILDCARD, ../../source/components/executer/*.c) \
9 $(call WILDCARD, ../../source/components/hardware/*.c) \
10 $(call WILDCARD, ../../source/components/dispatcher/*.c) \
11 $(call WILDCARD, ../../source/components/tables/*.c) \
12 $(call WILDCARD, ../../source/components/events/*.c) \
13 $(call WILDCARD, ../../source/components/parser/*.c) \
14 $(call WILDCARD, ../../source/components/utilities/*.c) \
15 $(call WILDCARD, ../../source/components/resources/*.c) \
16 $(call WILDCARD, ../../source/components/namespace/*.c)
18 NOWARN_FLAGS := $(NOWARN_STRICT_ALIASING)
19 USER_CFLAGS := $(NOWARN_FLAGS)
20 USER_LDFLAGS := -static
22 # ACPICA debugging options
24 # $(call WILDCARD, ../../source/components/disassembler/*.c)
25 #USER_CFLAGS += -DACPI_DEBUG_OUTPUT=1 -DACPI_DISASSEMBLER=1
27 # AROS Glue code debugging options
28 #USER_CFLAGS += -DDEBUG=1
30 FILES := acpios_aros \
31 $(ACPICA_SOURCES:%.c=%)
33 USER_INCLUDES += -I$(SRCDIR)/$(CURDIR)/$(ACPICA_INCLUDE)
35 %build_module mmake=kernel-pc-acpica \
36 modname=acpica modtype=library \
41 INCLUDE_FILES := $(call WILDCARD, include/*.h)
43 %copy_includes path=libraries dir=include
45 INCLUDE_FILES := $(call WILDCARD, $(ACPICA_INCLUDE)/*.h)
47 %copy_includes path=acpica dir=$(ACPICA_INCLUDE)
51 USER_CFLAGS := -DADATE="\"$(shell date "+%d.%m.%Y")\""
55 #MM- workbench-c : workbench-c-$(AROS_TARGET_ARCH)-acpi
56 #MM- workbench-c-quick : workbench-c-$(AROS_TARGET_ARCH)-acpi-quick
58 %build_progs mmake=workbench-c-pc-acpi targetdir=$(AROS_C) \
59 files="$(FILES)" usestartup=no uselibs="acpica"