From: Paul Ramsey Date: Tue, 22 Dec 2009 19:38:56 +0000 (+0000) Subject: Add shp2pgsql-pgadmin build target for exe without special win32 options. X-Git-Tag: 1.5.0b1~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=944ced77eab2fd2963ec03dd09cca6102aec8f58;p=postgis Add shp2pgsql-pgadmin build target for exe without special win32 options. git-svn-id: http://svn.osgeo.org/postgis/trunk@5046 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/Makefile.in b/loader/Makefile.in index f844e1176..21382a8be 100644 --- a/loader/Makefile.in +++ b/loader/Makefile.in @@ -29,6 +29,7 @@ CFLAGS=@CFLAGS@ @PICFLAGS@ @WARNFLAGS@ PGSQL2SHP=pgsql2shp@EXESUFFIX@ SHP2PGSQL-CLI=shp2pgsql@EXESUFFIX@ SHP2PGSQL-GUI=shp2pgsql-gui@EXESUFFIX@ +SHP2PGSQL-PGA=shp2pgsql-pgadmin@EXESUFFIX@ # PostgreSQL frontend CPPFLAGS and LDFLAGS (for compiling and linking with libpq) PGSQL_FE_CPPFLAGS=@PGSQL_FE_CPPFLAGS@ @@ -88,6 +89,9 @@ shp2pgsql-gui.o: shp2pgsql-gui.c $(SHP2PGSQL-GUI): stringbuffer.o shpopen.o dbfopen.o shp2pgsql-core.o shp2pgsql-gui.o $(LIBLWGEOM) $(GTK_WIN32_RES) $(CC) $(CFLAGS) $(GTK_WIN32_FLAGS) $^ -o $@ $(GTK_LIBS) $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) -lm +$(SHP2PGSQL-PGA): stringbuffer.o shpopen.o dbfopen.o shp2pgsql-core.o shp2pgsql-gui.o $(LIBLWGEOM) + $(CC) $^ -o $@ $(GTK_LIBS) $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) -lm + install: all @mkdir -p $(DESTDIR)$(bindir) $(INSTALL) $(PGSQL2SHP) $(DESTDIR)$(bindir)