📄 makefile.in
字号:
#-------------------------------------------------------------------------## Makefile# Makefile for the plpgsql shared object## IDENTIFICATION# $Header: /usr/local/cvsroot/pgsql/src/pl/plpgsql/src/Makefile.in,v 1.17 1999/06/30 23:57:31 tgl Exp $##-------------------------------------------------------------------------NAME= plpgsqlSO_MAJOR_VERSION= 1SO_MINOR_VERSION= 0SRCDIR= @top_srcdir@include $(SRCDIR)/Makefile.globalCFLAGS+= -I$(LIBPQDIR) -I$(SRCDIR)/include# For fmgr.hCFLAGS+= -I$(SRCDIR)/backend# If using flex, ask for a case-insensitive, lex-compatible lexer.ifneq (,$(findstring flex,$(LEX)))LFLAGS+= -i -lendifOBJS= pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.oSHLIB_LINK+= -L$(LIBPQDIR) -lpq# If crypt is a separate library, rather than part of libc, it may need# to be referenced separately to keep (broken) linkers happy. (This is# braindead; users of libpq should not need to know what it depends on.)SHLIB_LINK+= $(findstring -lcrypt,$(LIBS))# Shared library stuff, also default 'all' targetinclude $(SRCDIR)/Makefile.shlib# In order to use Makefile.shlib, we allow it to build a static library# libplpgsql.a, which we just ignore, as well as a shared library that# it will insist on naming $(shlib). We don't want to call it that when# installed, however, so we ignore the install-shlib rule and do this# instead:install: $(shlib)ifneq ($(shlib),) $(INSTALL) $(INSTL_SHLIB_OPTS) $(shlib) $(LIBDIR)/plpgsql$(DLSUFFIX)else @echo "plpgsql not installed due to lack of shared library support."endifpl_handler.o: pl_handler.c plpgsql.h pl.tab.hpl_comp.o: pl_comp.c plpgsql.h pl.tab.hpl_exec.o: pl_exec.c plpgsql.h pl.tab.hpl_funcs.o: pl_funcs.c plpgsql.h pl.tab.hpl_parse.o: pl_gram.c pl_scan.c plpgsql.h $(CC) $(CFLAGS) -c -o $@ pl_gram.cpl_gram.c pl.tab.h: gram.y $(YACC) $(YFLAGS) $< sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' <y.tab.c >pl_gram.c sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' <y.tab.h >pl.tab.h rm -f y.tab.c y.tab.hpl_scan.c: scan.l $(LEX) $(LFLAGS) $< sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' <lex.yy.c >pl_scan.c rm -f lex.yy.c.PHONY: install cleanclean: clean-shlib rm -f lib$(NAME).a rm -f *.o pl.tab.h pl_gram.c pl_scan.c# And the garbage that might have been left behind by partial build: rm -f y.tab.c y.tab.h lex.yy.cifeq ($(PORTNAME), win) rm -f $(NAME).defendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -