forked from nextgres/uplpgsql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 702 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (21 loc) · 702 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
# UPL — Universal Procedural Language JIT Compiler
#
# Top-level Makefile. Builds core and common shared libraries, then
# selected language drivers.
# Source: postgres.env must be sourced before building.
DRIVERS ?= plpgsql
.PHONY: all install installcheck clean core common
core:
$(MAKE) -C core
common: core
$(MAKE) -C common
all: common
@for d in $(DRIVERS); do $(MAKE) -C drivers/$$d; done
install: common
@for d in $(DRIVERS); do $(MAKE) -C drivers/$$d install; done
installcheck:
@for d in $(DRIVERS); do $(MAKE) -C drivers/$$d installcheck PGPORT=$(PGPORT); done
clean:
$(MAKE) -C core clean
$(MAKE) -C common clean
@for d in $(DRIVERS); do $(MAKE) -C drivers/$$d clean; done