2 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
5 # Copyright 2016 Joyent, Inc.
8 # This makefile drives the production of the ACPI CA services
11 # intel architecture dependent
15 # Path to the base of the uts directory tree (usually /usr/src/uts).
20 # Define the module and object file sets.
23 OBJECTS
= $(ACPICA_OBJS
:%=$(OBJS_DIR
)/%)
24 ROOTMODULE
= $(ROOT_MISC_DIR
)/$(MODULE
)
25 INC_PATH
+= -I
$(SRCTOP
)/arch
/x86
/include/sys
/acpi
26 INC_PATH
+= -I
$(SRCTOP
)/arch
/x86
/kernel
/platform
/i86pc
/include
27 INC_PATH
+= -I
$(SRC
)/common
30 # Include common rules.
32 include $(UTSBASE
)/intel
/Makefile.intel
37 ALL_TARGET
= $(BINARY
) $(CONFMOD
)
38 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
)
43 DEBUG_DEFS
+= $(DEBUG_FLGS
)
45 CFLAGS
+= -DPWRDMN
-DACPI_USE_LOCAL_CACHE
-DACPI_DEBUG_OUTPUT
47 CERRWARN
+= -Wno-unused-variable
48 CERRWARN
+= -Wno-parentheses
49 CERRWARN
+= -Wno-uninitialized
50 CERRWARN
+= -Wno-unused-function
53 # Default build targets.
63 clobber: $(CLOBBER_DEPS
)
65 install: $(INSTALL_DEPS
)
68 # Include common targets.
70 include $(UTSBASE
)/intel
/Makefile.targ