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

📄 makefile

📁 关系型数据库 Postgresql 6.5.2
💻
字号:
#-------------------------------------------------------------------------## Makefile--#    Makefile for the bootstrap module## IDENTIFICATION#    $Header: /usr/local/cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.15 1998/07/26 04:30:17 scrappy Exp $### We must build bootparse.c and bootscanner.c with yacc and lex and sed,# but bootstrap.c is part of the distribution.## Another kinda weird Makefile cause we need two#  scanner/parsers in the backend and most yaccs and lexs#  don't have the prefix option.##	sed files are HACK CITY! - redo...##-------------------------------------------------------------------------SRCDIR= ../..include ../../Makefile.globalCFLAGS += -I..ifdef MULTIBYTECFLAGS+= $(MBFLAGS)endififeq ($(CC), gcc)CFLAGS+= -Wno-errorendifBOOTYACCS= bootstrap_tokens.h bootparse.cOBJS= bootparse.o bootscanner.o bootstrap.o all: SUBSYS.oSUBSYS.o: $(OBJS)	$(LD) -r -o SUBSYS.o $(OBJS)# bootstrap.o's dependency on bootstrap_tokens.h is computed by the# make depend, but we state it here explicitly anyway because # bootstrap_tokens.h doesn't even exist at first and if user fails to # do make depend, we still want the build to succeed.bootstrap.o: bootstrap_tokens.hbootstrap_tokens.h bootparse.c: bootparse.y	$(YACC) $(YFLAGS) $<	grep -v "^#" boot.sed > sedfile	sed -f sedfile < y.tab.c > bootparse.c	mv y.tab.h bootstrap_tokens.h	rm -f y.tab.c sedfilebootscanner.c: bootscanner.l	$(LEX) $<	grep -v "^#" boot.sed > sedfile	sed -f sedfile < lex.yy.c > bootscanner.c	rm -f lex.yy.c sedfileclean:	rm -f SUBSYS.o $(OBJS) bootparse.c bootstrap_tokens.h bootscanner.c# And the garbage that might have been left behind by partial build:	rm -f y.tab.h y.tab.c y.output lex.yy.c# This is unusual:  We actually have to build some of the parts before# we know what the header file dependencies are.  dep depend: bootparse.c bootscanner.c bootstrap_tokens.h	$(CC) -MM $(CFLAGS) *.c >dependifeq (depend,$(wildcard depend))include dependendif

⌨️ 快捷键说明

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