diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:43 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:43 +0200 |
commit | 4226e548662339ea1ca37b45385a7cf9b237ff1e (patch) | |
tree | 9a3fa54b85d97f05164e41bdb96b82f748a37342 /shared/ossp_uuid/pgsql/Makefile | |
parent | 3.7 (diff) | |
download | FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2 FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip |
3.8
Diffstat (limited to 'shared/ossp_uuid/pgsql/Makefile')
-rw-r--r-- | shared/ossp_uuid/pgsql/Makefile | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/shared/ossp_uuid/pgsql/Makefile b/shared/ossp_uuid/pgsql/Makefile deleted file mode 100644 index a71bbc21..00000000 --- a/shared/ossp_uuid/pgsql/Makefile +++ /dev/null @@ -1,57 +0,0 @@ -## -## Makefile for PostgreSQL extension module -## - -# NOTICE: This requires GNU make as the PostgreSQL PGXS build -# environment is based on GNU make features! -# -# NOTICE: Usually one would just use "PGXS := $(shell pg_config -# --pgxs)" followed by "include $(PGXS)" as the template. The problem -# just is that this way (at least still under PostgreSQL 8.1) one -# cannot pass the "-L../.libs -luuid" to the command which links the -# DSO. Hence we fiddle around with the Makefiles which "PGXS" uses -# itself ourself. - -PG_CONFIG ?= pg_config -PGXS := $(shell $(PG_CONFIG) --pgxs) -POSTGRES := $(shell $(PG_CONFIG) --bindir)/postgres -top_builddir := $(dir $(PGXS))../.. -include $(top_builddir)/src/Makefile.global - -NAME = uuid -OBJS = uuid.o -SO_MAJOR_VERSION = 1 -SO_MINOR_VERSION = 0 - -override CPPFLAGS := -I.. $(CPPFLAGS) -SHLIB_LINK := -L../.libs -luuid -SHLIB_LINK += $(shell test $(shell uname -s) = FreeBSD && echo "-Wl,-Bsymbolic") -SHLIB_LINK += $(shell test $(shell uname -s) = Darwin && echo "-bundle_loader $(POSTGRES)") -rpath := - -all: uuid.sql all-lib - -enable_shared = yes -include $(top_builddir)/src/Makefile.shlib - -uuid.sql: uuid.sql.in - sed -e 's;MODULE_PATHNAME;$(DESTDIR)$(pkglibdir)/uuid$(DLSUFFIX);g' <uuid.sql.in >uuid.sql - -install: all - $(mkinstalldirs) $(DESTDIR)$(pkglibdir) - $(mkinstalldirs) $(DESTDIR)$(datadir) - $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/uuid$(DLSUFFIX) - $(INSTALL_DATA) uuid.sql $(DESTDIR)$(datadir)/uuid.sql - -uninstall: - -rm -f $(DESTDIR)$(pkglibdir)/uuid$(DLSUFFIX) - -rm -f $(DESTDIR)$(datadir)/uuid.sql - -clean distclean: clean-lib - rm -f $(OBJS) - rm -f uuid.sql - -realclean: distclean - -test: - |