forked from postgrespro/jsquery
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (26 loc) · 776 Bytes
/
Copy pathMakefile
File metadata and controls
36 lines (26 loc) · 776 Bytes
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
31
32
33
34
35
# contrib/jsquery/Makefile
MODULE_big = jsquery
OBJS = jsonb_gin_ops.o jsquery_constr.o jsquery_extract.o \
jsquery_gram.o jsquery_io.o jsquery_op.o jsquery_support.o
EXTENSION = jsquery
DATA = jsquery--1.0.sql
REGRESS = jsquery
# We need a UTF8 database
ENCODING = UTF8
EXTRA_CLEAN = y.tab.c y.tab.h \
jsquery_gram.c jsquery_scan.c jsquery_gram.h
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/jsquery
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
jsquery_gram.o: jsquery_scan.c
jsquery_gram.c: BISONFLAGS += -d
distprep: jsquery_gram.c jsquery_scan.c
maintainer-clean:
rm -f jsquery_gram.c jsquery_scan.c jsquery_gram.h