2010-03-18 20:20:54 +03:00
|
|
|
LIBDIR=/tmp
|
|
|
|
|
2011-06-28 17:12:18 +04:00
|
|
|
9.0:
|
|
|
|
gcc -Wall -I/usr/include/postgresql/9.0/server -Os -shared lib_postgresqludf_sys.c -fPIC -o lib_postgresqludf_sys.so
|
|
|
|
strip -sx lib_postgresqludf_sys.so
|
|
|
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|
|
|
|
|
2010-03-18 20:20:54 +03:00
|
|
|
8.4:
|
|
|
|
gcc-4.2 -Wall -I/usr/include/postgresql/8.4/server -Os -shared lib_postgresqludf_sys.c -fPIC -o lib_postgresqludf_sys.so
|
|
|
|
strip -sx lib_postgresqludf_sys.so
|
|
|
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|
|
|
|
|
|
|
|
8.3:
|
|
|
|
gcc-4.2 -Wall -I/usr/include/postgresql/8.3/server -Os -shared lib_postgresqludf_sys.c -fPIC -o lib_postgresqludf_sys.so
|
|
|
|
strip -sx lib_postgresqludf_sys.so
|
|
|
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|
|
|
|
|
|
|
|
8.2:
|
|
|
|
gcc-4.2 -Wall -I/usr/include/postgresql/8.2/server -Os -shared lib_postgresqludf_sys.c -fPIC -o lib_postgresqludf_sys.so
|
|
|
|
strip -sx lib_postgresqludf_sys.so
|
|
|
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|