]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/Makefile
Update README.mingw32 to include gdb info
[bacula/bacula] / bacula / src / win32 / Makefile
index 56e8d3198ddded63f4608b374a44bf7c439f6f76..335114c8022aca4772bc6bbe9b480d7737103e0f 100644 (file)
@@ -21,9 +21,9 @@ clean: $(DIRS)
 $(DIRS):
        @if test -f Makefile.inc; then \
           if $(MAKE) -C $@ $(MAKECMDGOALS); then \
-               echo -e "\n===== Make of $@ succeeded =====\n\n" ; \
+               echo "\n===== Make of $@ succeeded =====\n\n" ; \
           else  \
-               echo -e "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
+               echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
           fi ; \
        fi
 
@@ -39,11 +39,14 @@ Makefile.inc: Makefile.inc.in
                INCDIR=/mingw/include; \
                DLLDIR=/mingw/bin; \
        else \
-               echo -e "\nThe GCC cross compiler isn't installed."; \
-               echo -e "You must run build-win32-cross-tools and build-dependencies first.\n"; \
+               echo "\nThe GCC cross compiler isn't installed."; \
+               echo "You must run build-win32-cross-tools and build-dependencies first.\n"; \
                exit 1; \
        fi ; \
-       sed -e "s^@TOPDIR@^$${TOPDIR}^" \
+       $(ECHO_CMD)BUILDDIR=`(pwd)`; \
+       sed \
+               -e "s^@BUILDDIR@^$${BUILDDIR}^" \
+               -e "s^@TOPDIR@^$${TOPDIR}^" \
                -e "s^@BINDIR@^$${BINDIR}^" \
                -e "s^@INCDIR@^$${INCDIR}^" \
                -e "s^@DLLDIR@^$${DLLDIR}^" < Makefile.inc.in > $@