mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-23 02:10:40 +02:00
Buildfarm member hornet, at least, seems to want -lm in the link command. Probably this is due to the just-added use of isnan().
24 lines
574 B
Makefile
24 lines
574 B
Makefile
# contrib/tsm_system_time/Makefile
|
|
|
|
MODULE_big = tsm_system_time
|
|
OBJS = tsm_system_time.o $(WIN32RES)
|
|
PGFILEDESC = "tsm_system_time - TABLESAMPLE method which accepts time in milliseconds as a limit"
|
|
|
|
EXTENSION = tsm_system_time
|
|
DATA = tsm_system_time--1.0.sql
|
|
|
|
REGRESS = tsm_system_time
|
|
|
|
SHLIB_LINK += $(filter -lm, $(LIBS))
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/tsm_system_time
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|