Reorganized sources slightly.
This commit is contained in:
1 parent
e281f61472
commit
36a07e3f7e
52 files changed
+72
-69
No files matched your search
+49
-46
@@ -21,6 +21,9 @@ ifeq ($(OS), Windows_NT)
|
||||
WINDOWS ?= YES
|
||||
endif
|
||||
|
||||
|
||||
CFLAGS += -I./src/
|
||||
|
||||
ifeq ($(WINDOWS),YES)
|
||||
USE_BIGENDIAN := NO
|
||||
LDLIBS += -lws2_32
|
||||
@@ -132,60 +135,60 @@ endif
|
||||
|
||||
# Sources
|
||||
libuhub_SOURCES := \
|
||||
src/auth.c \
|
||||
src/commands.c \
|
||||
src/config.c \
|
||||
src/eventqueue.c \
|
||||
src/hub.c \
|
||||
src/hubevent.c \
|
||||
src/hubio.c \
|
||||
src/inf.c \
|
||||
src/ipcalc.c \
|
||||
src/list.c \
|
||||
src/log.c \
|
||||
src/memory.c \
|
||||
src/message.c \
|
||||
src/misc.c \
|
||||
src/netevent.c \
|
||||
src/network.c \
|
||||
src/rbtree.c \
|
||||
src/route.c \
|
||||
src/sid.c \
|
||||
src/tiger.c \
|
||||
src/user.c \
|
||||
src/usermanager.c
|
||||
src/core/auth.c \
|
||||
src/core/commands.c \
|
||||
src/core/config.c \
|
||||
src/core/eventqueue.c \
|
||||
src/core/hub.c \
|
||||
src/core/hubevent.c \
|
||||
src/core/hubio.c \
|
||||
src/core/inf.c \
|
||||
src/util/ipcalc.c \
|
||||
src/util/list.c \
|
||||
src/util/log.c \
|
||||
src/util/memory.c \
|
||||
src/adc/message.c \
|
||||
src/util/misc.c \
|
||||
src/core/netevent.c \
|
||||
src/network/network.c \
|
||||
src/util/rbtree.c \
|
||||
src/core/route.c \
|
||||
src/adc/sid.c \
|
||||
src/util/tiger.c \
|
||||
src/core/user.c \
|
||||
src/core/usermanager.c
|
||||
|
||||
uhub_SOURCES := src/main.c
|
||||
uhub_SOURCES := src/core/main.c
|
||||
|
||||
adcrush_SOURCES := src/adcrush.c
|
||||
|
||||
admin_SOURCES := src/admin.c
|
||||
|
||||
uhub_HEADERS := \
|
||||
src/adcconst.h \
|
||||
src/auth.h \
|
||||
src/config.h \
|
||||
src/eventid.h \
|
||||
src/eventqueue.h \
|
||||
src/hub.h \
|
||||
src/hubevent.h \
|
||||
src/hubio.h \
|
||||
src/inf.h \
|
||||
src/ipcalc.h \
|
||||
src/list.h \
|
||||
src/log.h \
|
||||
src/memory.h \
|
||||
src/message.h \
|
||||
src/misc.h \
|
||||
src/netevent.h \
|
||||
src/network.h \
|
||||
src/rbtree.h \
|
||||
src/route.h \
|
||||
src/sid.h \
|
||||
src/tiger.h \
|
||||
src/adc/adcconst.h \
|
||||
src/core/auth.h \
|
||||
src/core/config.h \
|
||||
src/core/eventid.h \
|
||||
src/core/eventqueue.h \
|
||||
src/core/hub.h \
|
||||
src/core/hubevent.h \
|
||||
src/core/hubio.h \
|
||||
src/core/inf.h \
|
||||
src/util/ipcalc.h \
|
||||
src/util/list.h \
|
||||
src/util/log.h \
|
||||
src/util/memory.h \
|
||||
src/adc/message.h \
|
||||
src/util/misc.h \
|
||||
src/core/netevent.h \
|
||||
src/network/network.h \
|
||||
src/util/rbtree.h \
|
||||
src/core/route.h \
|
||||
src/adc/sid.h \
|
||||
src/util/tiger.h \
|
||||
src/uhub.h \
|
||||
src/user.h \
|
||||
src/usermanager.h
|
||||
src/core/user.h \
|
||||
src/core/usermanager.h
|
||||
|
||||
autotest_SOURCES := \
|
||||
autotest/test_message.tcc \
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+23
-23
@@ -148,7 +148,7 @@
|
||||
#define INET6_ADDRSTRLEN 46
|
||||
#endif
|
||||
|
||||
#include "adcconst.h"
|
||||
#include "adc/adcconst.h"
|
||||
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
@@ -157,28 +157,28 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "eventid.h"
|
||||
#include "eventqueue.h"
|
||||
#include "ipcalc.h"
|
||||
#include "list.h"
|
||||
#include "sid.h"
|
||||
#include "network.h"
|
||||
#include "netevent.h"
|
||||
#include "hubio.h"
|
||||
#include "auth.h"
|
||||
#include "tiger.h"
|
||||
#include "config.h"
|
||||
#include "log.h"
|
||||
#include "user.h"
|
||||
#include "usermanager.h"
|
||||
#include "message.h"
|
||||
#include "route.h"
|
||||
#include "hub.h"
|
||||
#include "commands.h"
|
||||
#include "inf.h"
|
||||
#include "hubevent.h"
|
||||
#include "util/memory.h"
|
||||
#include "util/misc.h"
|
||||
#include "core/eventid.h"
|
||||
#include "core/eventqueue.h"
|
||||
#include "util/ipcalc.h"
|
||||
#include "util/list.h"
|
||||
#include "adc/sid.h"
|
||||
#include "network/network.h"
|
||||
#include "core/netevent.h"
|
||||
#include "core/hubio.h"
|
||||
#include "core/auth.h"
|
||||
#include "util/tiger.h"
|
||||
#include "core/config.h"
|
||||
#include "util/log.h"
|
||||
#include "core/user.h"
|
||||
#include "core/usermanager.h"
|
||||
#include "adc/message.h"
|
||||
#include "core/route.h"
|
||||
#include "core/hub.h"
|
||||
#include "core/commands.h"
|
||||
#include "core/inf.h"
|
||||
#include "core/hubevent.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user