doc: Fix section of functions age(xid) and mxid_age(xid)
[pgsql.git] / contrib / cube / Makefile
blobdfb0d806e4b97d870a93bf3bf024e819beb83220
1 # contrib/cube/Makefile
3 MODULE_big = cube
4 OBJS = \
5 $(WIN32RES) \
6 cube.o \
7 cubeparse.o \
8 cubescan.o
10 EXTENSION = cube
11 DATA = cube--1.2.sql cube--1.2--1.3.sql cube--1.3--1.4.sql cube--1.4--1.5.sql \
12 cube--1.1--1.2.sql cube--1.0--1.1.sql
13 PGFILEDESC = "cube - multidimensional cube data type"
15 HEADERS = cubedata.h
17 REGRESS = cube cube_sci
19 SHLIB_LINK += $(filter -lm, $(LIBS))
21 EXTRA_CLEAN = cubeparse.h cubeparse.c cubescan.c
23 ifdef USE_PGXS
24 PG_CONFIG = pg_config
25 PGXS := $(shell $(PG_CONFIG) --pgxs)
26 include $(PGXS)
27 else
28 subdir = contrib/cube
29 top_builddir = ../..
30 include $(top_builddir)/src/Makefile.global
31 include $(top_srcdir)/contrib/contrib-global.mk
32 endif
34 # See notes in src/backend/parser/Makefile about the following two rules
35 cubeparse.h: cubeparse.c
36 touch $@
38 cubeparse.c: BISONFLAGS += -d
40 # Force these dependencies to be known even without dependency info built:
41 cubeparse.o cubescan.o: cubeparse.h