]> granicus.if.org Git - postgis/commitdiff
Add shp2pgsql-pgadmin build target for exe without special win32 options.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 22 Dec 2009 19:38:56 +0000 (19:38 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 22 Dec 2009 19:38:56 +0000 (19:38 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5046 b70326c6-7e19-0410-871a-916f4a2858ee

loader/Makefile.in

index f844e1176a5b791dc34f04a557ebeb45fca55a77..21382a8beef40965d7dfeb008918602eaac393bc 100644 (file)
@@ -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)