-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
30 lines (25 loc) · 821 Bytes
/
Makefile
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
26
27
28
29
30
# Major Change History:
# 2012 - Removed from PostgreSQL plDebugger Extension
# 2015 - Resurrected as standalone plProfiler by OpenSCG
# 2016 - Rewritten as v2 to use shared hash tables, have lower overhead
# - v3 Major performance improvements, flame graph UI
MODULE_big = plprofiler
OBJS = plprofiler.o
EXTENSION = plprofiler
DATA = plprofiler--1.0--2.0.sql \
plprofiler--2.0--3.0.sql \
plprofiler--3.0--3.5.sql \
plprofiler--3.5--4.0.sql \
plprofiler--4.0.sql
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/plprofiler
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
plprofiler.o: CFLAGS += -I$(top_builddir)/src/pl/plpgsql/src
endif
plprofiler.o: plprofiler.c plprofiler.h