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

📄 makefile

📁 ucsb大学开发的aodv路由协议代码。
💻
字号:
# Copyright (C) 2001, University of California, Santa Barbara# # 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.# # 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.# # You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.# # Other copyrights might apply to parts of this software and are so# noted when applicable.AODVD=aodvdTAR_FILE=aodv-ucsb-0.1.tarPKG=aodv-ucsb-0.1.tar.gzCC=gcc#CFLAGS=-g -Wall -nostdinc -I/usr/src/linux/include -I/usr/src/linux/include/linux -I/usr/src/linux/include/asm -I/usr/includeCFLAGS=-g -Wall ${BH} ${AHL3}LDFLAGS=SRCS=main.c debug.c aodvSocket.c callout.c inet.c routingTable.c rreq.c test.c rreqTable.c sendDatagram.c rreqResend.c aodvPktInfo.c rrep.c rerr.c localRepair.c libnetlink.c helloMsg.c packet_input.c libipq.c kofn.cOBJS=main.o debug.o aodvSocket.o callout.o inet.o routingTable.o rreq.o test.o rreqTable.o sendDatagram.o rreqResend.o aodvPktInfo.o rrep.o rerr.o localRepair.o libnetlink.o helloMsg.o packet_input.o libipq.o kofn.oall: ${AODVD} kaodv.o ip_queue_aodv.o${AODVD}: ${OBJS}	rm -f $@	${CC} ${LDFLAGS} -o $@ ${CFLAGS} ${OBJS} ${LIBS}clean:	FRC	rm -f ${OBJS} core ${AODVD} kaodv.o ip_queue_aodv.o .depend ${PKG}depend:	FRC	mkdep ${CFLAGS} ${SRCS}DATE=`date +%Y_%m_%d`package: FRC	rm -f ${PKG}	cd ..;tar cvf aodv-ucsb-0.1/${TAR_FILE} aodv-ucsb-0.1/*.c aodv-ucsb-0.1/*.h aodv-ucsb-0.1/Makefile aodv-ucsb-0.1/README aodv-ucsb-0.1/LICENSE aodv-ucsb-0.1/LICENSE.pimd aodv-ucsb-0.1/GPL	gzip ${TAR_FILE}# These are the options for the kernel modules:KINC=-I/usr/src/linux/includeKDEFS=-D__KERNEL__ -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.hKC_ALL=-Wall -O2 $(KDEFS) $(KINC)# Kernel modules:kaodv.o: kaodv.c	$(CC) $(KC_ALL) -c -o $@ $<ip_queue_aodv.o: ip_queue_aodv.c	$(CC) $(KC_ALL) -c -o $@ $<FRC:# DO NOT DELETE THIS LINE -- mkdep uses it.

⌨️ 快捷键说明

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