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

📄 makefile

📁 PostgreSQL 8.1.4的源码 适用于Linux下的开源数据库系统
💻
字号:
#-------------------------------------------------------------------------## Makefile for the bootstrap module## $PostgreSQL: pgsql/src/backend/bootstrap/Makefile,v 1.32 2003/11/29 19:51:40 pgsql Exp $##-------------------------------------------------------------------------subdir = src/backend/bootstraptop_builddir = ../../..include $(top_builddir)/src/Makefile.globaloverride CPPFLAGS := -I$(srcdir) $(CPPFLAGS)# qnx4's wlink currently crashes with bootstrap.oifneq ($(PORTNAME), qnx4)OBJS= bootparse.o bootstrap.o elseOBJS= bootparse.oendif# make sure bootstrap.o is built even on qnx4all: SUBSYS.o bootstrap.oSUBSYS.o: $(OBJS)	$(LD) $(LDREL) $(LDOUT) $@ $^bootstrap.o bootparse.o: $(srcdir)/bootstrap_tokens.h# bootscanner is compiled as part of bootparsebootparse.o: $(srcdir)/bootscanner.c# `sed' rules to remove conflicts between bootstrap scanner and parser# and the SQL scanner and parser. For correctness' sake the rules that# use this must depend on this Makefile.define sed-magicsed -e 's/^yy/Int_yy/g' \    -e 's/\([^a-zA-Z0-9_]\)yy/\1Int_yy/g'endef$(srcdir)/bootparse.c: $(srcdir)/bootstrap_tokens.h ;$(srcdir)/bootstrap_tokens.h: bootparse.y Makefileifdef YACC	$(YACC) -d $(YFLAGS) $<	$(sed-magic) < y.tab.c > $(srcdir)/bootparse.c	$(sed-magic) < y.tab.h > $(srcdir)/bootstrap_tokens.h	rm -f y.tab.c y.tab.helse	@$(missing) bison $< $@endif$(srcdir)/bootscanner.c: bootscanner.l Makefileifdef FLEX	$(FLEX) $(FLEXFLAGS) $<	$(sed-magic) lex.yy.c > $@	rm -f lex.yy.celse	@$(missing) flex $< $@endifclean:	rm -f SUBSYS.o $(OBJS) bootstrap.o# 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 + -