44 MODULE = acpidev
45 OBJECTS = $(ACPIDEV_OBJS:%=$(OBJS_DIR)/%)
46 ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
47
48 #
49 # Include common rules.
50 #
51 include $(UTSBASE)/i86pc/Makefile.i86pc
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY)
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
58
59 #
60 # Depends on acpica ACPI CA interpreter
61 #
62 LDFLAGS += -dy -N misc/acpica
63
64 CERRWARN += -_gcc=-Wno-uninitialized
65 CERRWARN += -_gcc=-Wno-unused-function
66 CERRWARN += -_gcc=-Wno-type-limits
67
68 # needs work
69 SMOFF += deref_check
70
71 #
72 # Default build targets.
73 #
74 .KEEP_STATE:
75
76 def: $(DEF_DEPS)
77
78 all: $(ALL_DEPS)
79
80 clean: $(CLEAN_DEPS)
81
82 clobber: $(CLOBBER_DEPS)
83
84 install: $(INSTALL_DEPS)
|
44 MODULE = acpidev
45 OBJECTS = $(ACPIDEV_OBJS:%=$(OBJS_DIR)/%)
46 ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
47
48 #
49 # Include common rules.
50 #
51 include $(UTSBASE)/i86pc/Makefile.i86pc
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY)
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
58
59 #
60 # Depends on acpica ACPI CA interpreter
61 #
62 LDFLAGS += -dy -N misc/acpica
63
64 CERRWARN += $(CNOWARN_UNINIT)
65 CERRWARN += -_gcc=-Wno-unused-function
66 CERRWARN += -_gcc=-Wno-type-limits
67
68 # needs work
69 SMOFF += deref_check
70
71 #
72 # Default build targets.
73 #
74 .KEEP_STATE:
75
76 def: $(DEF_DEPS)
77
78 all: $(ALL_DEPS)
79
80 clean: $(CLEAN_DEPS)
81
82 clobber: $(CLOBBER_DEPS)
83
84 install: $(INSTALL_DEPS)
|