?? 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.# To build openssl-0.9.7c, remember to edit ms\mw.bat# adding '--win32' flag to make command:## make --win32 -f ms/mingw32a.makOPENSSL = /c/src/openssl-0.9.7dLZO = /c/src/lzo-1.08CC = gcc -g -O2 -Wall -Wno-unused-function -Wno-unused-variable -mno-cygwin# Stuff below this point usually doesn't need to be changedINCLUDE_DIRS = -I${OPENSSL}/include -I${LZO}/includeLIBS = -llzo -lws2_32 -lgdi32 -liphlpapi -lwinmmLIB_DIRS = -L${OPENSSL}/out -L${LZO}/src/.libsEXE = openvpn.exeHEADERS = \ basic.h \ buffer.h \ circ_list.h common.h \ tap-win32/common.h \ config-win32.h \ crypto.h \ errlevel.h \ error.h \ event.h \ fdmisc.h \ forward-inline.h \ forward.h \ fragment.h \ gremlin.h \ init.h \ integer.h \ interval.h \ list.h \ lzo.h \ mbuf.h \ memdbg.h \ misc.h \ mroute.h \ mss.h \ mtu.h \ multi.h \ occ-inline.h \ occ.h \ openvpn.h \ options.h \ otime.h \ packet_id.h \ ping-inline.h \ ping.h \ pool.h \ proto.h \ proxy.h \ push.h \ reliable.h \ route.h \ schedule.h \ session_id.h \ shaper.h \ sig.h \ socket.h \ socks.h \ ssl.h \ status.h \ syshead.h \ thread.h \ tun.h \ win32.hOBJS = buffer.o \ crypto.o \ error.o \ event.o \ fdmisc.o \ forward.o \ fragment.o \ gremlin.o \ inet_aton.o \ init.o \ interval.o \ list.o \ lzo.o \ mbuf.o \ misc.o \ mroute.o \ mss.o \ mtu.o \ multi.o \ occ.o \ openvpn.o \ options.o \ otime.o \ packet_id.o \ ping.o \ pool.o \ proxy.o \ push.o \ reliable.o \ route.o \ schedule.o \ session_id.o \ shaper.o \ sig.o \ socket.o \ socks.o \ ssl.o \ status.o \ thread.o \ tun.o \ win32.odynamic : ${OBJS} ${CC} -o ${EXE} ${OBJS} ${LIB_DIRS} -lssl32 -leay32 ${LIBS}static : ${OBJS} ${CC} -o ${EXE} ${OBJS} ${LIB_DIRS} -lssl -lcrypto ${LIBS}clean : rm -f ${OBJS} ${EXE}%.o : %.c ${HEADERS} ${CC} ${INCLUDE_DIRS} -c $< -o $@
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -