dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / uts / intel / acpica / Makefile
blob2bd009ad7af6cb170a341e6ffa8af27ec7a0c5fa
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
9 # kernel module.
11 # intel architecture dependent
15 # Path to the base of the uts directory tree (usually /usr/src/uts).
17 UTSBASE = ../..
20 # Define the module and object file sets.
22 MODULE = acpica
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
35 # Define targets
37 ALL_TARGET = $(BINARY) $(CONFMOD)
38 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
41 # Overrides.
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.
55 .KEEP_STATE:
57 def: $(DEF_DEPS)
59 all: $(ALL_DEPS)
61 clean: $(CLEAN_DEPS)
63 clobber: $(CLOBBER_DEPS)
65 install: $(INSTALL_DEPS)
68 # Include common targets.
70 include $(UTSBASE)/intel/Makefile.targ