26 #
27 # Path to the base of the uts directory tree (usually /usr/src/uts).
28 #
29 UTSBASE = ../..
30
31 #
32 # Define the module and object file sets.
33 #
34 MODULE = rdsib
35 OBJECTS = $(RDSIB_OBJS:%=$(OBJS_DIR)/%)
36 LINTS = $(RDSIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
37 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
38 LDFLAGS += -dy -Ndrv/rds -Nmisc/ibtl -Nmisc/ibcm -Ndrv/ip
39 CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
40 #
41 # Include common rules.
42 #
43 include $(UTSBASE)/intel/Makefile.intel
44
45 CERRWARN += -_gcc=-Wno-switch
46 CERRWARN += -_gcc=-Wno-uninitialized
47
48 #
49 # Define targets
50 #
51 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # Default build targets.
57 #
58 .KEEP_STATE:
59
60 def: $(DEF_DEPS)
61
62 all: $(ALL_DEPS)
63
64 clean: $(CLEAN_DEPS)
65
66 clobber: $(CLOBBER_DEPS)
|
26 #
27 # Path to the base of the uts directory tree (usually /usr/src/uts).
28 #
29 UTSBASE = ../..
30
31 #
32 # Define the module and object file sets.
33 #
34 MODULE = rdsib
35 OBJECTS = $(RDSIB_OBJS:%=$(OBJS_DIR)/%)
36 LINTS = $(RDSIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
37 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
38 LDFLAGS += -dy -Ndrv/rds -Nmisc/ibtl -Nmisc/ibcm -Ndrv/ip
39 CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
40 #
41 # Include common rules.
42 #
43 include $(UTSBASE)/intel/Makefile.intel
44
45 CERRWARN += -_gcc=-Wno-switch
46 CERRWARN += $(CNOWARN_UNINIT)
47
48 #
49 # Define targets
50 #
51 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # Default build targets.
57 #
58 .KEEP_STATE:
59
60 def: $(DEF_DEPS)
61
62 all: $(ALL_DEPS)
63
64 clean: $(CLEAN_DEPS)
65
66 clobber: $(CLOBBER_DEPS)
|