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

📄 makefile

📁 This a good VPN source
💻
字号:
# FreeS/WAN library# Copyright (C) 2003	Michael Richardson	<mcr@freeswan.org># # 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.3 2004/04/03 19:44:41 ken Exp $OPENSWANSRCDIR=../..include ${OPENSWANSRCDIR}/Makefile.incinclude ${OPENSWANSRCDIR}/Makefile.verMANDIR=$(MANTREE)/man3SRCS=policyquery.c cgipolicy.cOBJS=${SRCS:.c=.o} version.oKLIPSD=${OPENSWANSRCDIR}/linux/includeLIB=libipsecpolicy.a# Original flagsCFLAGS=-I. -I${KLIPSD} -I${OPENSWANSRCDIR} $(USERCOMPILE)CFLAGS+= -WallCFLAGS+= -Wpointer-arithCFLAGS+= -Wcast-qualCFLAGS+= -Wstrict-prototypesCFLAGS+= -Wbad-function-cast MANS=.PHONY:	all install clean l t lt tar check depend checkprogramsall:	$(LIB) programs: $(LIB)install:	@mkdir -p $(MANDIR)	@for f in $(MANS) ; \	do \		$(INSTALL) $(INSTMANFLAGS) $(SRCDIR)/$$f $(MANDIR)/ipsec_$$f || exit 1 ; \	done	@$(OPENSWANSRCDIR)/packaging/utils/manlink $(foreach man, $(MANS), ${SRCDIR}/$(man)) | \	while read from to; \	do \		ln -s -f ipsec_$$from $(MANDIR)/$$to; \	doneinstall_file_list:	@for f in $(MANS) ; \	do \		echo $(MANDIR)/ipsec_$$f;\	done;	@$(OPENSWANSRCDIR)/packaging/utils/manlink $(foreach man, $(MANS), ${SRCDIR}/$(man)) | \	while read from to; \	do \		echo $(MANDIR)/$$to; \	done$(LIB):	$(OBJS)	$(AR) $(ARFLAGS) $(LIB) $(OBJS)$(OBJS):	$(HDRS)# build version.c using version number from Makefile.verversion.c:	version.in.c ${OPENSWANSRCDIR}/Makefile.ver	sed '/"/s/xxx/$(IPSECVERSION)/' version.in.c >$@clean:	rm -f $(LIB) *.o try* core *.core $(EXTHDRS) $(EXTLIBS) version.ctar:	clean	tar -cvf /tmp/lib.tar Makefile [a-z]*check:	echo no checks in lib right now.depend:	makedepend -Y -- $(CFLAGS) -- $(SRCS)checkprograms:# DO NOT DELETE

⌨️ 快捷键说明

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