1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# protobuf-c 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunPROTOBUF_C_VERSION = 1.4.0 8*4882a593SmuzhiyunPROTOBUF_C_SITE = $(call github,protobuf-c,protobuf-c,v$(PROTOBUF_C_VERSION)) 9*4882a593SmuzhiyunPROTOBUF_C_DEPENDENCIES = host-protobuf-c 10*4882a593SmuzhiyunHOST_PROTOBUF_C_DEPENDENCIES = host-protobuf host-pkgconf 11*4882a593SmuzhiyunPROTOBUF_C_MAKE = $(MAKE1) 12*4882a593SmuzhiyunPROTOBUF_C_CONF_OPTS = --disable-protoc 13*4882a593SmuzhiyunPROTOBUF_C_INSTALL_STAGING = YES 14*4882a593SmuzhiyunPROTOBUF_C_LICENSE = BSD-2-Clause 15*4882a593SmuzhiyunPROTOBUF_C_LICENSE_FILES = LICENSE 16*4882a593SmuzhiyunPROTOBUF_C_AUTORECONF = YES 17*4882a593SmuzhiyunHOST_PROTOBUF_C_AUTORECONF = YES 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun# host-protobuf needs c++11 (since 3.6.0) 20*4882a593SmuzhiyunHOST_PROTOBUF_C_CONF_ENV += CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11" 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun$(eval $(autotools-package)) 23*4882a593Smuzhiyun$(eval $(host-autotools-package)) 24