40 OBJECTS = $(AMD_IOMMU_OBJS:%=$(OBJS_DIR)/%)
41 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
42 CONF_SRCDIR = $(UTSBASE)/i86pc/io/amd_iommu
43
44 #
45 # Include common rules.
46 #
47 include $(UTSBASE)/i86pc/Makefile.i86pc
48
49 #
50 # Define targets
51 #
52 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # depends on misc/iommulib and misc/acpica
57 #
58 LDFLAGS += -dy -Nmisc/iommulib -Nmisc/acpica
59
60 CERRWARN += -_gcc=-Wno-uninitialized
61 CERRWARN += -_gcc=-Wno-parentheses
62 CERRWARN += -_gcc=-Wno-unused-function
63
64 #
65 # Default build targets.
66 #
67 .KEEP_STATE:
68
69 def: $(DEF_DEPS)
70
71 all: $(ALL_DEPS)
72
73 clean: $(CLEAN_DEPS)
74
75 clobber: $(CLOBBER_DEPS)
76
77 install: $(INSTALL_DEPS) $(CONF_INSTALL_DEPS)
78
79 #
80 # Include common targets.
|
40 OBJECTS = $(AMD_IOMMU_OBJS:%=$(OBJS_DIR)/%)
41 ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
42 CONF_SRCDIR = $(UTSBASE)/i86pc/io/amd_iommu
43
44 #
45 # Include common rules.
46 #
47 include $(UTSBASE)/i86pc/Makefile.i86pc
48
49 #
50 # Define targets
51 #
52 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # depends on misc/iommulib and misc/acpica
57 #
58 LDFLAGS += -dy -Nmisc/iommulib -Nmisc/acpica
59
60 CERRWARN += $(CNOWARN_UNINIT)
61 CERRWARN += -_gcc=-Wno-parentheses
62 CERRWARN += -_gcc=-Wno-unused-function
63
64 #
65 # Default build targets.
66 #
67 .KEEP_STATE:
68
69 def: $(DEF_DEPS)
70
71 all: $(ALL_DEPS)
72
73 clean: $(CLEAN_DEPS)
74
75 clobber: $(CLOBBER_DEPS)
76
77 install: $(INSTALL_DEPS) $(CONF_INSTALL_DEPS)
78
79 #
80 # Include common targets.
|