mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 01:22:47 +00:00
96425d406e
git-svn-id: http://svn.osgeo.org/postgis/trunk@2138 b70326c6-7e19-0410-871a-916f4a2858ee
23 lines
672 B
Makefile
23 lines
672 B
Makefile
|
|
# this file copied and adapted from PostgreSQL source
|
|
# to allow easy build on BSD systems
|
|
|
|
all install uninstall clean distclean maintainer-clean test docs docs-install docs-uninstall utils:
|
|
@IFS=':' ; \
|
|
for dir in $$PATH; do \
|
|
for prog in gmake gnumake make; do \
|
|
if [ -f $$dir/$$prog ] && ( $$dir/$$prog -f /dev/null --version 2>/dev/null | grep GNU >/dev/null 2>&1 ) ; then \
|
|
GMAKE=$$dir/$$prog; \
|
|
break 2; \
|
|
fi; \
|
|
done; \
|
|
done; \
|
|
\
|
|
if [ x"$${GMAKE+set}" = xset ]; then \
|
|
echo "Using GNU make found at $${GMAKE}"; \
|
|
$${GMAKE} $@ ; \
|
|
else \
|
|
echo "You must use GNU make to build PostGIS." ; \
|
|
false; \
|
|
fi
|