x3x3x3x_5h3ll
— 53cur3 — 5h3ll_1d —
Linux vps-10654784.cedaps.org.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
  INFO SERVER : Apache PHP : 7.4.33
/lib64/pgsql/pgxs/src/
162.240.100.168

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACTN ]
+FILE +DIR
makefiles dir drwxr-xr-x 2024-07-07 21:56 R D
test dir drwxr-xr-x 2024-04-11 04:55 R D
Makefile.global 23.196 KB -rw-r--r-- 2024-04-11 04:55 R E G D
Makefile.port 0.398 KB -rw-r--r-- 2024-04-11 04:55 R E G D
Makefile.shlib 15.185 KB -rw-r--r-- 2024-04-11 04:55 R E G D
nls-global.mk 5.841 KB -rw-r--r-- 2024-04-11 04:55 R E G D
REQUEST EXIT
#------------------------------------------------------------------------- # # Makefile.shlib # Common rules for building shared libraries # # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION # src/Makefile.shlib # #------------------------------------------------------------------------- # This file should be included by any Postgres module Makefile that # wants to build a shared library (if possible for the current # platform). A static library is also built from the same object # files. Only one library can be built per makefile. # # Before including this file, the module Makefile must define these # variables: # # NAME Name of library to build (no suffix nor "lib" prefix) # OBJS List of object files to include in library # SHLIB_LINK If shared library relies on other libraries, # additional stuff to put in its link command # SHLIB_PREREQS Order-only prerequisites for library build target # SHLIB_EXPORTS (optional) Name of file containing list of symbols to # export, in the format "function_name number" # # When building a shared library, the following version information # must also be set. It should be omitted when building a dynamically # loadable module. # # SO_MAJOR_VERSION Major version number to use for shared library # SO_MINOR_VERSION Minor version number to use for shared library # (If you want a patchlevel, include it in SO_MINOR_VERSION, e.g., "6.2".) # # Optional flags when building DLL's (only applicable to win32 and cygwin # platforms). # DLLTOOL_DEFFLAGS Additional flags when creating the dll .def file # DLLTOOL_LIBFLAGS Additional flags when creating the lib.a file # DLLWRAP_FLAGS Additional flags to dllwrap # # The module Makefile must also include # $(top_builddir)/src/Makefile.global before including this file. # (Makefile.global sets PORTNAME and other needed symbols.) # # This makefile provides the following (phony) targets: # # all-lib build the static and shared (if applicable) libraries # install-lib install the libraries into $(libdir) # installdirs-lib create installation directory $(libdir) # uninstall-lib remove the libraries from $(libdir) # clean-lib delete the static and shared libraries from the build dir # maintainer-clean-lib delete .def files built for win32 # # Since `all-lib' is the first rule in this file you probably want to # have the `all' target before including this file. In the most simple # case it would look like this: # # all: all-lib # # Similarly, the install rule might look like # # install: install-lib # # plus any additional things you want to install. Et cetera. # # Got that? Look at src/interfaces/libpq/Makefile for an example. # # While the linker allows creation of most shared libraries, # -Bsymbolic requires resolution of all symbols, making the # compiler a better choice for shared library creation on ELF platforms. # With the linker, -Bsymbolic requires the crt1.o startup object file. # bjm 2001-02-10 COMPILER = $(CC) $(CFLAGS) LINK.static = $(AR) $(AROPT) ifdef SO_MAJOR_VERSION # Default library naming convention used by the majority of platforms ifeq ($(enable_shared), yes) shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) shlib_major = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) shlib_bare = lib$(NAME)$(DLSUFFIX) endif # Testing the soname variable is a reliable way to determine whether a # linkable library is being built. soname = $(shlib_major) else # Naming convention for dynamically loadable modules ifeq ($(enable_shared), yes) shlib = $(NAME)$(DLSUFFIX) endif endif stlib = lib$(NAME).a ifndef soname # additional flags for backend modules SHLIB_LINK += $(BE_DLLLIBS) endif # For each platform we support shared libraries on, set shlib to the # name of the library (if default above is not right), set # LINK.shared to the command to link the library, # and adjust SHLIB_LINK if necessary. # Try to keep the sections in some kind of order, folks... override CFLAGS += $(CFLAGS_SL) ifdef SO_MAJOR_VERSION # libraries ought to use this to refer to versioned gettext domain names override CPPFLAGS += -DSO_MAJOR_VERSION=$(SO_MAJOR_VERSION) endif ifeq ($(PORTNAME), aix) ifdef SO_MAJOR_VERSION shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) endif haslibarule = yes exports_file = lib$(NAME).exp endif ifeq ($(PORTNAME), darwin) ifdef soname # linkable library DLSUFFIX = .dylib ifneq ($(SO_MAJOR_VERSION), 0) version_link = -compatibility_version $(SO_MAJOR_VERSION) -current_version $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) endif LINK.shared = $(COMPILER) -dynamiclib -install_name '$(libdir)/lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)' $(version_link) $(exported_symbols_list) -multiply_defined suppress shlib = lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX) shlib_major = lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX) else # loadable module DLSUFFIX = .so LINK.shared = $(COMPILER) -bundle -multiply_defined suppress endif BUILD.exports = $(AWK) '/^[^\#]/ {printf "_%s\n",$$1}' $< >$@ exports_file = $(SHLIB_EXPORTS:%.txt=%.list) ifneq (,$(exports_file)) exported_symbols_list = -exported_symbols_list $(exports_file) endif endif ifeq ($(PORTNAME), openbsd) ifdef ELF_SYSTEM LINK.shared = $(COMPILER) -shared ifdef soname LINK.shared += -Wl,-x,-soname,$(soname) endif SHLIB_LINK += -lc else LINK.shared = $(LD) -x -Bshareable -Bforcearchive endif endif ifeq ($(PORTNAME), freebsd) ifdef ELF_SYSTEM ifdef SO_MAJOR_VERSION shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) endif LINK.shared = $(COMPILER) -shared ifdef soname LINK.shared += -Wl,-x,-soname,$(soname) endif else ifdef SO_MAJOR_VERSION shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) endif LINK.shared = $(LD) -x -Bshareable -Bforcearchive endif endif ifeq ($(PORTNAME), netbsd) ifdef ELF_SYSTEM LINK.shared = $(COMPILER) -shared ifdef soname LINK.shared += -Wl,-x,-soname,$(soname) endif else LINK.shared = $(LD) -x -Bshareable -Bforcearchive endif endif ifeq ($(PORTNAME), hpux) ifdef SO_MAJOR_VERSION shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) endif ifeq ($(with_gnu_ld), yes) LINK.shared = $(CC) -shared ifdef soname LINK.shared += -Wl,-h -Wl,$(soname) endi