2010-09-20 22:08:53 +02:00
|
|
|
# contrib/seg/Makefile
|
2000-12-11 20:40:33 +00:00
|
|
|
|
2001-09-06 10:49:30 +00:00
|
|
|
MODULE_big = seg
|
2019-11-05 14:41:07 -08:00
|
|
|
OBJS = \
|
|
|
|
$(WIN32RES) \
|
|
|
|
seg.o \
|
2022-09-04 11:33:31 +07:00
|
|
|
segparse.o \
|
|
|
|
segscan.o
|
2011-02-13 20:06:41 -05:00
|
|
|
|
|
|
|
EXTENSION = seg
|
2021-03-05 10:45:41 -05:00
|
|
|
DATA = seg--1.1.sql seg--1.1--1.2.sql seg--1.2--1.3.sql seg--1.3--1.4.sql \
|
2020-02-19 16:59:14 -05:00
|
|
|
seg--1.0--1.1.sql
|
2014-07-14 14:07:52 -04:00
|
|
|
PGFILEDESC = "seg - line segment data type"
|
2011-02-13 20:06:41 -05:00
|
|
|
|
2018-07-31 19:58:39 +01:00
|
|
|
HEADERS = segdata.h
|
|
|
|
|
2023-05-08 06:14:07 -07:00
|
|
|
REGRESS = security seg
|
2000-12-11 20:40:33 +00:00
|
|
|
|
2006-04-03 18:47:41 +00:00
|
|
|
EXTRA_CLEAN = y.tab.c y.tab.h
|
2004-08-20 20:13:10 +00:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2007-06-26 22:05:04 +00:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 20:13:10 +00:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/seg
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|
2000-12-11 20:40:33 +00:00
|
|
|
|
2006-03-07 01:03:12 +00:00
|
|
|
|
2022-09-04 11:33:31 +07:00
|
|
|
# See notes in src/backend/parser/Makefile about the following two rules
|
|
|
|
segparse.h: segparse.c
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
segparse.c: BISONFLAGS += -d
|
|
|
|
|
|
|
|
# Force these dependencies to be known even without dependency info built:
|
|
|
|
segparse.o segscan.o: segparse.h
|
2002-11-01 22:52:34 +00:00
|
|
|
|
2009-08-28 20:26:19 +00:00
|
|
|
distprep: segparse.c segscan.c
|
2006-04-03 18:47:41 +00:00
|
|
|
|
|
|
|
maintainer-clean:
|
2022-09-04 11:33:31 +07:00
|
|
|
rm -f segparse.h segparse.c segscan.c
|