+
+
+# -----------------------------------------------------------------------------
+# development, test, distribution build and packaging targets
+# -----------------------------------------------------------------------------
+
+auto-conf:
+ @$(MAKE_CMD) auto-conf
+
+run: all
+ @$(MAKE_CMD) run
+
+gdb: all
+ @$(MAKE_CMD) gdb
+
+valgrind: all
+ @$(MAKE_CMD) valgrind
+
+enginetest: all
+ ./Scripts/make_enginetest.sh
+
+enginetestcustom: all
+ ./Scripts/make_enginetest.sh custom
+
+enginetestfast: all
+ ./Scripts/make_enginetest.sh fast
+
+enginetestnew: all
+ ./Scripts/make_enginetest.sh new
+
+leveltest: all
+ ./Scripts/make_enginetest.sh leveltest
+
+backup:
+ ./Scripts/make_backup.sh src 1
+
+backup2:
+ ./Scripts/make_backup.sh src 2
+
+backup3:
+ ./Scripts/make_backup.sh src 3
+
+backup_lev:
+ ./Scripts/make_backup.sh lev
+
+backup_gfx:
+ ./Scripts/make_backup.sh gfx
+
+# prerelease:
+# ./Scripts/make_prerelease.sh
+
+dist-clean:
+ @$(MAKE_CMD) dist-clean
+
+dist-build-unix:
+ @BUILD_DIST=TRUE $(MAKE) x11
+
+dist-build-msdos:
+ @BUILD_DIST=TRUE $(MAKE) cross-msdos
+
+dist-build-win32:
+ @BUILD_DIST=TRUE $(MAKE) cross-win32
+
+dist-build-macosx:
+ # (this is done by "dist-package-macosx" target)
+
+dist-package-unix:
+ ./Scripts/make_dist.sh unix .
+
+dist-package-msdos:
+ ./Scripts/make_dist.sh dos .
+
+dist-package-win32:
+ ./Scripts/make_dist.sh win .
+
+dist-package-macosx:
+ ./Scripts/make_dist.sh mac . $(MAKE)
+
+dist-upload-unix:
+ ./Scripts/make_dist.sh unix . upload
+
+dist-upload-msdos:
+ ./Scripts/make_dist.sh dos . upload
+
+dist-upload-win32:
+ ./Scripts/make_dist.sh win . upload
+
+dist-upload-macosx:
+ ./Scripts/make_dist.sh mac . upload
+
+dist-build-all:
+ $(MAKE) clean
+ $(MAKE) dist-build-unix ; $(MAKE) dist-clean
+ $(MAKE) dist-build-win32 ; $(MAKE) dist-clean
+# $(MAKE) dist-build-msdos ; $(MAKE) dist-clean
+
+dist-package-all:
+ $(MAKE) dist-package-unix
+ $(MAKE) dist-package-win32
+ $(MAKE) dist-package-macosx
+# $(MAKE) dist-package-msdos
+
+dist-upload-all:
+ $(MAKE) dist-upload-unix
+ $(MAKE) dist-upload-win32
+ $(MAKE) dist-upload-macosx
+# $(MAKE) dist-upload-msdos
+
+dist-all: dist-build-all dist-package-all
+
+upload-all: dist-upload-all
+
+tags:
+ $(MAKE_CMD) tags
+
+depend dep:
+ $(MAKE_CMD) depend