From: Regina Obe Date: Mon, 11 Sep 2017 14:34:44 +0000 (+0000) Subject: Always enable cunit loader tests, per strks request X-Git-Tag: 2.4.0rc1~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5652fd507279cf755f708ecc77c6169fe0a03d78;p=postgis Always enable cunit loader tests, per strks request References my complaint in #3839 that only winnie runs the cunit loader tests git-svn-id: http://svn.osgeo.org/postgis/trunk@15681 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/Makefile.in b/loader/Makefile.in index 1b4842ffe..cb8df6357 100644 --- a/loader/Makefile.in +++ b/loader/Makefile.in @@ -12,7 +12,7 @@ # PGXS information # # Note that PGXS currently doesn't handle building FE executables, but we need -# the DESTDIR variable so we can get the correct install paths. +# the DESTDIR variable so we can get the correct install paths. # Hence we include the PGXS Makefile here, but ensure that we override the # 'all' and 'install' targets with the ones we really want to use below. PG_CONFIG = @PG_CONFIG@ @@ -20,7 +20,7 @@ PGXS := @PGXS@ include $(PGXS) # Set CFLAGS afer PGXS, otherwise it will get overwritten with the PGXS -# version which is not what we want. +# version which is not what we want. CC=@CC@ CFLAGS=-I ../liblwgeom @CFLAGS@ @PICFLAGS@ @WARNFLAGS@ @PROJ_CPPFLAGS@ top_builddir = @top_builddir@ @@ -81,8 +81,8 @@ gui: $(SHP2PGSQL-GUI) $(SHP2PGSQL-CLI) @GTK_WIN32_RES@ shp2pgsql-gui.res: shp2pgsql-gui.rc shp2pgsql-gui.ico windres $< -O coff -o $@ -# liblwgeom.a dependency to allow "make install" in -# the loader/ subdirectory to work +# liblwgeom.a dependency to allow "make install" in +# the loader/ subdirectory to work $(LIBLWGEOM): $(MAKE) -C ../liblwgeom @@ -95,11 +95,11 @@ pgsql2shp-core.o: pgsql2shp-core.c pgsql2shp-core.h shpcommon.h pgsql2shp-cli.o: pgsql2shp-cli.c pgsql2shp-core.h shpcommon.h $(CC) $(CFLAGS) $(PGSQL_FE_CPPFLAGS) -c $< -$(PGSQL2SHP-CLI): $(SHPLIB_OBJS) pgsql2shp-core.o pgsql2shp-cli.o $(LIBLWGEOM) +$(PGSQL2SHP-CLI): $(SHPLIB_OBJS) pgsql2shp-core.o pgsql2shp-cli.o $(LIBLWGEOM) $(LIBTOOL) --mode=link \ $(CC) $(CFLAGS) $^ $(LDFLAGS) $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) $(GETTEXT_LDFLAGS) -o $@ -$(SHP2PGSQL-CLI): $(SHPLIB_OBJS) shp2pgsql-core.o shp2pgsql-cli.o $(LIBLWGEOM) +$(SHP2PGSQL-CLI): $(SHPLIB_OBJS) shp2pgsql-core.o shp2pgsql-cli.o $(LIBLWGEOM) $(LIBTOOL) --mode=link \ $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(GETTEXT_LDFLAGS) $(ICONV_LDFLAGS) @@ -153,9 +153,7 @@ uninstall: uninstall-desktop uninstall-icons $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(bindir)/$(SHP2PGSQL-GUI)" check: -ifdef gtk_build $(MAKE) -C cunit check -endif clean: rm -rf .libs @@ -168,10 +166,10 @@ distclean: # -# Internationalization targets. These are going to need some work and +# Internationalization targets. These are going to need some work and # love to land the files in the right places in all platforms. # -pot: +pot: xgettext -k_ shp2pgsql-core.c shp2pgsql-cli.c shp2pgsql-gui.c -o po/shp2pgsql.pot xgettext -k_ pgsql2shp-core.c pgsql2shp-cli.c -o po/pgsql2shp.pot