mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-29 03:17:19 +02:00
13 lines
311 B
Makefile
13 lines
311 B
Makefile
|
D=/usr/postgres
|
||
|
P=$D/lib/datetime_functions.so
|
||
|
CFLAGS=-fpic -O -I../../src/include -I../../src/backend
|
||
|
|
||
|
all: $P datetime_functions.sql
|
||
|
|
||
|
$P:datetime_functions.o
|
||
|
ld -Bshareable -o $P datetime_functions.o
|
||
|
|
||
|
datetime_functions.sql: datetime.prot
|
||
|
sh datetime.prot $P
|
||
|
psql -c "\idatetime_functions.sql" template1
|