⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 Linux下的socks的程序源程序,用于socks的代理服务
💻
字号:
#CC=gccSOCKS_LIB=../lib/libsocks.aIDENT_LIB=../libident/libident.a# Directory into which sockd and test_sockd_conf programs# will be installed:SERVER_BIN_DIR=/usr/etc# Directory into which the man page files of sockd and test_sockd_conf# will be installed:MAN_DEST_DIR=/usr/local/manINC=../include/socks.h# Uncomment next line to support Rbind() without the extra 'remhost' arg.SHORTENED_RBIND=-DSHORTENED_RBIND# Remember to include -Dindex=strchr in OTHER_CFLAGS if# you don't have index() (Sys-V camp)# Define FOR_PS if your system is not SYSV and you want to have the# command 'ps' show some details of sockd's activity.FOR_PS=-DFOR_PS# SunOS should use#RESOLV_LIB=-lresolvOTHER_CFLAGS=$(SHORTENED_RBIND)# IRIX should use#OTHER_CFLAGS=-cckr $(SHORTENED_RBIND)#RESOLV_LIB=-lsun# HPUX should use#OTHER_CFLAGS=-Ac $(SHORTENED_RBIND)# AIX should use#RESOLV_LIB=-lbsd#OTHER_CFLAGS=-D_BSD -D_NONSTD_TYPES -D_NO_PROTO -DAIX $(SHORTENED_RBIND)# SOLARIS should use#RESOLV_LIB=-lresolv -lnsl -lsocket#OTHER_CFLAGS=-DSOLARIS -Dindex=strchr -Drindex=strrchr -DUSE_DIRENT  $(SHORTENED_RBIND)# Interactive Systems Unix should use# OTHER_CFLAGS = -DISC $(SHORTENED_RBIND)# LINUX should use#CC=gcc#RESOLV_LIB=#OTHER_CFLAGS=-traditional -DLINUX  $(SHORTENED_RBIND)# UnixWare should use#RESOLV_LIB=-lresolv -lnsl -lsocket#OTHER_CFLAGS= -DSOLARIS -Dindex=strchr -Drindex=strrchr -DUSE_DIRENT $(SHORTENED_RBIND)#RANLIB=/bin/true#INSTALL=bsdinstall# define SUPPORT_RCMD to build a server that can handle SOCKSified# rlogin, rsh, and rcp.SUPPORT_RCMD=-DSUPPORT_RCMDOPTIMIZE=-gCFLAGS = -I../include -I../libident ${OPTIMIZE} ${OTHER_CFLAGS} ${SUPPORT_RCMD}# The 'install' command is assumed to be the BSD variety (using -m to# set the file mode). If the default 'install' on your system doesn't# do that, you have to either specify an alternative one in the line below# (e.g., /usr/ucb/install) or modify the install instructions.INSTALL= install#==================================================SRC=sockd.cOBJ=sockd.oPROG=sockdall: echocwd $(PROG)sockd: $(SRC) $(INC) $(SOCKS_LIB) $(IDENT_LIB)	$(CC) $(CFLAGS) -o $@ $(SRC) $(SOCKS_LIB) $(IDENT_LIB) $(RESOLV_LIB)install: echocwd sockd test_sockd_conf	$(INSTALL) -m 111 sockd $(SERVER_BIN_DIR)install.man: echocwd	$(INSTALL) -m 444 ../doc/sockd.8 $(MAN_DEST_DIR)/man8	$(INSTALL) -m 444 ../doc/sockd.conf.5 $(MAN_DEST_DIR)/man5	$(INSTALL) -m 444 ../doc/sockd.route.5 $(MAN_DEST_DIR)/man5	clean: echocwd	rm -f $(OBJ) $(PROG) coreechocwd:	@pwd

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -