summaryrefslogtreecommitdiffstats
path: root/contrib/tsm_system_time/Makefile
blob: 69599955f2bd8c6f7817d4007496e38ba0d8600a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# contrib/tsm_system_time/Makefile

MODULE_big = tsm_system_time
OBJS = \
	$(WIN32RES) \
	tsm_system_time.o
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