📄 makefile
字号:
#-------------------------------------------------------------------------## Makefile for ecpg pgtypes library## Copyright (c) 1994, Regents of the University of California## $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.26.2.1 2005/12/06 05:26:30 tgl Exp $##-------------------------------------------------------------------------subdir = src/interfaces/ecpg/pgtypeslibtop_builddir = ../../../..include $(top_builddir)/src/Makefile.globalNAME= pgtypesSO_MAJOR_VERSION= 2SO_MINOR_VERSION= 1DLTYPE= libraryoverride CPPFLAGS := -DFRONTEND -I$(top_srcdir)/src/interfaces/ecpg/include \ -I$(top_srcdir)/src/include/utils -I$(libpq_srcdir) $(CPPFLAGS)override CFLAGS += $(PTHREAD_CFLAGS)# Need to recompile any libpgport object filesLIBS := $(filter-out -lpgport, $(LIBS))SHLIB_LINK += -lmOBJS= numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \ pgstrcasecmp.o \ $(filter rint.o snprintf.o, $(LIBOBJS))all: all-lib# Shared library stuffinclude $(top_srcdir)/src/Makefile.shlib# We use some port modules verbatim, but since we need to# compile with appropriate options to build a shared lib, we can't# necessarily use the same object files as the backend uses. Instead,# symlink the source files in here and build our own object file.pgstrcasecmp.c rint.c snprintf.c: % : $(top_srcdir)/src/port/% rm -f $@ && $(LN_S) $< .install: all installdirs install-libinstalldirs: $(mkinstalldirs) $(DESTDIR)$(libdir)uninstall: uninstall-libclean distclean maintainer-clean: clean-lib rm -f $(OBJS) pgstrcasecmp.c rint.c snprintf.cdepend dep: $(CC) -MM $(CFLAGS) *.c >dependifeq (depend,$(wildcard depend))include dependendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -