From 94ea0329b54f8e73727a6897016a43af705862f3 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 20 Nov 2003 15:29:43 +0000 Subject: [PATCH] Moved MODULE_FILENAME definition where it will be easly modifiable git-svn-id: http://svn.osgeo.org/postgis/trunk@375 b70326c6-7e19-0410-871a-916f4a2858ee --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bba4f5986..6012c12e3 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ endif NAME=postgis SO_MAJOR_VERSION=0 SO_MINOR_VERSION=8 - +MODULE_FILENAME = $(LPATH)/$(shlib) #--------------------------------------------------------------- override CFLAGS += -g -fexceptions @@ -148,7 +148,7 @@ loaderdumper: # Shared library stuff postgis.sql: postgis_sql_common.sql.in postgis_sql_$(USE_VERSION)_end.sql.in postgis_sql_$(USE_VERSION)_start.sql.in - cat postgis_sql_$(USE_VERSION)_start.sql.in postgis_sql_common.sql.in postgis_sql_$(USE_VERSION)_end.sql.in | sed -e 's:@MODULE_FILENAME@:$(LPATH)/$(shlib):g;s:@POSTGIS_VERSION@:$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) USE_GEOS=$(USE_GEOS) USE_PROJ=$(USE_PROJ) USE_STATS=$(USE_STATS):g' > $@ + cat postgis_sql_$(USE_VERSION)_start.sql.in postgis_sql_common.sql.in postgis_sql_$(USE_VERSION)_end.sql.in | sed -e 's:@MODULE_FILENAME@:$(MODULE_FILENAME):g;s:@POSTGIS_VERSION@:$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) USE_GEOS=$(USE_GEOS) USE_PROJ=$(USE_PROJ) USE_STATS=$(USE_STATS):g' > $@ postgis_undef.sql: postgis.sql create_undef.pl perl create_undef.pl $< $(USE_VERSION) > $@ -- 2.40.0