mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
*** empty log message ***
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
all: stp.so test1 test2 test3 test4 test5 perftest
|
||||
|
||||
#LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq -lcrypt
|
||||
#LDFLAGS=-g -I../include -I/usr/include/postgresql -L/usr/lib/postgresql -L../lib -lecpg -lpq -lcrypt
|
||||
LDFLAGS=-g -I/usr/include/postgresql -lecpg -lpq -lcrypt
|
||||
LDFLAGS=-g -I../include -I/usr/include/postgresql -L/usr/lib/postgresql -L../lib -lecpg -lpq -lcrypt
|
||||
#LDFLAGS=-g -I/usr/include/postgresql -lecpg -lpq -lcrypt
|
||||
|
||||
#ECPG=/usr/local/pgsql/bin/ecpg
|
||||
#ECPG=../preproc/ecpg -I../include
|
||||
ECPG=/usr/bin/ecpg -I/usr/include/postgresql
|
||||
ECPG=../preproc/ecpg -I../include
|
||||
#ECPG=/usr/bin/ecpg -I/usr/include/postgresql
|
||||
|
||||
.SUFFIXES: .pgc .c
|
||||
|
||||
@ -22,7 +22,7 @@ perftest: perftest.c
|
||||
|
||||
stp.so: stp.c
|
||||
cc -fPIC -I../include -I/usr/include/postgresql -c -o stp.o stp.c
|
||||
ld -Bdynamic -shared -soname stp.so -o stp.so stp.o -lpq -lecpg
|
||||
ld -Bdynamic -shared -soname stp.so -o stp.so stp.o -lpq -lecpg -lc
|
||||
|
||||
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user