flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 13:00:25 -05:00
commit b308a4c280
114 changed files with 14759 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
include $(MAKEDIR)/Makefile.base
INCPATH := -I. -I./include -I./lib -I./lib/includes/
LIBFILE := libnghttp2.a
_FLAGS := $(_FLAGS) -DHAVE_CONFIG_H -DBUILDING_LIBCURL -DPIC
COPYTO := ../../sdk/lib
PROJECTS := lib
ifeq (Darwin,$(SYS_NAME))
_FLAGS := $(_FLAGS) -D__APPLE_USE_RFC_3542
endif
ifeq (iOS,$(SYS_NAME))
include $(MAKEDIR)/Makefile.none
else
include $(MAKEDIR)/Makefile.lib
endif

View File

@@ -0,0 +1,45 @@
if [ -d "nghttp2" ]; then
echo "nghttp2 does exists already"
exit 0
fi
set -ex
mkdir -p sdk/include
LIB=nghttp2
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir nghttp2
pushd nghttp2
wget "https://github.com/nghttp2/nghttp2/releases/download/v1.68.0/nghttp2-1.68.0.tar.gz"
tar xf nghttp2-1.68.0.tar.gz
ln -s nghttp2-1.68.0 $LIB
pushd $LIB
INSTALL_PREFIX=`pwd`/nghttp2-install
#autoreconf -fi
./configure --enable-lib-only --prefix=$PWD/nghttp2-install
popd
cp -av $DIR/Makefile.* $LIB/
$DIR/../../prepare-template-just-makefile $LIB $DIR
pushd $LIB
make
popd
popd
pushd sdk/include
rm -f nghttp2
ln -s ../../nghttp2/$LIB/lib/includes/nghttp2
popd

View File

@@ -0,0 +1,2 @@
sudo apt-get install libtool
sudo apt install autoconf