45 MODULE = ppm
46 OBJECTS = $(PPM_OBJS:%=$(OBJS_DIR)/%)
47 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
48 CONF_SRCDIR = $(UTSBASE)/i86pc/io
49
50 #
51 # Include common rules.
52 #
53 include $(UTSBASE)/i86pc/Makefile.i86pc
54
55 #
56 # Define targets
57 #
58 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
59 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
60
61 CFLAGS += $(CCVERBOSE)
62
63 CERRWARN += -_gcc=-Wno-parentheses
64 CERRWARN += -_gcc=-Wno-switch
65 CERRWARN += -_gcc=-Wno-uninitialized
66 CERRWARN += -_gcc=-Wno-unused-variable
67
68 #
69 # Link to acpica for ACPI services
70 #
71 LDFLAGS += -dy -N misc/acpica
72
73 #
74 # Default build targets.
75 #
76 .KEEP_STATE:
77
78 def: $(DEF_DEPS)
79
80 all: $(ALL_DEPS)
81
82 clean: $(CLEAN_DEPS)
83
84 clobber: $(CLOBBER_DEPS)
85
|
45 MODULE = ppm
46 OBJECTS = $(PPM_OBJS:%=$(OBJS_DIR)/%)
47 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
48 CONF_SRCDIR = $(UTSBASE)/i86pc/io
49
50 #
51 # Include common rules.
52 #
53 include $(UTSBASE)/i86pc/Makefile.i86pc
54
55 #
56 # Define targets
57 #
58 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
59 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
60
61 CFLAGS += $(CCVERBOSE)
62
63 CERRWARN += -_gcc=-Wno-parentheses
64 CERRWARN += -_gcc=-Wno-switch
65 CERRWARN += $(CNOWARN_UNINIT)
66 CERRWARN += -_gcc=-Wno-unused-variable
67
68 #
69 # Link to acpica for ACPI services
70 #
71 LDFLAGS += -dy -N misc/acpica
72
73 #
74 # Default build targets.
75 #
76 .KEEP_STATE:
77
78 def: $(DEF_DEPS)
79
80 all: $(ALL_DEPS)
81
82 clean: $(CLEAN_DEPS)
83
84 clobber: $(CLOBBER_DEPS)
85
|