Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


 113 
 114 SRCDIR= ../common
 115 
 116 SRCS =  \
 117         $(LCL_OBJECTS:%.o=$(SRCDIR)/%.c) \
 118         $(MPI_COBJECTS:%.o=$(MPIDIR)/%.c) \
 119         $(ECC_COBJECTS:%.o=$(ECCDIR)/%.c) \
 120         $(RNG_COBJECTS:%.o=$(RNGDIR)/%.c)
 121 
 122 # libelfsign needs a static pkcs11_softtoken
 123 LIBS    =       $(DYNLIB)
 124 LDLIBS  +=      -lc -lmd -lcryptoutil -lsoftcrypto -lgen
 125 
 126 CSTD =  $(CSTD_GNU99)
 127 C99LMODE = -Xc99=%all
 128 
 129 CFLAGS  +=      $(CCVERBOSE)
 130 
 131 CERRWARN +=     -_gcc=-Wno-unused-label
 132 CERRWARN +=     -_gcc=-Wno-parentheses
 133 CERRWARN +=     -_gcc=-Wno-uninitialized
 134 CERRWARN +=     -_gcc=-Wno-type-limits
 135 CERRWARN +=     -_gcc=-Wno-unused-variable
 136 CERRWARN +=     -_gcc=-Wno-empty-body
 137 
 138 # not linted
 139 SMATCH=off
 140 
 141 CPPFLAGS += -I$(AESDIR) -I$(BLOWFISHDIR) -I$(ARCFOURDIR) -I$(DESDIR) \
 142             -I$(DHDIR) -I$(DSADIR) -I$(ECCDIR) -I$(SRC)/common/crypto \
 143             -I$(MPIDIR) -I$(RSADIR) -I$(RNGDIR) \
 144             -I$(SHA1DIR) -I$(SHA2DIR) -I$(SRCDIR) \
 145             -I$(BIGNUMDIR) -I$(PADDIR) -D_POSIX_PTHREAD_SEMANTICS \
 146             -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
 147 
 148 LINTFLAGS64 += -errchk=longptr64
 149 
 150 ROOTLIBDIR=     $(ROOT)/usr/lib/security
 151 ROOTLIBDIR64=   $(ROOT)/usr/lib/security/$(MACH64)
 152 
 153 LINTSRC = \




 113 
 114 SRCDIR= ../common
 115 
 116 SRCS =  \
 117         $(LCL_OBJECTS:%.o=$(SRCDIR)/%.c) \
 118         $(MPI_COBJECTS:%.o=$(MPIDIR)/%.c) \
 119         $(ECC_COBJECTS:%.o=$(ECCDIR)/%.c) \
 120         $(RNG_COBJECTS:%.o=$(RNGDIR)/%.c)
 121 
 122 # libelfsign needs a static pkcs11_softtoken
 123 LIBS    =       $(DYNLIB)
 124 LDLIBS  +=      -lc -lmd -lcryptoutil -lsoftcrypto -lgen
 125 
 126 CSTD =  $(CSTD_GNU99)
 127 C99LMODE = -Xc99=%all
 128 
 129 CFLAGS  +=      $(CCVERBOSE)
 130 
 131 CERRWARN +=     -_gcc=-Wno-unused-label
 132 CERRWARN +=     -_gcc=-Wno-parentheses
 133 CERRWARN +=     $(CNOWARN_UNINIT)
 134 CERRWARN +=     -_gcc=-Wno-type-limits
 135 CERRWARN +=     -_gcc=-Wno-unused-variable
 136 CERRWARN +=     -_gcc=-Wno-empty-body
 137 
 138 # not linted
 139 SMATCH=off
 140 
 141 CPPFLAGS += -I$(AESDIR) -I$(BLOWFISHDIR) -I$(ARCFOURDIR) -I$(DESDIR) \
 142             -I$(DHDIR) -I$(DSADIR) -I$(ECCDIR) -I$(SRC)/common/crypto \
 143             -I$(MPIDIR) -I$(RSADIR) -I$(RNGDIR) \
 144             -I$(SHA1DIR) -I$(SHA2DIR) -I$(SRCDIR) \
 145             -I$(BIGNUMDIR) -I$(PADDIR) -D_POSIX_PTHREAD_SEMANTICS \
 146             -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
 147 
 148 LINTFLAGS64 += -errchk=longptr64
 149 
 150 ROOTLIBDIR=     $(ROOT)/usr/lib/security
 151 ROOTLIBDIR64=   $(ROOT)/usr/lib/security/$(MACH64)
 152 
 153 LINTSRC = \