git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3186
91ce42f0-d328-0410-95d8-
f526ca767f89
.PHONY: $(DIRS) clean all
-all: $(DIRS)
+all: Makefile.inc $(DIRS)
clean: $(DIRS)
$(ECHO_CMD)-rmdir release
else \
echo -e "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
fi
+
+Makefile.inc: Makefile.inc.cross
+ @echo Creating $@
+ $(ECHO_CMD)sed -e "s^@TOPDIR@^`(cd ../../..;pwd)`^" < Makefile.inc.cross > $@
ECHO_CMD = @
-TOPDIR = /home/robert/src/bacula-w32
-DEPKGS = $(TOPDIR)/depkgs-test
+TOPDIR = @TOPDIR@
+DEPKGS = $(TOPDIR)/depkgs-mingw32
MINGW_BIN = $(TOPDIR)/cross-tools/mingw32/bin
MINGW_INCLUDE = $(TOPDIR)/cross-tools/mingw32/mingw32/include