📄 makefile.w32
字号:
# This makefile builds the user-mode component# of OpenVPN for WIN32 in the mingw environment.## Build Dependencies:# mingw (GNU C compiler for windows)# msys (GNU utilities and shell for windows)# OpenSSL (SSL/TLS/crypto library)# LZO (real-time compression library)## Targets:# static -- link statically with OpenSSL# dynamic -- link dynamically with OpenSSL ## Note that LZO is always linked statically.# Change these to point to your OpenSSL and LZO top-level# directories.OPENSSL = /c/src/openssl-0.9.7bLZO = /c/src/lzo-1.08CC = gcc -Wall -O3 -mno-cygwin# Stuff below this point usually doesn't need to be changedINCLUDE_DIRS = -I${OPENSSL}/include -I${LZO}/includeLIB_DIRS = -L${OPENSSL}/out -L${LZO}/src/.libsEXE = openvpn.exeHEADERS = basic.h buffer.h circ_list.h common.h \ config-win32.h crypto.h errlevel.h error.h \ fdmisc.h fragment.h gremlin.h interval.h lzo.h \ memdbg.h misc.h mtu.h openvpn-win32.h openvpn.h \ options.h packet_id.h reliable.h session_id.h \ shaper.h socket.h ssl.h syshead.h thread.h tun.hOBJS = buffer.o crypto.o error.o fdmisc.o fragment.o \ gremlin.o inet_aton.o lzo.o misc.o mtu.o \ openvpn-win32.o openvpn.o options.o packet_id.o \ reliable.o session_id.o shaper.o socket.o ssl.o \ thread.o tun.ostatic : ${OBJS} ${CC} -o ${EXE} ${OBJS} ${LIB_DIRS} -lssl -lcrypto -llzo -lwsock32 -lgdi32dynamic : ${OBJS} ${CC} -o ${EXE} ${OBJS} ${LIB_DIRS} -lssl32 -leay32 -llzo -lwsock32 -lgdi32clean : rm -f ${OBJS} ${EXE}%.o : %.c ${HEADERS} ${CC} ${INCLUDE_DIRS} -c $< -o $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -