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

📄 makefile

📁 Linux下的socks的程序源程序,用于socks的代理服务
💻
字号:
#	@(#)Makefile	5.11 (Berkeley) 5/11/90# make SOCKSified clientSOCKS_LIB =../lib/libsocks.aSOCKS=-DSOCKS# or#SOCKS=-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Drcmd=Rrcmd -Dbind=Rbind -Dselect=Rselect# Remember to include -Dindex=strchr in OTHER_CFLAGS if# you don't have index() (Sys-V camp)# If your system has getcwd() but no getwd(), uncomment the next line:#GETCWD=-DGETCWD# Define FASCIST if you want to log names of all files transferred#FASCIST=-DFASCIST# Define SHORTENED_RBIND to make Rbind() take exactly the same# argument list as the regular bind(), i.e., without the additional# 'remhost' argument.SHORTENED_RBIND=-DSHORTENED_RBIND# SunOS should use#RESOLV_LIB=-lresolvOTHER_CFLAGS=$(GETCWD) $(FASCIST) -DCOMPAT $(SHORTENED_RBIND) # IRIX should use#RESOLV_LIB=-lsun#OTHER_CFLAGS=-cckr $(GETCWD) $(FASCIST) -DCOMPAT $(SHORTENED_RBIND) # AIX should use#RESOLV_LIB=-lbsd#OTHER_CFLAGS=-D_BSD -D_NONSTD_TYPES -D_NO_PROTO -DAIX $(GETCWD) $(FASCIST) -DCOMPAT $(SHORTENED_RBIND) # SOLARIS should use#RESOLV_LIB=-lresolv -lnsl -lsocket#OTHER_CFLAGS=-DSOLARIS -Dindex=strchr -Drindex=strrchr -DUSE_DIRENT  $(GETCWD) $(FASCIST) -DCOMPAT $(SHORTENED_RBIND) # Interactive Systems Unix should use# OTHER_CFLAGS = -DISC $(GETCWD) $(FASCIST) -DCOMPAT $(SHORTENED_RBIND) # LINUX should use#CC=gcc#RESOLV_LIB=#OTHER_CFLAGS=-traditional -DLINUX  $(GETCWD) $(FASCIST) -DCOMPAT $(SHORTENED_RBIND) # UnixWare should use#RESOLV_LIB=-lresolv -lnsl -lsocket#OTHER_CFLAGS= -DSOLARIS -Dindex=strchr -Drindex=strrchr -DUSE_DIRENT $(GETCWD) $(FASCIST) -DCOMPAT $(SHORTENED_RBIND) #INSTALL=bsdinstall# >>>---------------- Others:# Define RESOLV_LIB if your system (e.g., SunOS before 4.1.1)# doesn't search resolver library automatically.# Leave it undefined otherwise.# If your compiler or loader complains about _res_init being# an undefined symbol, then you must define RESOLV_LIB.#RESOLV_LIB= -lresolv# <<<----------------# Directory into which rftp program will be installed:CLIENTS_BIN_DIR=/usr/local/bin# Directory into which rftp's man page file will be installed:MAN_DEST_DIR=/usr/local/manOPTIMIZE=-gCFLAGS = -I../include ${OPTIMIZE} $(OTHER_CFLAGS) $(SOCKS)# 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#==============================================================================PROG=	rftpSRCS=	cmds.c cmdtab.c ftp.c glob.c main.c ruserpass.c domacro.cOBJS=	cmds.o cmdtab.o ftp.o glob.o main.o ruserpass.o domacro.oall: echocwd rftprftp: $(OBJS) $(SOCKS_LIB)	$(CC) $(CFLAGS) -o $@ $(OBJS) $(SOCKS_LIB) $(RESOLV_LIB)install: echocwd rftp	$(INSTALL) -m 111 rftp $(CLIENTS_BIN_DIR)install.man: echocwd	$(INSTALL) -m 444 ../doc/socks_clients.1 $(MAN_DEST_DIR)/man1	$(INSTALL) -m 444 ../doc/socks.conf.5 $(MAN_DEST_DIR)/man5	$(INSTALL) -m 444 ../doc/rftp.1 $(MAN_DEST_DIR)/man1	$(INSTALL) -m 444 ftp.1 $(MAN_DEST_DIR)/man1clean: echocwd	rm -f $(OBJS) core $(PROG)echocwd:	@pwd

⌨️ 快捷键说明

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