mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-25 15:07:20 +02:00
itself as libuuid, not libossp-uuid which was the only case expected by our build support. Install a configure test to determine which name to use (and to check that the library is present at all).
20 lines
460 B
Makefile
20 lines
460 B
Makefile
# $PostgreSQL: pgsql/contrib/uuid-ossp/Makefile,v 1.4 2007/11/13 00:13:19 tgl Exp $
|
|
|
|
MODULE_big = uuid-ossp
|
|
OBJS = uuid-ossp.o
|
|
DATA_built = uuid-ossp.sql
|
|
DATA = uninstall_uuid-ossp.sql
|
|
|
|
SHLIB_LINK += $(OSSP_UUID_LIBS)
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/uuid-ossp
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|