mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-26 10:02:50 +00:00
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
This commit is contained in:
parent
56647c61f7
commit
94ea0329b5
4
Makefile
4
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) > $@
|
||||
|
|
Loading…
Reference in a new issue