2 # Makefile for all Linux ACPI interpreter subdirectories
6 MOD_SUB_DIRS
:= $(SUB_DIRS
)
8 ALL_SUB_DIRS
:= $(SUB_DIRS
)
10 O_TARGET
:= ..
/$(shell basename `pwd`).o
14 ACPI_OBJS
:= $(patsubst %.c
,%.o
,$(wildcard *.c
))
16 EXTRA_CFLAGS
+= -I..
/include
18 EXTRA_CFLAGS
+= $(ACPI_CFLAGS
)
20 # if the interpreter is used, it overrides arch/i386/kernel/acpi.c
21 ifeq ($(CONFIG_ACPI_INTERPRETER
),y
)
22 O_OBJS
:= $(ACPI_OBJS
)
25 include $(TOPDIR
)/Rules.make