mirror of
				https://github.com/3proxy/3proxy.git
				synced 2025-11-04 07:42:39 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
#
 | 
						|
# 3 proxy Makefile for Microsoft Visual C compiler (for both make and nmake)
 | 
						|
#
 | 
						|
# You can try to remove -DWITH_STD_MALLOC to CFLAGS to use optimized malloc
 | 
						|
# libraries
 | 
						|
#
 | 
						|
# Add /DSAFESQL to CFLAGS if you are using poorely written/tested ODBC driver
 | 
						|
 | 
						|
BUILDDIR = ../bin64/
 | 
						|
CC = cl
 | 
						|
CFLAGS = /nologo /MT /W3 /Ox /EHs- /GS /GA /GF /D "MSVC" /D "WITH_STD_MALLOC" /D "WITH_WSAPOLL" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WIN32" /Fp"proxy.pch" /FD /c $(VERSION) $(BUILDDATE)
 | 
						|
COUT = /Fo
 | 
						|
LN = link
 | 
						|
LDFLAGS = /nologo /subsystem:console /incremental:no /machine:arm64
 | 
						|
DLFLAGS = /DLL
 | 
						|
DLSUFFICS = .dll
 | 
						|
LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib
 | 
						|
LIBSOLD =
 | 
						|
LIBSPREFIX = 
 | 
						|
LIBSSUFFIX = .lib
 | 
						|
LIBEXT = .lib
 | 
						|
LNOUT = /out:
 | 
						|
EXESUFFICS = .exe
 | 
						|
OBJSUFFICS = .obj
 | 
						|
DEFINEOPTION = /D 
 | 
						|
COMPFILES = *.pch *.idb
 | 
						|
REMOVECOMMAND = del 2>NUL >NUL
 | 
						|
TYPECOMMAND = type
 | 
						|
COMPATLIBS =
 | 
						|
MAKEFILE = Makefile.msvcARM64
 | 
						|
PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin PCREPlugin FilePlugin
 | 
						|
VERFILE = 3proxy.res $(VERFILE)
 | 
						|
VERSIONDEP = 3proxy.res $(VERSIONDEP)
 | 
						|
AFTERCLEAN = del src\*.res
 | 
						|
 | 
						|
 | 
						|
include Makefile.inc
 | 
						|
 | 
						|
3proxy.res:
 | 
						|
	rc 3proxy.rc
 | 
						|
 | 
						|
3proxyres.obj: ../3proxy.res
 | 
						|
	cvtres /out:3proxyres.obj /machine:x64 ../3proxy.res
 | 
						|
 | 
						|
 | 
						|
allplugins:
 | 
						|
	for /D %%i in ($(PLUGINS)) do (copy Makefile plugins\%%i && copy Makefile.var plugins\%%i && cd plugins\%%i && nmake && del *.obj *.idb &&cd ..\..)
 | 
						|
 |