1 # contrib/cube/Makefile
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"
17 REGRESS
= cube cube_sci
19 SHLIB_LINK
+= $(filter -lm
, $(LIBS
))
21 EXTRA_CLEAN
= cubeparse.h cubeparse.c cubescan.c
25 PGXS
:= $(shell $(PG_CONFIG
) --pgxs
)
30 include $(top_builddir
)/src
/Makefile.global
31 include $(top_srcdir
)/contrib
/contrib-global.mk
34 # See notes in src/backend/parser/Makefile about the following two rules
35 cubeparse.h
: cubeparse.c
38 cubeparse.c
: BISONFLAGS
+= -d
40 # Force these dependencies to be known even without dependency info built:
41 cubeparse.o cubescan.o
: cubeparse.h