Renamed misleading "contrib" subfolder to "dependencies".

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2020-11-13 14:15:23 +01:00
parent 7362da8c5f
commit 7853c79cd6
18 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
CC = gcc
PROJECT_CFLAGS += -Wall -Wextra $(EXTRA_CFLAGS) -I.
JSMN_CFLAGS := -DJSMN_STATIC=1 -DJSMN_STRICT=1 -Icontrib -Icontrib/jsmn
JSMN_CFLAGS := -DJSMN_STATIC=1 -DJSMN_STRICT=1 -Idependencies
LIBS += -pthread -lpcap -lm
GOCC =

View File

@@ -1,6 +0,0 @@
#!/usr/bin/env sh
MYDIR="$(dirname ${0})"
cd "${MYDIR}/.."
git subtree pull --squash --prefix=contrib/jsmn https://github.com/zserge/jsmn.git master

6
dependencies/update_jsmn.sh vendored Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
MYDIR="$(dirname ${0})"
cd "${MYDIR}/.."
git subtree pull --squash --prefix=dependencies/jsmn https://github.com/zserge/jsmn.git master

View File

@@ -8,7 +8,7 @@
#include <unistd.h>
#include "config.h"
#include "jsmn.h"
#include "jsmn/jsmn.h"
static char serv_listen_addr[INET_ADDRSTRLEN] = DISTRIBUTOR_HOST;
static uint16_t serv_listen_port = DISTRIBUTOR_PORT;