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

📄 makefile

📁 openswan
💻
字号:
# FreeS/WAN subdir makefile# Copyright (C) 1998-2001  Henry Spencer.# # This program is free software; you can redistribute it and/or modify it# under the terms of the GNU General Public License as published by the# Free Software Foundation; either version 2 of the License, or (at your# option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.# # This program is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License# for more details.## RCSID $Id: Makefile,v 1.1 2005/03/20 02:59:24 mcr Exp $OPENSWANSRCDIR=../../..OBJS = nethub.o cmdmode.o port.o hash.o tuntap.oOBJS+=getopt_long.oNOBJS = uml_netjig.o $(OBJS)SOBJS = uml_switch.o $(OBJS)OPTIONS=-DARP_PROCESS -DTUNTAP# To use the netdissect option, you have to have a very recent (pre-alpha) copy# of tcpdump source code from www.tcpdump.org. For now, leave it unset.# # If you want to play with it, you'll need libnetdissect.a. You can get this# by checking code out of www.tcpdump.org:## cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master checkout -rmcr_dissect -dnetdissect_tcpdump##NETDISSECTH=-DNETDISSECT -I/home/mcr/src/tcpdump#NETDISSECTLIB=-L/home/mcr/src/linux/i386/tcpdump -lnetdissect# to decode ESP packets (with netdissect), you need crypto, which you can# get from ssl. #OPENSSL=-L/usr/local/ssl/lib -lcrypto# To read/write files, you need to have libpcap (-devel if on RH) installed.PCAPH=-I/usr/include/pcapPCAPLIB=-lpcap#PCAPH=-I/home/mcr/src/libpcap#PCAPLIB=-L/home/mcr/src/linux/i386/libpcap -lpcapCFLAGS = -g -Wall ${PCAPH} ${NETDISSECTH} ${OPTIONS}LIBS = ${NETDISSECTLIB} ${PCAPLIB} ${OPENSSL}include $(OPENSWANSRCDIR)/Makefile.incdef:	@echo "Please read doc/intro.html or INSTALL before running make"	@falsecheckprograms: uml_netjig uml_switchuml_netjig : $(NOBJS)	$(CC) $(CFLAGS) -o uml_netjig $(NOBJS) $(LIBS)uml_switch : $(SOBJS)	$(CC) $(CFLAGS) -o uml_switch $(SOBJS) $(LIBS)clean : 	rm -f uml_netjig uml_switch $(SOBJS) $(NOBJS) *~install_check: uml_netjig	@install -d $(LIBEXECDIR)	@install -s uml_netjig $(LIBEXECDIR)install_file_list:	@trueinstall programs check: 	@truedepend: 	makedepend -- ${CFLAGS} -- ${OBJS:.o=.c}# DO NOT DELETE - these were hand edited.uml_netjig.o: netjig.h nethub.h port.h hash.hnethub.o: netjig.h nethub.h port.h hash.hcmdmode.o: netjig.hport.o: nethub.h port.h hash.hhash.o: nethub.h port.h hash.huml_switch.o: netjig.h nethub.h port.h hash.h

⌨️ 快捷键说明

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