Rename necronda-server.* to server.*

This commit is contained in:
2022-08-16 19:02:21 +02:00
parent 0119945e03
commit 6526b5cbcb
6 changed files with 9 additions and 9 deletions

View File

@ -16,11 +16,11 @@ permit:
compile: compile:
@mkdir -p bin @mkdir -p bin
$(CC) src/lib/*.c -o bin/libnecrondaserver.so --shared -fPIC $(CFLAGS) $(LIBS) $(CC) src/lib/*.c -o bin/libnecrondaserver.so --shared -fPIC $(CFLAGS) $(LIBS)
$(CC) src/necronda-server.c src/client.c -o bin/necronda-server $(CFLAGS) $(LIBS) \ $(CC) src/server.c src/client.c -o bin/necronda-server $(CFLAGS) $(LIBS) \
-Lbin -lnecrondaserver -Wl,-rpath=$(shell pwd)/bin -Lbin -lnecrondaserver -Wl,-rpath=$(shell pwd)/bin
compile-prod: compile-prod:
@mkdir -p bin @mkdir -p bin
$(CC) src/lib/*.c -o bin/libnecrondaserver.so --shared -fPIC $(CFLAGS) $(LIBS) $(DEBIAN_OPTS) -O3 $(CC) src/lib/*.c -o bin/libnecrondaserver.so --shared -fPIC $(CFLAGS) $(LIBS) $(DEBIAN_OPTS) -O3
$(CC) src/necronda-server.c src/client.c -o bin/necronda-server $(CFLAGS) $(LIBS) $(DEBIAN_OPTS) -O3 \ $(CC) src/server.c src/client.c -o bin/necronda-server $(CFLAGS) $(LIBS) $(DEBIAN_OPTS) -O3 \
-Lbin -lnecrondaserver -Wl,-rpath=$(shell pwd)/bin -Lbin -lnecrondaserver -Wl,-rpath=$(shell pwd)/bin

View File

@ -7,7 +7,7 @@
#include "client.h" #include "client.h"
#include "necronda.h" #include "necronda.h"
#include "necronda-server.h" #include "server.h"
#include "lib/utils.h" #include "lib/utils.h"
#include "lib/config.h" #include "lib/config.h"

View File

@ -8,7 +8,7 @@
#include "fastcgi.h" #include "fastcgi.h"
#include "utils.h" #include "utils.h"
#include "compress.h" #include "compress.h"
#include "../necronda-server.h" #include "../server.h"
#include <sys/un.h> #include <sys/un.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <errno.h> #include <errno.h>

View File

@ -8,7 +8,7 @@
#include "rev_proxy.h" #include "rev_proxy.h"
#include "utils.h" #include "utils.h"
#include "compress.h" #include "compress.h"
#include "../necronda-server.h" #include "../server.h"
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>

View File

@ -8,7 +8,7 @@
#define _POSIX_C_SOURCE 199309L #define _POSIX_C_SOURCE 199309L
#include "necronda.h" #include "necronda.h"
#include "necronda-server.h" #include "server.h"
#include "client.h" #include "client.h"
#include "lib/cache.h" #include "lib/cache.h"

View File

@ -5,8 +5,8 @@
* Lorenz Stechauner, 2020-12-03 * Lorenz Stechauner, 2020-12-03
*/ */
#ifndef NECRONDA_SERVER_NECRONDA_SERVER_H #ifndef NECRONDA_SERVER_SERVER_H
#define NECRONDA_SERVER_NECRONDA_SERVER_H #define NECRONDA_SERVER_SERVER_H
#include <sys/time.h> #include <sys/time.h>
#include <maxminddb.h> #include <maxminddb.h>
@ -31,4 +31,4 @@ extern char *log_client_prefix, *log_conn_prefix, *log_req_prefix, *client_geoip
extern char *client_addr_str, *client_addr_str_ptr, *server_addr_str, *server_addr_str_ptr, *client_host_str; extern char *client_addr_str, *client_addr_str_ptr, *server_addr_str, *server_addr_str_ptr, *client_host_str;
extern struct timeval client_timeout; extern struct timeval client_timeout;
#endif //NECRONDA_SERVER_NECRONDA_SERVER_H #endif //NECRONDA_SERVER_SERVER_H