-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) · 694 Bytes
/
Makefile
File metadata and controls
32 lines (24 loc) · 694 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
#------------------------------------------------------------------------------
#
#
# Copyright (c) 2016, Pivotal.
#
#------------------------------------------------------------------------------
MODULE_big = pljvm
ifeq ($(CIBUILD),1)
IMAGE_TAG=devel
else
IMAGE_TAG=$(PLCONTAINER_VERSION).$(PLCONTAINER_RELEASE)-$(PLCONTAINER_IMAGE_VERSION)
endif
# Directories
SRCDIR = ./src
EXTENSION = pljvm
MODULE_big = pljvm
REGRESS = pljvm
# Files to build
FILES = $(shell find $(SRCDIR) -not -path "*client*" -type f -name "*.c")
OBJS = $(foreach FILE,$(FILES),$(subst .c,.o,$(FILE)))
DATA = pljvm--1.0.0.sql
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)