📄 makefile.in
字号:
# Copyright (c) 1998 WIDE Project. All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions# are met:# 1. Redistributions of source code must retain the above copyright# notice, this list of conditions and the following disclaimer.# 2. Redistributions in binary form must reproduce the above copyright# notice, this list of conditions and the following disclaimer in the# documentation and/or other materials provided with the distribution.# 3. Neither the name of the project nor the names of its contributors# may be used to endorse or promote products derived from this software# without specific prior written permission.# # THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE# ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF# SUCH DAMAGE.PROG = bgpdSRCS = main.c if.c rt_table.c task.c parse.c in6.c router.c \ bgp.c bgp_input.c bgp_output.c bgp_util.c aspath.c \ ripng.c ospf.c dump.cGENSRCS = cftoken.c cfparse.cHDRS = *.hOBJS = $(SRCS:%.c=%.o) $(GENSRCS:%.c=%.o)CLEANFILES = $(OBJS) $(PROG) $(GENSRC) lex.yy.c y.tab.c y.tab.hCFLAGS += -Wall @OPTFLAGS@ @DEFS@LIBS += @LDFLAGS@ -ly -ll -lcompatCC= @CC@LDCC= @LDCC@INSTALL=@INSTALL@prefix= @prefix@bindir= @bindir@mandir= @mandir@exec_prefix= @exec_prefix@#DEFINES = -DDEBUG -DDEBUG_RIP @OPTFLAGS@.DEFAULT: $(PROG)$(PROG): $(OBJS) $(LDCC) $(CFLAGS) -o $(PROG) $(OBJS) $(LDADD) $(LIBS)cfparse.c y.tab.h: cfparse.y yacc -d cfparse.y mv y.tab.c cfparse.ccftoken.c: cftoken.l y.tab.h lex cftoken.l mv lex.yy.c $@ clean:: /bin/rm -f $(CLEANFILES)distclean:: clean /bin/rm -f Makefile config.cache config.status config.loginstall: $(INSTALL) -s -o bin -g bin -m 555 bgpd ${prefix}/sbin $(INSTALL) -o bin -g bin -m 444 bgpd.conf.5 ${mandir}/man5 $(INSTALL) -o bin -g bin -m 444 bgpd.8 ${mandir}/man8$(OBJS): $(HDRS)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -