53 # Define targets
54 #
55 ALL_TARGET = $(BINARY)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
58
59 #
60 # Linkage dependencies
61 #
62 LDFLAGS += -dy -Nmisc/kcf
63
64 #
65 # lint pass one enforcement
66 #
67 CFLAGS += $(CCVERBOSE) -I$(COM1_DIR) -I$(COM2_DIR)
68 CFLAGS += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
69 LINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
70
71 CERRWARN += -_gcc=-Wno-switch
72 CERRWARN += -_gcc=-Wno-unused-label
73 CERRWARN += -_gcc=-Wno-uninitialized
74 CERRWARN += -_gcc=-Wno-type-limits
75 CERRWARN += -_gcc=-Wno-empty-body
76 CERRWARN += -_gcc=-Wno-unused-variable
77 CERRWARN += -_gcc=-Wno-parentheses
78
79 #
80 # Default build targets.
81 #
82 .KEEP_STATE:
83
84 def: $(DEF_DEPS)
85
86 all: $(ALL_DEPS)
87
88 clean: $(CLEAN_DEPS)
89
90 clobber: $(CLOBBER_DEPS)
91
92 lint: $(LINT_DEPS)
93
|
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
58
59 #
60 # Linkage dependencies
61 #
62 LDFLAGS += -dy -Nmisc/kcf
63
64 #
65 # lint pass one enforcement
66 #
67 CFLAGS += $(CCVERBOSE) -I$(COM1_DIR) -I$(COM2_DIR)
68 CFLAGS += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
69 LINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
70
71 CERRWARN += -_gcc=-Wno-switch
72 CERRWARN += -_gcc=-Wno-unused-label
73 CERRWARN += $(CNOWARN_UNINIT)
74 CERRWARN += -_gcc=-Wno-type-limits
75 CERRWARN += -_gcc=-Wno-empty-body
76 CERRWARN += -_gcc=-Wno-unused-variable
77 CERRWARN += -_gcc=-Wno-parentheses
78
79 #
80 # Default build targets.
81 #
82 .KEEP_STATE:
83
84 def: $(DEF_DEPS)
85
86 all: $(ALL_DEPS)
87
88 clean: $(CLEAN_DEPS)
89
90 clobber: $(CLOBBER_DEPS)
91
92 lint: $(LINT_DEPS)
93
|