components/sendmail/Makefile
changeset 4956 a950d471ded6
parent 4769 70480c18ca65
child 5053 aca4f06d05d1
equal deleted inserted replaced
4955:d9d2542d0224 4956:a950d471ded6
    75 COMPONENT_PREP_ACTION =	$(GSED) -i -e 's/\(Version\[\] = "8\.[^"]*\)/\1+Sun/' \
    75 COMPONENT_PREP_ACTION =	$(GSED) -i -e 's/\(Version\[\] = "8\.[^"]*\)/\1+Sun/' \
    76     $(COMPONENT_SRC)/sendmail/version.c
    76     $(COMPONENT_SRC)/sendmail/version.c
    77 
    77 
    78 # libmilter and sendmail must come before include, so appending to the default
    78 # libmilter and sendmail must come before include, so appending to the default
    79 # value of LINT_FLAGS will not work; we must redefine it here.
    79 # value of LINT_FLAGS will not work; we must redefine it here.
    80 SM_DEFS=	-DSOLARIS=21200
    80 SM_DEFS=	-DSOLARIS=$(shell echo $(SOLARIS_VERSION) | \
       
    81     $(GSED) -e 's/\.//' -e 's/$$/00/')
    81 SM_INCLUDES=	-I$(SM_BUILD_DIR)/libmilter -I$(SOURCE_DIR)/sendmail \
    82 SM_INCLUDES=	-I$(SM_BUILD_DIR)/libmilter -I$(SOURCE_DIR)/sendmail \
    82     -I$(SOURCE_DIR)/include -I$(SOURCE_DIR) -I.
    83     -I$(SOURCE_DIR)/include -I$(SOURCE_DIR) -I.
    83 LINT_FLAGS =	-nsvx $(SM_DEFS) $(SM_INCLUDES)
    84 LINT_FLAGS =	-nsvx $(SM_DEFS) $(SM_INCLUDES)
    84 CCOPTS =	-erroff=E_STATEMENT_NOT_REACHED $(CC_BITS)
    85 CCOPTS =	-erroff=E_STATEMENT_NOT_REACHED $(CC_BITS)
    85 
    86