mirror of
https://github.com/3proxy/3proxy.git
synced 2026-08-13 12:19:17 +08:00
Compare commits
3 Commits
d291ff35e4
...
15c884748f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15c884748f | ||
|
|
3bfabb29f8 | ||
|
|
ccdecfd832 |
@ -9,12 +9,12 @@ PREFIX ?= 3proxy_
|
||||
CRYPT_PREFIX ?= $(PREFIX)
|
||||
CC ?= gcc
|
||||
|
||||
CFLAGS ?= -O3 -flto -fPIC
|
||||
CFLAGS ?= -O3 -flto
|
||||
CFLAGS += -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER -D WITH_UN
|
||||
COUT = -o
|
||||
LN ?= ${CC}
|
||||
DCFLAGS ?=
|
||||
LDFLAGS ?= -O3 -flto -fPIC
|
||||
DCFLAGS ?= -fPIC
|
||||
LDFLAGS ?= -O3 -flto
|
||||
LDFLAGS += -fno-strict-aliasing -pthread
|
||||
DLFLAGS ?= -shared
|
||||
DLSUFFICS = .ld.so
|
||||
|
||||
@ -18,6 +18,9 @@ https://github.com/3proxy/3proxy/releases
|
||||
https://hub.docker.com/r/3proxy/3proxy
|
||||
https://github.com/3proxy/3proxy/pkgs/container/3proxy
|
||||
|
||||
> [!TIP]
|
||||
> An alternative Docker image (community-maintained) with support for configuration through environment variables and a ready-to-use Helm chart for Kubernetes can be found here: [tarampampam/3proxy-docker](https://github.com/tarampampam/3proxy-docker).
|
||||
|
||||
### Archive of old versions
|
||||
|
||||
https://github.com/z3APA3A/3proxy-archive
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
all: $(BUILDDIR)FilePlugin$(DLSUFFICS)
|
||||
|
||||
FilePlugin$(OBJSUFFICS): FilePlugin.c
|
||||
$(CC) $(DCFLAGS) $(CFLAGS) FilePlugin.c
|
||||
$(CC) $(CFLAGS) $(DCFLAGS) FilePlugin.c
|
||||
|
||||
$(BUILDDIR)FilePlugin$(DLSUFFICS): FilePlugin$(OBJSUFFICS)
|
||||
$(LN) $(LNOUT)../../$(BUILDDIR)FilePlugin$(DLSUFFICS) $(LDFLAGS) $(DLFLAGS) FilePlugin$(OBJSUFFICS)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
all: $(BUILDDIR)ldapauth$(DLSUFFICS)
|
||||
|
||||
ldapauth$(OBJSUFFICS): ldapauth.c
|
||||
$(CC) $(DCFLAGS) $(CFLAGS) ldapauth.c
|
||||
$(CC) $(CFLAGS) $(DCFLAGS) ldapauth.c
|
||||
|
||||
$(BUILDDIR)ldapauth$(DLSUFFICS): ldapauth$(OBJSUFFICS)
|
||||
$(LN) $(LNOUT)../../$(BUILDDIR)ldapauth$(DLSUFFICS) $(LDFLAGS) $(DLFLAGS) $(LIBSPREFIX)ldap$(LIBSSUFFIX) ldapauth$(OBJSUFFICS)
|
||||
|
||||
@ -3,7 +3,7 @@ PAMLIB ?= pam
|
||||
all: $(BUILDDIR)pamauth$(DLSUFFICS)
|
||||
|
||||
pamauth$(OBJSUFFICS): pamauth.c
|
||||
$(CC) $(DCFLAGS) $(CFLAGS) pamauth.c
|
||||
$(CC) $(CFLAGS) $(DCFLAGS) pamauth.c
|
||||
|
||||
$(BUILDDIR)pamauth$(DLSUFFICS): pamauth$(OBJSUFFICS)
|
||||
$(LN) $(LNOUT)../../$(BUILDDIR)pamauth$(DLSUFFICS) $(LDFLAGS) $(DLFLAGS) $(LIBSPREFIX)$(PAMLIB)$(LIBSSUFFIX) pamauth$(OBJSUFFICS)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
all: $(BUILDDIR)StringsPlugin$(DLSUFFICS)
|
||||
|
||||
StringsPlugin$(OBJSUFFICS): StringsPlugin.c
|
||||
$(CC) $(DCFLAGS) $(CFLAGS) StringsPlugin.c
|
||||
$(CC) $(CFLAGS) $(DCFLAGS) StringsPlugin.c
|
||||
|
||||
$(BUILDDIR)StringsPlugin$(DLSUFFICS): StringsPlugin$(OBJSUFFICS)
|
||||
$(LN) $(LNOUT)../../$(BUILDDIR)StringsPlugin$(DLSUFFICS) $(LDFLAGS) $(DLFLAGS) StringsPlugin$(OBJSUFFICS)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
all: $(BUILDDIR)TrafficPlugin$(DLSUFFICS)
|
||||
|
||||
TrafficPlugin$(OBJSUFFICS): TrafficPlugin.c
|
||||
$(CC) $(DCFLAGS) $(CFLAGS) TrafficPlugin.c
|
||||
$(CC) $(CFLAGS) $(DCFLAGS) TrafficPlugin.c
|
||||
|
||||
$(BUILDDIR)TrafficPlugin$(DLSUFFICS): TrafficPlugin$(OBJSUFFICS)
|
||||
$(LN) $(LNOUT)../../$(BUILDDIR)TrafficPlugin$(DLSUFFICS) $(LDFLAGS) $(DLFLAGS) TrafficPlugin$(OBJSUFFICS)
|
||||
|
||||
@ -3,7 +3,7 @@ all: $(BUILDDIR)TransparentPlugin$(DLSUFFICS)
|
||||
|
||||
|
||||
transparent_plugin$(OBJSUFFICS): transparent_plugin.c
|
||||
$(CC) $(DCFLAGS) $(CFLAGS) transparent_plugin.c
|
||||
$(CC) $(CFLAGS) $(DCFLAGS) transparent_plugin.c
|
||||
|
||||
|
||||
$(BUILDDIR)TransparentPlugin$(DLSUFFICS): transparent_plugin$(OBJSUFFICS)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
all: $(BUILDDIR)WindowsAuthentication$(DLSUFFICS)
|
||||
|
||||
WindowsAuthentication$(OBJSUFFICS): WindowsAuthentication.c
|
||||
$(CC) $(DCFLAGS) $(CFLAGS) WindowsAuthentication.c
|
||||
$(CC) $(CFLAGS) $(DCFLAGS) WindowsAuthentication.c
|
||||
|
||||
$(BUILDDIR)WindowsAuthentication$(DLSUFFICS): WindowsAuthentication$(OBJSUFFICS)
|
||||
$(LN) $(LNOUT)../../$(BUILDDIR)WindowsAuthentication$(DLSUFFICS) $(LDFLAGS) $(DLFLAGS) WindowsAuthentication$(OBJSUFFICS) $(LIBS)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
all: $(BUILDDIR)utf8tocp1251$(DLSUFFICS)
|
||||
|
||||
utf8tocp1251$(OBJSUFFICS): utf8tocp1251.c
|
||||
$(CC) $(DCFLAGS) $(CFLAGS) utf8tocp1251.c
|
||||
$(CC) $(CFLAGS) $(DCFLAGS) utf8tocp1251.c
|
||||
|
||||
$(BUILDDIR)utf8tocp1251$(DLSUFFICS): utf8tocp1251$(OBJSUFFICS)
|
||||
$(LN) $(LNOUT)../../$(BUILDDIR)utf8tocp1251$(DLSUFFICS) $(LDFLAGS) $(DLFLAGS) utf8tocp1251$(OBJSUFFICS) $(LIBS)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user