makefiles: Add helper functions to build the various make lists more efficiently.
diff --git a/configure b/configure
index 3bbc4a7..c10a677 100755
--- a/configure
+++ b/configure
@@ -13692,24 +13692,26 @@
 ac_config_commands="$ac_config_commands include/stamp-h"
 
 
+wine_fn_append_file ()
+{
+    as_fn_append $1 " \\$as_nl	$2"
+}
+wine_fn_append_rule ()
+{
+    as_fn_append $1 "$as_nl$2"
+}
 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
-test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
-	dlls/wineps.drv/generic.ppd"
+test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "dlls/wineps.drv/generic.ppd"
 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
-test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
-	fonts/marlett.ttf"
+test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/marlett.ttf"
 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
-test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
-	fonts/symbol.ttf"
+test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/symbol.ttf"
 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
-test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
-	fonts/tahoma.ttf"
+test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/tahoma.ttf"
 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
-test "$srcdir" = "." || ALL_SYMLINKS="$ALL_SYMLINKS \\
-	fonts/tahomabd.ttf"
+test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/tahomabd.ttf"
 ac_config_links="$ac_config_links wine:tools/winewrapper"
-ALL_SYMLINKS="$ALL_SYMLINKS \\
-	wine"
+wine_fn_append_file ALL_SYMLINKS "wine"
 
 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
 
@@ -13724,1201 +13726,817 @@
 ac_config_commands="$ac_config_commands include/wine"
 
 
-ALL_MAKERULES="$ALL_MAKERULES \\
-	Make.rules"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-Make.rules: Make.rules.in config.status"
+wine_fn_append_file ALL_MAKERULES "Make.rules"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "Make.rules: Make.rules.in config.status"
 MAKE_RULES=Make.rules
 ac_config_files="$ac_config_files Make.rules"
 
-ALL_MAKERULES="$ALL_MAKERULES \\
-	Maketest.rules"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-Maketest.rules: Maketest.rules.in Make.rules config.status"
+wine_fn_append_file ALL_MAKERULES "Maketest.rules"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "Maketest.rules: Maketest.rules.in Make.rules config.status"
 MAKE_TEST_RULES=Maketest.rules
 ac_config_files="$ac_config_files Maketest.rules"
 
-ALL_MAKERULES="$ALL_MAKERULES \\
-	dlls/Makedll.rules"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules config.status"
+wine_fn_append_file ALL_MAKERULES "dlls/Makedll.rules"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules config.status"
 MAKE_DLL_RULES=dlls/Makedll.rules
 ac_config_files="$ac_config_files dlls/Makedll.rules"
 
-ALL_MAKERULES="$ALL_MAKERULES \\
-	dlls/Makeimplib.rules"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules config.status"
+wine_fn_append_file ALL_MAKERULES "dlls/Makeimplib.rules"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules config.status"
 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
 
-ALL_MAKERULES="$ALL_MAKERULES \\
-	programs/Makeprog.rules"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules config.status"
+wine_fn_append_file ALL_MAKERULES "programs/Makeprog.rules"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules config.status"
 MAKE_PROG_RULES=programs/Makeprog.rules
 ac_config_files="$ac_config_files programs/Makeprog.rules"
 
 
 
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-Makefile: Makefile.in Make.rules config.status"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "Makefile: Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/acledit dlls/acledit/__install__ dlls/acledit/__install-lib__ dlls/acledit/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/acledit"
-test "x$enable_acledit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/acledit"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/acledit/%) dlls/acledit: dlls/acledit/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/acledit dlls/acledit/__install__ dlls/acledit/__install-lib__ dlls/acledit/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/acledit"
+test "x$enable_acledit" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/acledit"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/acledit/%) dlls/acledit: dlls/acledit/Makefile \$(MAKEDEP)
 dlls/acledit/Makefile: dlls/acledit/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/acledit/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/aclui/libaclui.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/aclui/libaclui.$IMPLIBEXT dlls/aclui/libaclui.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/aclui/libaclui.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/aclui/libaclui.$IMPLIBEXT dlls/aclui/libaclui.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/aclui/libaclui.$IMPLIBEXT dlls/aclui/libaclui.cross.a: dlls/aclui/aclui.spec dlls/aclui/Makefile
 	@cd dlls/aclui && \$(MAKE) \`basename \$@\`
 dlls/aclui dlls/aclui/__install__ dlls/aclui/__install-lib__ dlls/aclui/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/aclui"
-test "x$enable_aclui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/aclui"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/aclui/%) dlls/aclui: dlls/aclui/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/aclui"
+test "x$enable_aclui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/aclui"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/aclui/%) dlls/aclui: dlls/aclui/Makefile \$(MAKEDEP)
 dlls/aclui/Makefile: dlls/aclui/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/aclui/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/activeds/libactiveds.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/activeds/libactiveds.$IMPLIBEXT dlls/activeds/libactiveds.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/activeds/libactiveds.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/activeds/libactiveds.$IMPLIBEXT dlls/activeds/libactiveds.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/activeds/libactiveds.$IMPLIBEXT dlls/activeds/libactiveds.cross.a: dlls/activeds/activeds.spec dlls/activeds/Makefile
 	@cd dlls/activeds && \$(MAKE) \`basename \$@\`
 dlls/activeds dlls/activeds/__install__ dlls/activeds/__install-lib__ dlls/activeds/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/activeds"
-test "x$enable_activeds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/activeds"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/activeds/%) dlls/activeds: dlls/activeds/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/activeds"
+test "x$enable_activeds" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/activeds"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/activeds/%) dlls/activeds: dlls/activeds/Makefile \$(MAKEDEP)
 dlls/activeds/Makefile: dlls/activeds/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/activeds/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/actxprxy dlls/actxprxy/__install__ dlls/actxprxy/__install-lib__ dlls/actxprxy/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/actxprxy"
-test "x$enable_actxprxy" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/actxprxy"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/actxprxy/%) dlls/actxprxy: dlls/actxprxy/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/actxprxy dlls/actxprxy/__install__ dlls/actxprxy/__install-lib__ dlls/actxprxy/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/actxprxy"
+test "x$enable_actxprxy" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/actxprxy"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/actxprxy/%) dlls/actxprxy: dlls/actxprxy/Makefile \$(MAKEDEP)
 dlls/actxprxy/Makefile: dlls/actxprxy/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
 
-ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
-	dlls/adsiid/libadsiid.a"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/adsiid: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_STATIC_LIBS "dlls/adsiid/libadsiid.a"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/adsiid: tools/widl tools/winebuild tools/winegcc include
 dlls/adsiid/__install__ dlls/adsiid/__install-dev__: dlls/adsiid
 dlls/adsiid/libadsiid.cross.a: dlls/adsiid/Makefile tools/widl tools/winebuild tools/winegcc include dummy
 	@cd dlls/adsiid && \$(MAKE) \`basename \$@\`"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/adsiid"
-test "x$enable_adsiid" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
-	dlls/adsiid"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/adsiid/%) dlls/adsiid: dlls/adsiid/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/adsiid"
+test "x$enable_adsiid" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/adsiid"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/adsiid/%) dlls/adsiid: dlls/adsiid/Makefile \$(MAKEDEP)
 dlls/adsiid/Makefile: dlls/adsiid/Makefile.in dlls/Makeimplib.rules config.status"
 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/advapi32/libadvapi32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/advapi32/libadvapi32.$IMPLIBEXT dlls/advapi32/libadvapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/advapi32/libadvapi32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/advapi32/libadvapi32.$IMPLIBEXT dlls/advapi32/libadvapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/advapi32/libadvapi32.$IMPLIBEXT dlls/advapi32/libadvapi32.cross.a: dlls/advapi32/advapi32.spec dlls/advapi32/Makefile
 	@cd dlls/advapi32 && \$(MAKE) \`basename \$@\`
 dlls/advapi32 dlls/advapi32/__install__ dlls/advapi32/__install-lib__ dlls/advapi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/advapi32"
-test "x$enable_advapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/advapi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/advapi32/%) dlls/advapi32: dlls/advapi32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/advapi32"
+test "x$enable_advapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/advapi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/advapi32/%) dlls/advapi32: dlls/advapi32/Makefile \$(MAKEDEP)
 dlls/advapi32/Makefile: dlls/advapi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/advapi32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/advapi32/tests: __builddeps__
 dlls/advapi32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	advapi32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-advapi32_test.exe: \$(TOPOBJDIR)/dlls/advapi32/tests/advapi32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "advapi32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "advapi32_test.exe: \$(TOPOBJDIR)/dlls/advapi32/tests/advapi32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/advapi32/tests/advapi32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 advapi32_test.rc:
 	echo \"advapi32_test.exe TESTRES \\\"advapi32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 advapi32_test.res: advapi32_test.rc advapi32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/advapi32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/advapi32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/advapi32/tests/%) dlls/advapi32/tests: dlls/advapi32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/advapi32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/advapi32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/advapi32/tests/%) dlls/advapi32/tests: dlls/advapi32/tests/Makefile \$(MAKEDEP)
 dlls/advapi32/tests/Makefile: dlls/advapi32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/advpack/libadvpack.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/advpack/libadvpack.$IMPLIBEXT dlls/advpack/libadvpack.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/advpack/libadvpack.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/advpack/libadvpack.$IMPLIBEXT dlls/advpack/libadvpack.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/advpack/libadvpack.$IMPLIBEXT dlls/advpack/libadvpack.cross.a: dlls/advpack/advpack.spec dlls/advpack/Makefile
 	@cd dlls/advpack && \$(MAKE) \`basename \$@\`
 dlls/advpack dlls/advpack/__install__ dlls/advpack/__install-lib__ dlls/advpack/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/advpack"
-test "x$enable_advpack" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/advpack"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/advpack/%) dlls/advpack: dlls/advpack/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/advpack"
+test "x$enable_advpack" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/advpack"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/advpack/%) dlls/advpack: dlls/advpack/Makefile \$(MAKEDEP)
 dlls/advpack/Makefile: dlls/advpack/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/advpack/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/advpack/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/advpack/tests: __builddeps__
 dlls/advpack/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	advpack_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-advpack_test.exe: \$(TOPOBJDIR)/dlls/advpack/tests/advpack_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "advpack_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "advpack_test.exe: \$(TOPOBJDIR)/dlls/advpack/tests/advpack_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/advpack/tests/advpack_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 advpack_test.rc:
 	echo \"advpack_test.exe TESTRES \\\"advpack_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 advpack_test.res: advpack_test.rc advpack_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/advpack/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/advpack/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/advpack/tests/%) dlls/advpack/tests: dlls/advpack/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/advpack/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/advpack/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/advpack/tests/%) dlls/advpack/tests: dlls/advpack/tests/Makefile \$(MAKEDEP)
 dlls/advpack/tests/Makefile: dlls/advpack/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/amstream dlls/amstream/__install__ dlls/amstream/__install-lib__ dlls/amstream/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/amstream"
-test "x$enable_amstream" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/amstream"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/amstream/%) dlls/amstream: dlls/amstream/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/amstream dlls/amstream/__install__ dlls/amstream/__install-lib__ dlls/amstream/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/amstream"
+test "x$enable_amstream" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/amstream"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/amstream/%) dlls/amstream: dlls/amstream/Makefile \$(MAKEDEP)
 dlls/amstream/Makefile: dlls/amstream/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/amstream/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/amstream/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/amstream/tests: __builddeps__
 dlls/amstream/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	amstream_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-amstream_test.exe: \$(TOPOBJDIR)/dlls/amstream/tests/amstream_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "amstream_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "amstream_test.exe: \$(TOPOBJDIR)/dlls/amstream/tests/amstream_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/amstream/tests/amstream_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 amstream_test.rc:
 	echo \"amstream_test.exe TESTRES \\\"amstream_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 amstream_test.res: amstream_test.rc amstream_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/amstream/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/amstream/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/amstream/tests/%) dlls/amstream/tests: dlls/amstream/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/amstream/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/amstream/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/amstream/tests/%) dlls/amstream/tests: dlls/amstream/tests/Makefile \$(MAKEDEP)
 dlls/amstream/tests/Makefile: dlls/amstream/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/amstream/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/appwiz.cpl dlls/appwiz.cpl/__install__ dlls/appwiz.cpl/__install-lib__ dlls/appwiz.cpl/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/appwiz.cpl"
-test "x$enable_appwiz_cpl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/appwiz.cpl"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/appwiz.cpl/%) dlls/appwiz.cpl: dlls/appwiz.cpl/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/appwiz.cpl dlls/appwiz.cpl/__install__ dlls/appwiz.cpl/__install-lib__ dlls/appwiz.cpl/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/appwiz.cpl"
+test "x$enable_appwiz_cpl" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/appwiz.cpl"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/appwiz.cpl/%) dlls/appwiz.cpl: dlls/appwiz.cpl/Makefile \$(MAKEDEP)
 dlls/appwiz.cpl/Makefile: dlls/appwiz.cpl/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/appwiz.cpl/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/atl/libatl.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/atl/libatl.$IMPLIBEXT dlls/atl/libatl.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/atl/libatl.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/atl/libatl.$IMPLIBEXT dlls/atl/libatl.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/atl/libatl.$IMPLIBEXT dlls/atl/libatl.cross.a: dlls/atl/atl.spec dlls/atl/Makefile
 	@cd dlls/atl && \$(MAKE) \`basename \$@\`
 dlls/atl dlls/atl/__install__ dlls/atl/__install-lib__ dlls/atl/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/atl"
-test "x$enable_atl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/atl"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/atl/%) dlls/atl: dlls/atl/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/atl"
+test "x$enable_atl" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/atl"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/atl/%) dlls/atl: dlls/atl/Makefile \$(MAKEDEP)
 dlls/atl/Makefile: dlls/atl/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/atl/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/authz dlls/authz/__install__ dlls/authz/__install-lib__ dlls/authz/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/authz"
-test "x$enable_authz" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/authz"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/authz/%) dlls/authz: dlls/authz/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/authz dlls/authz/__install__ dlls/authz/__install-lib__ dlls/authz/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/authz"
+test "x$enable_authz" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/authz"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/authz/%) dlls/authz: dlls/authz/Makefile \$(MAKEDEP)
 dlls/authz/Makefile: dlls/authz/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/authz/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/avicap32/libavicap32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/avicap32/libavicap32.$IMPLIBEXT dlls/avicap32/libavicap32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/avicap32/libavicap32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/avicap32/libavicap32.$IMPLIBEXT dlls/avicap32/libavicap32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/avicap32/libavicap32.$IMPLIBEXT dlls/avicap32/libavicap32.cross.a: dlls/avicap32/avicap32.spec dlls/avicap32/Makefile
 	@cd dlls/avicap32 && \$(MAKE) \`basename \$@\`
 dlls/avicap32 dlls/avicap32/__install__ dlls/avicap32/__install-lib__ dlls/avicap32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/avicap32"
-test "x$enable_avicap32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/avicap32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/avicap32/%) dlls/avicap32: dlls/avicap32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/avicap32"
+test "x$enable_avicap32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/avicap32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/avicap32/%) dlls/avicap32: dlls/avicap32/Makefile \$(MAKEDEP)
 dlls/avicap32/Makefile: dlls/avicap32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/avifil32/libavifil32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/avifil32/libavifil32.$IMPLIBEXT dlls/avifil32/libavifil32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/avifil32/libavifil32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/avifil32/libavifil32.$IMPLIBEXT dlls/avifil32/libavifil32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/avifil32/libavifil32.$IMPLIBEXT dlls/avifil32/libavifil32.cross.a: dlls/avifil32/avifil32.spec dlls/avifil32/Makefile
 	@cd dlls/avifil32 && \$(MAKE) \`basename \$@\`
 dlls/avifil32 dlls/avifil32/__install__ dlls/avifil32/__install-lib__ dlls/avifil32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/avifil32"
-test "x$enable_avifil32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/avifil32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/avifil32/%) dlls/avifil32: dlls/avifil32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/avifil32"
+test "x$enable_avifil32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/avifil32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/avifil32/%) dlls/avifil32: dlls/avifil32/Makefile \$(MAKEDEP)
 dlls/avifil32/Makefile: dlls/avifil32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/avifil32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/avifil32/tests: __builddeps__
 dlls/avifil32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	avifil32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-avifil32_test.exe: \$(TOPOBJDIR)/dlls/avifil32/tests/avifil32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "avifil32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "avifil32_test.exe: \$(TOPOBJDIR)/dlls/avifil32/tests/avifil32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/avifil32/tests/avifil32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 avifil32_test.rc:
 	echo \"avifil32_test.exe TESTRES \\\"avifil32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 avifil32_test.res: avifil32_test.rc avifil32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/avifil32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/avifil32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/avifil32/tests/%) dlls/avifil32/tests: dlls/avifil32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/avifil32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/avifil32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/avifil32/tests/%) dlls/avifil32/tests: dlls/avifil32/tests/Makefile \$(MAKEDEP)
 dlls/avifil32/tests/Makefile: dlls/avifil32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/avifil32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/avifile.dll16 dlls/avifile.dll16/__install__ dlls/avifile.dll16/__install-lib__ dlls/avifile.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/avifile.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/avifile.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/avifile.dll16/%) dlls/avifile.dll16: dlls/avifile.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/avifile.dll16 dlls/avifile.dll16/__install__ dlls/avifile.dll16/__install-lib__ dlls/avifile.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/avifile.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/avifile.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/avifile.dll16/%) dlls/avifile.dll16: dlls/avifile.dll16/Makefile \$(MAKEDEP)
 dlls/avifile.dll16/Makefile: dlls/avifile.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/avifile.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/avrt/libavrt.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/avrt/libavrt.$IMPLIBEXT dlls/avrt/libavrt.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/avrt/libavrt.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/avrt/libavrt.$IMPLIBEXT dlls/avrt/libavrt.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/avrt/libavrt.$IMPLIBEXT dlls/avrt/libavrt.cross.a: dlls/avrt/avrt.spec dlls/avrt/Makefile
 	@cd dlls/avrt && \$(MAKE) \`basename \$@\`
 dlls/avrt dlls/avrt/__install__ dlls/avrt/__install-lib__ dlls/avrt/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/avrt"
-test "x$enable_avrt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/avrt"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/avrt/%) dlls/avrt: dlls/avrt/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/avrt"
+test "x$enable_avrt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/avrt"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/avrt/%) dlls/avrt: dlls/avrt/Makefile \$(MAKEDEP)
 dlls/avrt/Makefile: dlls/avrt/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/avrt/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/bcrypt dlls/bcrypt/__install__ dlls/bcrypt/__install-lib__ dlls/bcrypt/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/bcrypt"
-test "x$enable_bcrypt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/bcrypt"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/bcrypt/%) dlls/bcrypt: dlls/bcrypt/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/bcrypt dlls/bcrypt/__install__ dlls/bcrypt/__install-lib__ dlls/bcrypt/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/bcrypt"
+test "x$enable_bcrypt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/bcrypt"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/bcrypt/%) dlls/bcrypt: dlls/bcrypt/Makefile \$(MAKEDEP)
 dlls/bcrypt/Makefile: dlls/bcrypt/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/bcrypt/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/browseui dlls/browseui/__install__ dlls/browseui/__install-lib__ dlls/browseui/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/browseui"
-test "x$enable_browseui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/browseui"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/browseui/%) dlls/browseui: dlls/browseui/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/browseui dlls/browseui/__install__ dlls/browseui/__install-lib__ dlls/browseui/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/browseui"
+test "x$enable_browseui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/browseui"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/browseui/%) dlls/browseui: dlls/browseui/Makefile \$(MAKEDEP)
 dlls/browseui/Makefile: dlls/browseui/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/browseui/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/browseui/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/browseui/tests: __builddeps__
 dlls/browseui/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	browseui_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-browseui_test.exe: \$(TOPOBJDIR)/dlls/browseui/tests/browseui_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "browseui_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "browseui_test.exe: \$(TOPOBJDIR)/dlls/browseui/tests/browseui_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/browseui/tests/browseui_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 browseui_test.rc:
 	echo \"browseui_test.exe TESTRES \\\"browseui_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 browseui_test.res: browseui_test.rc browseui_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/browseui/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/browseui/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/browseui/tests/%) dlls/browseui/tests: dlls/browseui/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/browseui/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/browseui/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/browseui/tests/%) dlls/browseui/tests: dlls/browseui/tests/Makefile \$(MAKEDEP)
 dlls/browseui/tests/Makefile: dlls/browseui/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/cabinet/libcabinet.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cabinet/libcabinet.$IMPLIBEXT dlls/cabinet/libcabinet.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/cabinet/libcabinet.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cabinet/libcabinet.$IMPLIBEXT dlls/cabinet/libcabinet.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/cabinet/libcabinet.$IMPLIBEXT dlls/cabinet/libcabinet.cross.a: dlls/cabinet/cabinet.spec dlls/cabinet/Makefile
 	@cd dlls/cabinet && \$(MAKE) \`basename \$@\`
 dlls/cabinet dlls/cabinet/__install__ dlls/cabinet/__install-lib__ dlls/cabinet/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cabinet"
-test "x$enable_cabinet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/cabinet"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cabinet/%) dlls/cabinet: dlls/cabinet/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/cabinet"
+test "x$enable_cabinet" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cabinet"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cabinet/%) dlls/cabinet: dlls/cabinet/Makefile \$(MAKEDEP)
 dlls/cabinet/Makefile: dlls/cabinet/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cabinet/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cabinet/tests: __builddeps__
 dlls/cabinet/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	cabinet_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-cabinet_test.exe: \$(TOPOBJDIR)/dlls/cabinet/tests/cabinet_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "cabinet_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "cabinet_test.exe: \$(TOPOBJDIR)/dlls/cabinet/tests/cabinet_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/cabinet/tests/cabinet_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 cabinet_test.rc:
 	echo \"cabinet_test.exe TESTRES \\\"cabinet_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 cabinet_test.res: cabinet_test.rc cabinet_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cabinet/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/cabinet/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cabinet/tests/%) dlls/cabinet/tests: dlls/cabinet/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/cabinet/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/cabinet/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cabinet/tests/%) dlls/cabinet/tests: dlls/cabinet/tests/Makefile \$(MAKEDEP)
 dlls/cabinet/tests/Makefile: dlls/cabinet/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/capi2032/libcapi2032.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/capi2032/libcapi2032.$IMPLIBEXT dlls/capi2032/libcapi2032.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/capi2032/libcapi2032.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/capi2032/libcapi2032.$IMPLIBEXT dlls/capi2032/libcapi2032.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/capi2032/libcapi2032.$IMPLIBEXT dlls/capi2032/libcapi2032.cross.a: dlls/capi2032/capi2032.spec dlls/capi2032/Makefile
 	@cd dlls/capi2032 && \$(MAKE) \`basename \$@\`
 dlls/capi2032 dlls/capi2032/__install__ dlls/capi2032/__install-lib__ dlls/capi2032/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/capi2032"
-test "x$enable_capi2032" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/capi2032"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/capi2032/%) dlls/capi2032: dlls/capi2032/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/capi2032"
+test "x$enable_capi2032" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/capi2032"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/capi2032/%) dlls/capi2032: dlls/capi2032/Makefile \$(MAKEDEP)
 dlls/capi2032/Makefile: dlls/capi2032/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/cards/libcards.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cards/libcards.$IMPLIBEXT dlls/cards/libcards.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/cards/libcards.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cards/libcards.$IMPLIBEXT dlls/cards/libcards.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/cards/libcards.$IMPLIBEXT dlls/cards/libcards.cross.a: dlls/cards/cards.spec dlls/cards/Makefile
 	@cd dlls/cards && \$(MAKE) \`basename \$@\`
 dlls/cards dlls/cards/__install__ dlls/cards/__install-lib__ dlls/cards/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cards"
-test "x$enable_cards" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/cards"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cards/%) dlls/cards: dlls/cards/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/cards"
+test "x$enable_cards" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cards"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cards/%) dlls/cards: dlls/cards/Makefile \$(MAKEDEP)
 dlls/cards/Makefile: dlls/cards/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/cards/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/cfgmgr32/libcfgmgr32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cfgmgr32/libcfgmgr32.$IMPLIBEXT dlls/cfgmgr32/libcfgmgr32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/cfgmgr32/libcfgmgr32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cfgmgr32/libcfgmgr32.$IMPLIBEXT dlls/cfgmgr32/libcfgmgr32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/cfgmgr32/libcfgmgr32.$IMPLIBEXT dlls/cfgmgr32/libcfgmgr32.cross.a: dlls/cfgmgr32/cfgmgr32.spec dlls/cfgmgr32/Makefile
 	@cd dlls/cfgmgr32 && \$(MAKE) \`basename \$@\`
 dlls/cfgmgr32 dlls/cfgmgr32/__install__ dlls/cfgmgr32/__install-lib__ dlls/cfgmgr32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cfgmgr32"
-test "x$enable_cfgmgr32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/cfgmgr32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cfgmgr32/%) dlls/cfgmgr32: dlls/cfgmgr32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/cfgmgr32"
+test "x$enable_cfgmgr32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cfgmgr32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cfgmgr32/%) dlls/cfgmgr32: dlls/cfgmgr32/Makefile \$(MAKEDEP)
 dlls/cfgmgr32/Makefile: dlls/cfgmgr32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/clusapi/libclusapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/clusapi/libclusapi.$IMPLIBEXT dlls/clusapi/libclusapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/clusapi/libclusapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/clusapi/libclusapi.$IMPLIBEXT dlls/clusapi/libclusapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/clusapi/libclusapi.$IMPLIBEXT dlls/clusapi/libclusapi.cross.a: dlls/clusapi/clusapi.spec dlls/clusapi/Makefile
 	@cd dlls/clusapi && \$(MAKE) \`basename \$@\`
 dlls/clusapi dlls/clusapi/__install__ dlls/clusapi/__install-lib__ dlls/clusapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/clusapi"
-test "x$enable_clusapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/clusapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/clusapi/%) dlls/clusapi: dlls/clusapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/clusapi"
+test "x$enable_clusapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/clusapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/clusapi/%) dlls/clusapi: dlls/clusapi/Makefile \$(MAKEDEP)
 dlls/clusapi/Makefile: dlls/clusapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/comcat dlls/comcat/__install__ dlls/comcat/__install-lib__ dlls/comcat/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/comcat"
-test "x$enable_comcat" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/comcat"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/comcat/%) dlls/comcat: dlls/comcat/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comcat dlls/comcat/__install__ dlls/comcat/__install-lib__ dlls/comcat/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/comcat"
+test "x$enable_comcat" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/comcat"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/comcat/%) dlls/comcat: dlls/comcat/Makefile \$(MAKEDEP)
 dlls/comcat/Makefile: dlls/comcat/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/comcat/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/comcat/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comcat/tests: __builddeps__
 dlls/comcat/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	comcat_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-comcat_test.exe: \$(TOPOBJDIR)/dlls/comcat/tests/comcat_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "comcat_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "comcat_test.exe: \$(TOPOBJDIR)/dlls/comcat/tests/comcat_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/comcat/tests/comcat_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 comcat_test.rc:
 	echo \"comcat_test.exe TESTRES \\\"comcat_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 comcat_test.res: comcat_test.rc comcat_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/comcat/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/comcat/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/comcat/tests/%) dlls/comcat/tests: dlls/comcat/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/comcat/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/comcat/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/comcat/tests/%) dlls/comcat/tests: dlls/comcat/tests/Makefile \$(MAKEDEP)
 dlls/comcat/tests/Makefile: dlls/comcat/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/comctl32/libcomctl32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/comctl32/libcomctl32.$IMPLIBEXT dlls/comctl32/libcomctl32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/comctl32/libcomctl32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comctl32/libcomctl32.$IMPLIBEXT dlls/comctl32/libcomctl32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/comctl32/libcomctl32.$IMPLIBEXT dlls/comctl32/libcomctl32.cross.a: dlls/comctl32/comctl32.spec dlls/comctl32/Makefile
 	@cd dlls/comctl32 && \$(MAKE) \`basename \$@\`
 dlls/comctl32 dlls/comctl32/__install__ dlls/comctl32/__install-lib__ dlls/comctl32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/comctl32"
-test "x$enable_comctl32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/comctl32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/comctl32/%) dlls/comctl32: dlls/comctl32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/comctl32"
+test "x$enable_comctl32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/comctl32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/comctl32/%) dlls/comctl32: dlls/comctl32/Makefile \$(MAKEDEP)
 dlls/comctl32/Makefile: dlls/comctl32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/comctl32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comctl32/tests: __builddeps__
 dlls/comctl32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	comctl32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-comctl32_test.exe: \$(TOPOBJDIR)/dlls/comctl32/tests/comctl32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "comctl32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "comctl32_test.exe: \$(TOPOBJDIR)/dlls/comctl32/tests/comctl32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/comctl32/tests/comctl32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 comctl32_test.rc:
 	echo \"comctl32_test.exe TESTRES \\\"comctl32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 comctl32_test.res: comctl32_test.rc comctl32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/comctl32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/comctl32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/comctl32/tests/%) dlls/comctl32/tests: dlls/comctl32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/comctl32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/comctl32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/comctl32/tests/%) dlls/comctl32/tests: dlls/comctl32/tests/Makefile \$(MAKEDEP)
 dlls/comctl32/tests/Makefile: dlls/comctl32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/comdlg32/libcomdlg32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/comdlg32/libcomdlg32.$IMPLIBEXT dlls/comdlg32/libcomdlg32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/comdlg32/libcomdlg32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comdlg32/libcomdlg32.$IMPLIBEXT dlls/comdlg32/libcomdlg32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/comdlg32/libcomdlg32.$IMPLIBEXT dlls/comdlg32/libcomdlg32.cross.a: dlls/comdlg32/comdlg32.spec dlls/comdlg32/Makefile
 	@cd dlls/comdlg32 && \$(MAKE) \`basename \$@\`
 dlls/comdlg32 dlls/comdlg32/__install__ dlls/comdlg32/__install-lib__ dlls/comdlg32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/comdlg32"
-test "x$enable_comdlg32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/comdlg32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/comdlg32/%) dlls/comdlg32: dlls/comdlg32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/comdlg32"
+test "x$enable_comdlg32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/comdlg32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/comdlg32/%) dlls/comdlg32: dlls/comdlg32/Makefile \$(MAKEDEP)
 dlls/comdlg32/Makefile: dlls/comdlg32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/comdlg32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comdlg32/tests: __builddeps__
 dlls/comdlg32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	comdlg32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-comdlg32_test.exe: \$(TOPOBJDIR)/dlls/comdlg32/tests/comdlg32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "comdlg32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "comdlg32_test.exe: \$(TOPOBJDIR)/dlls/comdlg32/tests/comdlg32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/comdlg32/tests/comdlg32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 comdlg32_test.rc:
 	echo \"comdlg32_test.exe TESTRES \\\"comdlg32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 comdlg32_test.res: comdlg32_test.rc comdlg32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/comdlg32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/comdlg32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/comdlg32/tests/%) dlls/comdlg32/tests: dlls/comdlg32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/comdlg32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/comdlg32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/comdlg32/tests/%) dlls/comdlg32/tests: dlls/comdlg32/tests/Makefile \$(MAKEDEP)
 dlls/comdlg32/tests/Makefile: dlls/comdlg32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/comm.drv16 dlls/comm.drv16/__install__ dlls/comm.drv16/__install-lib__ dlls/comm.drv16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/comm.drv16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/comm.drv16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/comm.drv16/%) dlls/comm.drv16: dlls/comm.drv16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comm.drv16 dlls/comm.drv16/__install__ dlls/comm.drv16/__install-lib__ dlls/comm.drv16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/comm.drv16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/comm.drv16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/comm.drv16/%) dlls/comm.drv16: dlls/comm.drv16/Makefile \$(MAKEDEP)
 dlls/comm.drv16/Makefile: dlls/comm.drv16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/comm.drv16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/commdlg.dll16 dlls/commdlg.dll16/__install__ dlls/commdlg.dll16/__install-lib__ dlls/commdlg.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/commdlg.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/commdlg.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/commdlg.dll16/%) dlls/commdlg.dll16: dlls/commdlg.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/commdlg.dll16 dlls/commdlg.dll16/__install__ dlls/commdlg.dll16/__install-lib__ dlls/commdlg.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/commdlg.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/commdlg.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/commdlg.dll16/%) dlls/commdlg.dll16: dlls/commdlg.dll16/Makefile \$(MAKEDEP)
 dlls/commdlg.dll16/Makefile: dlls/commdlg.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/commdlg.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/compobj.dll16 dlls/compobj.dll16/__install__ dlls/compobj.dll16/__install-lib__ dlls/compobj.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/compobj.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/compobj.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/compobj.dll16/%) dlls/compobj.dll16: dlls/compobj.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/compobj.dll16 dlls/compobj.dll16/__install__ dlls/compobj.dll16/__install-lib__ dlls/compobj.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/compobj.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/compobj.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/compobj.dll16/%) dlls/compobj.dll16: dlls/compobj.dll16/Makefile \$(MAKEDEP)
 dlls/compobj.dll16/Makefile: dlls/compobj.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/compobj.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/compstui/libcompstui.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/compstui/libcompstui.$IMPLIBEXT dlls/compstui/libcompstui.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/compstui/libcompstui.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/compstui/libcompstui.$IMPLIBEXT dlls/compstui/libcompstui.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/compstui/libcompstui.$IMPLIBEXT dlls/compstui/libcompstui.cross.a: dlls/compstui/compstui.spec dlls/compstui/Makefile
 	@cd dlls/compstui && \$(MAKE) \`basename \$@\`
 dlls/compstui dlls/compstui/__install__ dlls/compstui/__install-lib__ dlls/compstui/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/compstui"
-test "x$enable_compstui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/compstui"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/compstui/%) dlls/compstui: dlls/compstui/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/compstui"
+test "x$enable_compstui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/compstui"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/compstui/%) dlls/compstui: dlls/compstui/Makefile \$(MAKEDEP)
 dlls/compstui/Makefile: dlls/compstui/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/compstui/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/credui/libcredui.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/credui/libcredui.$IMPLIBEXT dlls/credui/libcredui.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/credui/libcredui.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/credui/libcredui.$IMPLIBEXT dlls/credui/libcredui.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/credui/libcredui.$IMPLIBEXT dlls/credui/libcredui.cross.a: dlls/credui/credui.spec dlls/credui/Makefile
 	@cd dlls/credui && \$(MAKE) \`basename \$@\`
 dlls/credui dlls/credui/__install__ dlls/credui/__install-lib__ dlls/credui/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/credui"
-test "x$enable_credui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/credui"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/credui/%) dlls/credui: dlls/credui/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/credui"
+test "x$enable_credui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/credui"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/credui/%) dlls/credui: dlls/credui/Makefile \$(MAKEDEP)
 dlls/credui/Makefile: dlls/credui/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/credui/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/credui/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/credui/tests: __builddeps__
 dlls/credui/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	credui_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-credui_test.exe: \$(TOPOBJDIR)/dlls/credui/tests/credui_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "credui_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "credui_test.exe: \$(TOPOBJDIR)/dlls/credui/tests/credui_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/credui/tests/credui_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 credui_test.rc:
 	echo \"credui_test.exe TESTRES \\\"credui_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 credui_test.res: credui_test.rc credui_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/credui/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/credui/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/credui/tests/%) dlls/credui/tests: dlls/credui/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/credui/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/credui/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/credui/tests/%) dlls/credui/tests: dlls/credui/tests/Makefile \$(MAKEDEP)
 dlls/credui/tests/Makefile: dlls/credui/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/crtdll/libcrtdll.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/crtdll/libcrtdll.$IMPLIBEXT dlls/crtdll/libcrtdll.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/crtdll/libcrtdll.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/crtdll/libcrtdll.$IMPLIBEXT dlls/crtdll/libcrtdll.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/crtdll/libcrtdll.$IMPLIBEXT dlls/crtdll/libcrtdll.cross.a: dlls/crtdll/crtdll.spec dlls/crtdll/Makefile
 	@cd dlls/crtdll && \$(MAKE) \`basename \$@\`
 dlls/crtdll dlls/crtdll/__install__ dlls/crtdll/__install-lib__ dlls/crtdll/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/crtdll"
-test "x$enable_crtdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/crtdll"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/crtdll/%) dlls/crtdll: dlls/crtdll/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/crtdll"
+test "x$enable_crtdll" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/crtdll"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/crtdll/%) dlls/crtdll: dlls/crtdll/Makefile \$(MAKEDEP)
 dlls/crtdll/Makefile: dlls/crtdll/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/crypt32/libcrypt32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/crypt32/libcrypt32.$IMPLIBEXT dlls/crypt32/libcrypt32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/crypt32/libcrypt32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/crypt32/libcrypt32.$IMPLIBEXT dlls/crypt32/libcrypt32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/crypt32/libcrypt32.$IMPLIBEXT dlls/crypt32/libcrypt32.cross.a: dlls/crypt32/crypt32.spec dlls/crypt32/Makefile
 	@cd dlls/crypt32 && \$(MAKE) \`basename \$@\`
 dlls/crypt32 dlls/crypt32/__install__ dlls/crypt32/__install-lib__ dlls/crypt32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/crypt32"
-test "x$enable_crypt32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/crypt32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/crypt32/%) dlls/crypt32: dlls/crypt32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/crypt32"
+test "x$enable_crypt32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/crypt32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/crypt32/%) dlls/crypt32: dlls/crypt32/Makefile \$(MAKEDEP)
 dlls/crypt32/Makefile: dlls/crypt32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/crypt32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/crypt32/tests: __builddeps__
 dlls/crypt32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	crypt32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-crypt32_test.exe: \$(TOPOBJDIR)/dlls/crypt32/tests/crypt32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "crypt32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "crypt32_test.exe: \$(TOPOBJDIR)/dlls/crypt32/tests/crypt32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/crypt32/tests/crypt32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 crypt32_test.rc:
 	echo \"crypt32_test.exe TESTRES \\\"crypt32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 crypt32_test.res: crypt32_test.rc crypt32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/crypt32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/crypt32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/crypt32/tests/%) dlls/crypt32/tests: dlls/crypt32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/crypt32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/crypt32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/crypt32/tests/%) dlls/crypt32/tests: dlls/crypt32/tests/Makefile \$(MAKEDEP)
 dlls/crypt32/tests/Makefile: dlls/crypt32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cryptdlg dlls/cryptdlg/__install__ dlls/cryptdlg/__install-lib__ dlls/cryptdlg/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cryptdlg"
-test "x$enable_cryptdlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/cryptdlg"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cryptdlg/%) dlls/cryptdlg: dlls/cryptdlg/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptdlg dlls/cryptdlg/__install__ dlls/cryptdlg/__install-lib__ dlls/cryptdlg/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/cryptdlg"
+test "x$enable_cryptdlg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cryptdlg"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cryptdlg/%) dlls/cryptdlg: dlls/cryptdlg/Makefile \$(MAKEDEP)
 dlls/cryptdlg/Makefile: dlls/cryptdlg/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/cryptdll/libcryptdll.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cryptdll/libcryptdll.$IMPLIBEXT dlls/cryptdll/libcryptdll.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/cryptdll/libcryptdll.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptdll/libcryptdll.$IMPLIBEXT dlls/cryptdll/libcryptdll.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/cryptdll/libcryptdll.$IMPLIBEXT dlls/cryptdll/libcryptdll.cross.a: dlls/cryptdll/cryptdll.spec dlls/cryptdll/Makefile
 	@cd dlls/cryptdll && \$(MAKE) \`basename \$@\`
 dlls/cryptdll dlls/cryptdll/__install__ dlls/cryptdll/__install-lib__ dlls/cryptdll/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cryptdll"
-test "x$enable_cryptdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/cryptdll"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cryptdll/%) dlls/cryptdll: dlls/cryptdll/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/cryptdll"
+test "x$enable_cryptdll" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cryptdll"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cryptdll/%) dlls/cryptdll: dlls/cryptdll/Makefile \$(MAKEDEP)
 dlls/cryptdll/Makefile: dlls/cryptdll/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/cryptnet/libcryptnet.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cryptnet/libcryptnet.$IMPLIBEXT dlls/cryptnet/libcryptnet.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/cryptnet/libcryptnet.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptnet/libcryptnet.$IMPLIBEXT dlls/cryptnet/libcryptnet.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/cryptnet/libcryptnet.$IMPLIBEXT dlls/cryptnet/libcryptnet.cross.a: dlls/cryptnet/cryptnet.spec dlls/cryptnet/Makefile
 	@cd dlls/cryptnet && \$(MAKE) \`basename \$@\`
 dlls/cryptnet dlls/cryptnet/__install__ dlls/cryptnet/__install-lib__ dlls/cryptnet/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cryptnet"
-test "x$enable_cryptnet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/cryptnet"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cryptnet/%) dlls/cryptnet: dlls/cryptnet/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/cryptnet"
+test "x$enable_cryptnet" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cryptnet"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cryptnet/%) dlls/cryptnet: dlls/cryptnet/Makefile \$(MAKEDEP)
 dlls/cryptnet/Makefile: dlls/cryptnet/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cryptnet/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptnet/tests: __builddeps__
 dlls/cryptnet/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	cryptnet_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-cryptnet_test.exe: \$(TOPOBJDIR)/dlls/cryptnet/tests/cryptnet_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "cryptnet_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "cryptnet_test.exe: \$(TOPOBJDIR)/dlls/cryptnet/tests/cryptnet_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/cryptnet/tests/cryptnet_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 cryptnet_test.rc:
 	echo \"cryptnet_test.exe TESTRES \\\"cryptnet_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 cryptnet_test.res: cryptnet_test.rc cryptnet_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cryptnet/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/cryptnet/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cryptnet/tests/%) dlls/cryptnet/tests: dlls/cryptnet/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/cryptnet/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/cryptnet/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cryptnet/tests/%) dlls/cryptnet/tests: dlls/cryptnet/tests/Makefile \$(MAKEDEP)
 dlls/cryptnet/tests/Makefile: dlls/cryptnet/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/cryptui/libcryptui.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cryptui/libcryptui.$IMPLIBEXT dlls/cryptui/libcryptui.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/cryptui/libcryptui.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptui/libcryptui.$IMPLIBEXT dlls/cryptui/libcryptui.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/cryptui/libcryptui.$IMPLIBEXT dlls/cryptui/libcryptui.cross.a: dlls/cryptui/cryptui.spec dlls/cryptui/Makefile
 	@cd dlls/cryptui && \$(MAKE) \`basename \$@\`
 dlls/cryptui dlls/cryptui/__install__ dlls/cryptui/__install-lib__ dlls/cryptui/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cryptui"
-test "x$enable_cryptui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/cryptui"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cryptui/%) dlls/cryptui: dlls/cryptui/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/cryptui"
+test "x$enable_cryptui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cryptui"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cryptui/%) dlls/cryptui: dlls/cryptui/Makefile \$(MAKEDEP)
 dlls/cryptui/Makefile: dlls/cryptui/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/cryptui/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptui/tests: __builddeps__
 dlls/cryptui/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	cryptui_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-cryptui_test.exe: \$(TOPOBJDIR)/dlls/cryptui/tests/cryptui_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "cryptui_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "cryptui_test.exe: \$(TOPOBJDIR)/dlls/cryptui/tests/cryptui_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/cryptui/tests/cryptui_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 cryptui_test.rc:
 	echo \"cryptui_test.exe TESTRES \\\"cryptui_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 cryptui_test.res: cryptui_test.rc cryptui_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/cryptui/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/cryptui/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/cryptui/tests/%) dlls/cryptui/tests: dlls/cryptui/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/cryptui/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/cryptui/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/cryptui/tests/%) dlls/cryptui/tests: dlls/cryptui/tests/Makefile \$(MAKEDEP)
 dlls/cryptui/tests/Makefile: dlls/cryptui/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/cryptui/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ctapi32 dlls/ctapi32/__install__ dlls/ctapi32/__install-lib__ dlls/ctapi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ctapi32"
-test "x$enable_ctapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ctapi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ctapi32/%) dlls/ctapi32: dlls/ctapi32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ctapi32 dlls/ctapi32/__install__ dlls/ctapi32/__install-lib__ dlls/ctapi32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ctapi32"
+test "x$enable_ctapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ctapi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ctapi32/%) dlls/ctapi32: dlls/ctapi32/Makefile \$(MAKEDEP)
 dlls/ctapi32/Makefile: dlls/ctapi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ctl3d.dll16 dlls/ctl3d.dll16/__install__ dlls/ctl3d.dll16/__install-lib__ dlls/ctl3d.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ctl3d.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ctl3d.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ctl3d.dll16/%) dlls/ctl3d.dll16: dlls/ctl3d.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ctl3d.dll16 dlls/ctl3d.dll16/__install__ dlls/ctl3d.dll16/__install-lib__ dlls/ctl3d.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ctl3d.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ctl3d.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ctl3d.dll16/%) dlls/ctl3d.dll16: dlls/ctl3d.dll16/Makefile \$(MAKEDEP)
 dlls/ctl3d.dll16/Makefile: dlls/ctl3d.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ctl3d.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/ctl3d32/libctl3d32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ctl3d32/libctl3d32.$IMPLIBEXT dlls/ctl3d32/libctl3d32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/ctl3d32/libctl3d32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ctl3d32/libctl3d32.$IMPLIBEXT dlls/ctl3d32/libctl3d32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/ctl3d32/libctl3d32.$IMPLIBEXT dlls/ctl3d32/libctl3d32.cross.a: dlls/ctl3d32/ctl3d32.spec dlls/ctl3d32/Makefile
 	@cd dlls/ctl3d32 && \$(MAKE) \`basename \$@\`
 dlls/ctl3d32 dlls/ctl3d32/__install__ dlls/ctl3d32/__install-lib__ dlls/ctl3d32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ctl3d32"
-test "x$enable_ctl3d32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ctl3d32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ctl3d32/%) dlls/ctl3d32: dlls/ctl3d32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ctl3d32"
+test "x$enable_ctl3d32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ctl3d32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ctl3d32/%) dlls/ctl3d32: dlls/ctl3d32/Makefile \$(MAKEDEP)
 dlls/ctl3d32/Makefile: dlls/ctl3d32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ctl3dv2.dll16 dlls/ctl3dv2.dll16/__install__ dlls/ctl3dv2.dll16/__install-lib__ dlls/ctl3dv2.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ctl3dv2.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ctl3dv2.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ctl3dv2.dll16/%) dlls/ctl3dv2.dll16: dlls/ctl3dv2.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ctl3dv2.dll16 dlls/ctl3dv2.dll16/__install__ dlls/ctl3dv2.dll16/__install-lib__ dlls/ctl3dv2.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ctl3dv2.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ctl3dv2.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ctl3dv2.dll16/%) dlls/ctl3dv2.dll16: dlls/ctl3dv2.dll16/Makefile \$(MAKEDEP)
 dlls/ctl3dv2.dll16/Makefile: dlls/ctl3dv2.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ctl3dv2.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/d3d10/libd3d10.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3d10/libd3d10.$IMPLIBEXT dlls/d3d10/libd3d10.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3d10/libd3d10.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d10/libd3d10.$IMPLIBEXT dlls/d3d10/libd3d10.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/d3d10/libd3d10.$IMPLIBEXT dlls/d3d10/libd3d10.cross.a: dlls/d3d10/d3d10.spec dlls/d3d10/Makefile
 	@cd dlls/d3d10 && \$(MAKE) \`basename \$@\`
 dlls/d3d10 dlls/d3d10/__install__ dlls/d3d10/__install-lib__ dlls/d3d10/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3d10"
-test "x$enable_d3d10" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3d10"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3d10/%) dlls/d3d10: dlls/d3d10/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3d10"
+test "x$enable_d3d10" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3d10"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3d10/%) dlls/d3d10: dlls/d3d10/Makefile \$(MAKEDEP)
 dlls/d3d10/Makefile: dlls/d3d10/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3d10/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d10/tests: __builddeps__
 dlls/d3d10/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	d3d10_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-d3d10_test.exe: \$(TOPOBJDIR)/dlls/d3d10/tests/d3d10_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "d3d10_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "d3d10_test.exe: \$(TOPOBJDIR)/dlls/d3d10/tests/d3d10_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/d3d10/tests/d3d10_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 d3d10_test.rc:
 	echo \"d3d10_test.exe TESTRES \\\"d3d10_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 d3d10_test.res: d3d10_test.rc d3d10_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3d10/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/d3d10/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3d10/tests/%) dlls/d3d10/tests: dlls/d3d10/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3d10/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3d10/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3d10/tests/%) dlls/d3d10/tests: dlls/d3d10/tests/Makefile \$(MAKEDEP)
 dlls/d3d10/tests/Makefile: dlls/d3d10/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/d3d10/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/d3d10core/libd3d10core.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3d10core/libd3d10core.$IMPLIBEXT dlls/d3d10core/libd3d10core.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3d10core/libd3d10core.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d10core/libd3d10core.$IMPLIBEXT dlls/d3d10core/libd3d10core.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/d3d10core/libd3d10core.$IMPLIBEXT dlls/d3d10core/libd3d10core.cross.a: dlls/d3d10core/d3d10core.spec dlls/d3d10core/Makefile
 	@cd dlls/d3d10core && \$(MAKE) \`basename \$@\`
 dlls/d3d10core dlls/d3d10core/__install__ dlls/d3d10core/__install-lib__ dlls/d3d10core/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3d10core"
-test "x$enable_d3d10core" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3d10core"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3d10core/%) dlls/d3d10core: dlls/d3d10core/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3d10core"
+test "x$enable_d3d10core" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3d10core"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3d10core/%) dlls/d3d10core: dlls/d3d10core/Makefile \$(MAKEDEP)
 dlls/d3d10core/Makefile: dlls/d3d10core/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3d10core/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3d10core/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d10core/tests: __builddeps__
 dlls/d3d10core/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	d3d10core_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-d3d10core_test.exe: \$(TOPOBJDIR)/dlls/d3d10core/tests/d3d10core_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "d3d10core_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "d3d10core_test.exe: \$(TOPOBJDIR)/dlls/d3d10core/tests/d3d10core_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/d3d10core/tests/d3d10core_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 d3d10core_test.rc:
 	echo \"d3d10core_test.exe TESTRES \\\"d3d10core_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 d3d10core_test.res: d3d10core_test.rc d3d10core_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3d10core/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/d3d10core/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3d10core/tests/%) dlls/d3d10core/tests: dlls/d3d10core/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3d10core/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3d10core/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3d10core/tests/%) dlls/d3d10core/tests: dlls/d3d10core/tests/Makefile \$(MAKEDEP)
 dlls/d3d10core/tests/Makefile: dlls/d3d10core/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/d3d10core/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/d3d8/libd3d8.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3d8/libd3d8.$IMPLIBEXT dlls/d3d8/libd3d8.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3d8/libd3d8.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d8/libd3d8.$IMPLIBEXT dlls/d3d8/libd3d8.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/d3d8/libd3d8.$IMPLIBEXT dlls/d3d8/libd3d8.cross.a: dlls/d3d8/d3d8.spec dlls/d3d8/Makefile
 	@cd dlls/d3d8 && \$(MAKE) \`basename \$@\`
 dlls/d3d8 dlls/d3d8/__install__ dlls/d3d8/__install-lib__ dlls/d3d8/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3d8"
-test "x$enable_d3d8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3d8"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3d8/%) dlls/d3d8: dlls/d3d8/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3d8"
+test "x$enable_d3d8" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3d8"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3d8/%) dlls/d3d8: dlls/d3d8/Makefile \$(MAKEDEP)
 dlls/d3d8/Makefile: dlls/d3d8/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3d8/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d8/tests: __builddeps__
 dlls/d3d8/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	d3d8_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-d3d8_test.exe: \$(TOPOBJDIR)/dlls/d3d8/tests/d3d8_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "d3d8_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "d3d8_test.exe: \$(TOPOBJDIR)/dlls/d3d8/tests/d3d8_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/d3d8/tests/d3d8_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 d3d8_test.rc:
 	echo \"d3d8_test.exe TESTRES \\\"d3d8_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 d3d8_test.res: d3d8_test.rc d3d8_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3d8/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/d3d8/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3d8/tests/%) dlls/d3d8/tests: dlls/d3d8/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3d8/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3d8/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3d8/tests/%) dlls/d3d8/tests: dlls/d3d8/tests/Makefile \$(MAKEDEP)
 dlls/d3d8/tests/Makefile: dlls/d3d8/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/d3d9/libd3d9.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3d9/libd3d9.$IMPLIBEXT dlls/d3d9/libd3d9.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3d9/libd3d9.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d9/libd3d9.$IMPLIBEXT dlls/d3d9/libd3d9.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/d3d9/libd3d9.$IMPLIBEXT dlls/d3d9/libd3d9.cross.a: dlls/d3d9/d3d9.spec dlls/d3d9/Makefile
 	@cd dlls/d3d9 && \$(MAKE) \`basename \$@\`
 dlls/d3d9 dlls/d3d9/__install__ dlls/d3d9/__install-lib__ dlls/d3d9/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3d9"
-test "x$enable_d3d9" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3d9"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3d9/%) dlls/d3d9: dlls/d3d9/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3d9"
+test "x$enable_d3d9" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3d9"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3d9/%) dlls/d3d9: dlls/d3d9/Makefile \$(MAKEDEP)
 dlls/d3d9/Makefile: dlls/d3d9/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3d9/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d9/tests: __builddeps__
 dlls/d3d9/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	d3d9_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-d3d9_test.exe: \$(TOPOBJDIR)/dlls/d3d9/tests/d3d9_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "d3d9_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "d3d9_test.exe: \$(TOPOBJDIR)/dlls/d3d9/tests/d3d9_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/d3d9/tests/d3d9_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 d3d9_test.rc:
 	echo \"d3d9_test.exe TESTRES \\\"d3d9_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 d3d9_test.res: d3d9_test.rc d3d9_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3d9/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/d3d9/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3d9/tests/%) dlls/d3d9/tests: dlls/d3d9/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3d9/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3d9/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3d9/tests/%) dlls/d3d9/tests: dlls/d3d9/tests/Makefile \$(MAKEDEP)
 dlls/d3d9/tests/Makefile: dlls/d3d9/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/d3dim/libd3dim.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dim/libd3dim.$IMPLIBEXT dlls/d3dim/libd3dim.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3dim/libd3dim.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dim/libd3dim.$IMPLIBEXT dlls/d3dim/libd3dim.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/d3dim/libd3dim.$IMPLIBEXT dlls/d3dim/libd3dim.cross.a: dlls/d3dim/d3dim.spec dlls/d3dim/Makefile
 	@cd dlls/d3dim && \$(MAKE) \`basename \$@\`
 dlls/d3dim dlls/d3dim/__install__ dlls/d3dim/__install-lib__ dlls/d3dim/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dim"
-test "x$enable_d3dim" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dim"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dim/%) dlls/d3dim: dlls/d3dim/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3dim"
+test "x$enable_d3dim" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dim"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dim/%) dlls/d3dim: dlls/d3dim/Makefile \$(MAKEDEP)
 dlls/d3dim/Makefile: dlls/d3dim/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/d3drm/libd3drm.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3drm/libd3drm.$IMPLIBEXT dlls/d3drm/libd3drm.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3drm/libd3drm.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3drm/libd3drm.$IMPLIBEXT dlls/d3drm/libd3drm.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/d3drm/libd3drm.$IMPLIBEXT dlls/d3drm/libd3drm.cross.a: dlls/d3drm/d3drm.spec dlls/d3drm/Makefile
 	@cd dlls/d3drm && \$(MAKE) \`basename \$@\`
 dlls/d3drm dlls/d3drm/__install__ dlls/d3drm/__install-lib__ dlls/d3drm/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3drm"
-test "x$enable_d3drm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3drm"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3drm/%) dlls/d3drm: dlls/d3drm/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3drm"
+test "x$enable_d3drm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3drm"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3drm/%) dlls/d3drm: dlls/d3drm/Makefile \$(MAKEDEP)
 dlls/d3drm/Makefile: dlls/d3drm/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3drm/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3drm/tests: __builddeps__
 dlls/d3drm/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	d3drm_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-d3drm_test.exe: \$(TOPOBJDIR)/dlls/d3drm/tests/d3drm_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "d3drm_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "d3drm_test.exe: \$(TOPOBJDIR)/dlls/d3drm/tests/d3drm_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/d3drm/tests/d3drm_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 d3drm_test.rc:
 	echo \"d3drm_test.exe TESTRES \\\"d3drm_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 d3drm_test.res: d3drm_test.rc d3drm_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3drm/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/d3drm/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3drm/tests/%) dlls/d3drm/tests: dlls/d3drm/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3drm/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3drm/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3drm/tests/%) dlls/d3drm/tests: dlls/d3drm/tests/Makefile \$(MAKEDEP)
 dlls/d3drm/tests/Makefile: dlls/d3drm/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_24 dlls/d3dx9_24/__install__ dlls/d3dx9_24/__install-lib__ dlls/d3dx9_24/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_24"
-test "x$enable_d3dx9_24" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_24"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_24/%) dlls/d3dx9_24: dlls/d3dx9_24/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_24 dlls/d3dx9_24/__install__ dlls/d3dx9_24/__install-lib__ dlls/d3dx9_24/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_24"
+test "x$enable_d3dx9_24" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_24"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_24/%) dlls/d3dx9_24: dlls/d3dx9_24/Makefile \$(MAKEDEP)
 dlls/d3dx9_24/Makefile: dlls/d3dx9_24/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_25 dlls/d3dx9_25/__install__ dlls/d3dx9_25/__install-lib__ dlls/d3dx9_25/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_25"
-test "x$enable_d3dx9_25" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_25"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_25/%) dlls/d3dx9_25: dlls/d3dx9_25/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_25 dlls/d3dx9_25/__install__ dlls/d3dx9_25/__install-lib__ dlls/d3dx9_25/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_25"
+test "x$enable_d3dx9_25" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_25"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_25/%) dlls/d3dx9_25: dlls/d3dx9_25/Makefile \$(MAKEDEP)
 dlls/d3dx9_25/Makefile: dlls/d3dx9_25/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_26 dlls/d3dx9_26/__install__ dlls/d3dx9_26/__install-lib__ dlls/d3dx9_26/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_26"
-test "x$enable_d3dx9_26" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_26"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_26/%) dlls/d3dx9_26: dlls/d3dx9_26/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_26 dlls/d3dx9_26/__install__ dlls/d3dx9_26/__install-lib__ dlls/d3dx9_26/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_26"
+test "x$enable_d3dx9_26" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_26"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_26/%) dlls/d3dx9_26: dlls/d3dx9_26/Makefile \$(MAKEDEP)
 dlls/d3dx9_26/Makefile: dlls/d3dx9_26/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_27 dlls/d3dx9_27/__install__ dlls/d3dx9_27/__install-lib__ dlls/d3dx9_27/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_27"
-test "x$enable_d3dx9_27" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_27"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_27/%) dlls/d3dx9_27: dlls/d3dx9_27/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_27 dlls/d3dx9_27/__install__ dlls/d3dx9_27/__install-lib__ dlls/d3dx9_27/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_27"
+test "x$enable_d3dx9_27" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_27"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_27/%) dlls/d3dx9_27: dlls/d3dx9_27/Makefile \$(MAKEDEP)
 dlls/d3dx9_27/Makefile: dlls/d3dx9_27/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_28 dlls/d3dx9_28/__install__ dlls/d3dx9_28/__install-lib__ dlls/d3dx9_28/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_28"
-test "x$enable_d3dx9_28" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_28"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_28/%) dlls/d3dx9_28: dlls/d3dx9_28/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_28 dlls/d3dx9_28/__install__ dlls/d3dx9_28/__install-lib__ dlls/d3dx9_28/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_28"
+test "x$enable_d3dx9_28" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_28"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_28/%) dlls/d3dx9_28: dlls/d3dx9_28/Makefile \$(MAKEDEP)
 dlls/d3dx9_28/Makefile: dlls/d3dx9_28/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_29 dlls/d3dx9_29/__install__ dlls/d3dx9_29/__install-lib__ dlls/d3dx9_29/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_29"
-test "x$enable_d3dx9_29" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_29"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_29/%) dlls/d3dx9_29: dlls/d3dx9_29/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_29 dlls/d3dx9_29/__install__ dlls/d3dx9_29/__install-lib__ dlls/d3dx9_29/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_29"
+test "x$enable_d3dx9_29" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_29"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_29/%) dlls/d3dx9_29: dlls/d3dx9_29/Makefile \$(MAKEDEP)
 dlls/d3dx9_29/Makefile: dlls/d3dx9_29/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_30 dlls/d3dx9_30/__install__ dlls/d3dx9_30/__install-lib__ dlls/d3dx9_30/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_30"
-test "x$enable_d3dx9_30" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_30"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_30/%) dlls/d3dx9_30: dlls/d3dx9_30/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_30 dlls/d3dx9_30/__install__ dlls/d3dx9_30/__install-lib__ dlls/d3dx9_30/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_30"
+test "x$enable_d3dx9_30" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_30"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_30/%) dlls/d3dx9_30: dlls/d3dx9_30/Makefile \$(MAKEDEP)
 dlls/d3dx9_30/Makefile: dlls/d3dx9_30/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_31 dlls/d3dx9_31/__install__ dlls/d3dx9_31/__install-lib__ dlls/d3dx9_31/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_31"
-test "x$enable_d3dx9_31" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_31"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_31/%) dlls/d3dx9_31: dlls/d3dx9_31/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_31 dlls/d3dx9_31/__install__ dlls/d3dx9_31/__install-lib__ dlls/d3dx9_31/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_31"
+test "x$enable_d3dx9_31" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_31"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_31/%) dlls/d3dx9_31: dlls/d3dx9_31/Makefile \$(MAKEDEP)
 dlls/d3dx9_31/Makefile: dlls/d3dx9_31/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_32 dlls/d3dx9_32/__install__ dlls/d3dx9_32/__install-lib__ dlls/d3dx9_32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_32"
-test "x$enable_d3dx9_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_32/%) dlls/d3dx9_32: dlls/d3dx9_32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_32 dlls/d3dx9_32/__install__ dlls/d3dx9_32/__install-lib__ dlls/d3dx9_32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_32"
+test "x$enable_d3dx9_32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_32/%) dlls/d3dx9_32: dlls/d3dx9_32/Makefile \$(MAKEDEP)
 dlls/d3dx9_32/Makefile: dlls/d3dx9_32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_33 dlls/d3dx9_33/__install__ dlls/d3dx9_33/__install-lib__ dlls/d3dx9_33/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_33"
-test "x$enable_d3dx9_33" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_33"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_33/%) dlls/d3dx9_33: dlls/d3dx9_33/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_33 dlls/d3dx9_33/__install__ dlls/d3dx9_33/__install-lib__ dlls/d3dx9_33/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_33"
+test "x$enable_d3dx9_33" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_33"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_33/%) dlls/d3dx9_33: dlls/d3dx9_33/Makefile \$(MAKEDEP)
 dlls/d3dx9_33/Makefile: dlls/d3dx9_33/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_34 dlls/d3dx9_34/__install__ dlls/d3dx9_34/__install-lib__ dlls/d3dx9_34/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_34"
-test "x$enable_d3dx9_34" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_34"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_34/%) dlls/d3dx9_34: dlls/d3dx9_34/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_34 dlls/d3dx9_34/__install__ dlls/d3dx9_34/__install-lib__ dlls/d3dx9_34/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_34"
+test "x$enable_d3dx9_34" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_34"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_34/%) dlls/d3dx9_34: dlls/d3dx9_34/Makefile \$(MAKEDEP)
 dlls/d3dx9_34/Makefile: dlls/d3dx9_34/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_35 dlls/d3dx9_35/__install__ dlls/d3dx9_35/__install-lib__ dlls/d3dx9_35/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_35"
-test "x$enable_d3dx9_35" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_35"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_35/%) dlls/d3dx9_35: dlls/d3dx9_35/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_35 dlls/d3dx9_35/__install__ dlls/d3dx9_35/__install-lib__ dlls/d3dx9_35/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_35"
+test "x$enable_d3dx9_35" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_35"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_35/%) dlls/d3dx9_35: dlls/d3dx9_35/Makefile \$(MAKEDEP)
 dlls/d3dx9_35/Makefile: dlls/d3dx9_35/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/d3dx9_36/libd3dx9.$IMPLIBEXT \\
-	dlls/libd3dx9.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_36/libd3dx9.$IMPLIBEXT dlls/d3dx9_36/libd3dx9.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3dx9_36/libd3dx9.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/libd3dx9.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_36/libd3dx9.$IMPLIBEXT dlls/d3dx9_36/libd3dx9.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/libd3dx9.$IMPLIBEXT: dlls/d3dx9_36/libd3dx9.$IMPLIBEXT
 	\$(RM) \$@ && \$(LN_S) d3dx9_36/libd3dx9.$IMPLIBEXT \$@
 dlls/libd3dx9.cross.a: dlls/d3dx9_36/libd3dx9.cross.a
@@ -14928,1507 +14546,1013 @@
 dlls/d3dx9_36/libd3dx9.$IMPLIBEXT dlls/d3dx9_36/libd3dx9.cross.a: dlls/d3dx9_36/d3dx9_36.spec dlls/d3dx9_36/Makefile
 	@cd dlls/d3dx9_36 && \$(MAKE) \`basename \$@\`
 dlls/d3dx9_36 dlls/d3dx9_36/__install__ dlls/d3dx9_36/__install-lib__ dlls/d3dx9_36/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_36"
-test "x$enable_d3dx9_36" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_36"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_36/%) dlls/d3dx9_36: dlls/d3dx9_36/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_36"
+test "x$enable_d3dx9_36" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_36"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_36/%) dlls/d3dx9_36: dlls/d3dx9_36/Makefile \$(MAKEDEP)
 dlls/d3dx9_36/Makefile: dlls/d3dx9_36/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_36/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_36/tests: __builddeps__
 dlls/d3dx9_36/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	d3dx9_36_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-d3dx9_36_test.exe: \$(TOPOBJDIR)/dlls/d3dx9_36/tests/d3dx9_36_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "d3dx9_36_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "d3dx9_36_test.exe: \$(TOPOBJDIR)/dlls/d3dx9_36/tests/d3dx9_36_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/d3dx9_36/tests/d3dx9_36_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 d3dx9_36_test.rc:
 	echo \"d3dx9_36_test.exe TESTRES \\\"d3dx9_36_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 d3dx9_36_test.res: d3dx9_36_test.rc d3dx9_36_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_36/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/d3dx9_36/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_36/tests/%) dlls/d3dx9_36/tests: dlls/d3dx9_36/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_36/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3dx9_36/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_36/tests/%) dlls/d3dx9_36/tests: dlls/d3dx9_36/tests/Makefile \$(MAKEDEP)
 dlls/d3dx9_36/tests/Makefile: dlls/d3dx9_36/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_37 dlls/d3dx9_37/__install__ dlls/d3dx9_37/__install-lib__ dlls/d3dx9_37/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_37"
-test "x$enable_d3dx9_37" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_37"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_37/%) dlls/d3dx9_37: dlls/d3dx9_37/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_37 dlls/d3dx9_37/__install__ dlls/d3dx9_37/__install-lib__ dlls/d3dx9_37/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_37"
+test "x$enable_d3dx9_37" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_37"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_37/%) dlls/d3dx9_37: dlls/d3dx9_37/Makefile \$(MAKEDEP)
 dlls/d3dx9_37/Makefile: dlls/d3dx9_37/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_38 dlls/d3dx9_38/__install__ dlls/d3dx9_38/__install-lib__ dlls/d3dx9_38/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_38"
-test "x$enable_d3dx9_38" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_38"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_38/%) dlls/d3dx9_38: dlls/d3dx9_38/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_38 dlls/d3dx9_38/__install__ dlls/d3dx9_38/__install-lib__ dlls/d3dx9_38/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_38"
+test "x$enable_d3dx9_38" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_38"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_38/%) dlls/d3dx9_38: dlls/d3dx9_38/Makefile \$(MAKEDEP)
 dlls/d3dx9_38/Makefile: dlls/d3dx9_38/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_38/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_39 dlls/d3dx9_39/__install__ dlls/d3dx9_39/__install-lib__ dlls/d3dx9_39/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_39"
-test "x$enable_d3dx9_39" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_39"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_39/%) dlls/d3dx9_39: dlls/d3dx9_39/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_39 dlls/d3dx9_39/__install__ dlls/d3dx9_39/__install-lib__ dlls/d3dx9_39/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_39"
+test "x$enable_d3dx9_39" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_39"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_39/%) dlls/d3dx9_39: dlls/d3dx9_39/Makefile \$(MAKEDEP)
 dlls/d3dx9_39/Makefile: dlls/d3dx9_39/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_39/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_40 dlls/d3dx9_40/__install__ dlls/d3dx9_40/__install-lib__ dlls/d3dx9_40/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_40"
-test "x$enable_d3dx9_40" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_40"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_40/%) dlls/d3dx9_40: dlls/d3dx9_40/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_40 dlls/d3dx9_40/__install__ dlls/d3dx9_40/__install-lib__ dlls/d3dx9_40/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_40"
+test "x$enable_d3dx9_40" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_40"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_40/%) dlls/d3dx9_40: dlls/d3dx9_40/Makefile \$(MAKEDEP)
 dlls/d3dx9_40/Makefile: dlls/d3dx9_40/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_40/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_41 dlls/d3dx9_41/__install__ dlls/d3dx9_41/__install-lib__ dlls/d3dx9_41/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_41"
-test "x$enable_d3dx9_41" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_41"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_41/%) dlls/d3dx9_41: dlls/d3dx9_41/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_41 dlls/d3dx9_41/__install__ dlls/d3dx9_41/__install-lib__ dlls/d3dx9_41/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_41"
+test "x$enable_d3dx9_41" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_41"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_41/%) dlls/d3dx9_41: dlls/d3dx9_41/Makefile \$(MAKEDEP)
 dlls/d3dx9_41/Makefile: dlls/d3dx9_41/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_41/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dx9_42 dlls/d3dx9_42/__install__ dlls/d3dx9_42/__install-lib__ dlls/d3dx9_42/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dx9_42"
-test "x$enable_d3dx9_42" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dx9_42"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dx9_42/%) dlls/d3dx9_42: dlls/d3dx9_42/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_42 dlls/d3dx9_42/__install__ dlls/d3dx9_42/__install-lib__ dlls/d3dx9_42/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/d3dx9_42"
+test "x$enable_d3dx9_42" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_42"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dx9_42/%) dlls/d3dx9_42: dlls/d3dx9_42/Makefile \$(MAKEDEP)
 dlls/d3dx9_42/Makefile: dlls/d3dx9_42/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dx9_42/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/d3dxof/libd3dxof.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dxof/libd3dxof.$IMPLIBEXT dlls/d3dxof/libd3dxof.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3dxof/libd3dxof.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dxof/libd3dxof.$IMPLIBEXT dlls/d3dxof/libd3dxof.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/d3dxof/libd3dxof.$IMPLIBEXT dlls/d3dxof/libd3dxof.cross.a: dlls/d3dxof/d3dxof.spec dlls/d3dxof/Makefile
 	@cd dlls/d3dxof && \$(MAKE) \`basename \$@\`
 dlls/d3dxof dlls/d3dxof/__install__ dlls/d3dxof/__install-lib__ dlls/d3dxof/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dxof"
-test "x$enable_d3dxof" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/d3dxof"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dxof/%) dlls/d3dxof: dlls/d3dxof/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3dxof"
+test "x$enable_d3dxof" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dxof"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dxof/%) dlls/d3dxof: dlls/d3dxof/Makefile \$(MAKEDEP)
 dlls/d3dxof/Makefile: dlls/d3dxof/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/d3dxof/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dxof/tests: __builddeps__
 dlls/d3dxof/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	d3dxof_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-d3dxof_test.exe: \$(TOPOBJDIR)/dlls/d3dxof/tests/d3dxof_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "d3dxof_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "d3dxof_test.exe: \$(TOPOBJDIR)/dlls/d3dxof/tests/d3dxof_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/d3dxof/tests/d3dxof_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 d3dxof_test.rc:
 	echo \"d3dxof_test.exe TESTRES \\\"d3dxof_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 d3dxof_test.res: d3dxof_test.rc d3dxof_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/d3dxof/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/d3dxof/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/d3dxof/tests/%) dlls/d3dxof/tests: dlls/d3dxof/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/d3dxof/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3dxof/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/d3dxof/tests/%) dlls/d3dxof/tests: dlls/d3dxof/tests/Makefile \$(MAKEDEP)
 dlls/d3dxof/tests/Makefile: dlls/d3dxof/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/d3dxof/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dbghelp/libdbghelp.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dbghelp/libdbghelp.$IMPLIBEXT dlls/dbghelp/libdbghelp.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dbghelp/libdbghelp.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dbghelp/libdbghelp.$IMPLIBEXT dlls/dbghelp/libdbghelp.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dbghelp/libdbghelp.$IMPLIBEXT dlls/dbghelp/libdbghelp.cross.a: dlls/dbghelp/dbghelp.spec dlls/dbghelp/Makefile
 	@cd dlls/dbghelp && \$(MAKE) \`basename \$@\`
 dlls/dbghelp dlls/dbghelp/__install__ dlls/dbghelp/__install-lib__ dlls/dbghelp/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dbghelp"
-test "x$enable_dbghelp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dbghelp"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dbghelp/%) dlls/dbghelp: dlls/dbghelp/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dbghelp"
+test "x$enable_dbghelp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dbghelp"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dbghelp/%) dlls/dbghelp: dlls/dbghelp/Makefile \$(MAKEDEP)
 dlls/dbghelp/Makefile: dlls/dbghelp/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dciman32/libdciman32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dciman32/libdciman32.$IMPLIBEXT dlls/dciman32/libdciman32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dciman32/libdciman32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dciman32/libdciman32.$IMPLIBEXT dlls/dciman32/libdciman32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dciman32/libdciman32.$IMPLIBEXT dlls/dciman32/libdciman32.cross.a: dlls/dciman32/dciman32.spec dlls/dciman32/Makefile
 	@cd dlls/dciman32 && \$(MAKE) \`basename \$@\`
 dlls/dciman32 dlls/dciman32/__install__ dlls/dciman32/__install-lib__ dlls/dciman32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dciman32"
-test "x$enable_dciman32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dciman32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dciman32/%) dlls/dciman32: dlls/dciman32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dciman32"
+test "x$enable_dciman32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dciman32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dciman32/%) dlls/dciman32: dlls/dciman32/Makefile \$(MAKEDEP)
 dlls/dciman32/Makefile: dlls/dciman32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ddeml.dll16 dlls/ddeml.dll16/__install__ dlls/ddeml.dll16/__install-lib__ dlls/ddeml.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ddeml.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ddeml.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ddeml.dll16/%) dlls/ddeml.dll16: dlls/ddeml.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ddeml.dll16 dlls/ddeml.dll16/__install__ dlls/ddeml.dll16/__install-lib__ dlls/ddeml.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ddeml.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ddeml.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ddeml.dll16/%) dlls/ddeml.dll16: dlls/ddeml.dll16/Makefile \$(MAKEDEP)
 dlls/ddeml.dll16/Makefile: dlls/ddeml.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ddeml.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/ddraw/libddraw.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ddraw/libddraw.$IMPLIBEXT dlls/ddraw/libddraw.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/ddraw/libddraw.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ddraw/libddraw.$IMPLIBEXT dlls/ddraw/libddraw.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/ddraw/libddraw.$IMPLIBEXT dlls/ddraw/libddraw.cross.a: dlls/ddraw/ddraw.spec dlls/ddraw/Makefile
 	@cd dlls/ddraw && \$(MAKE) \`basename \$@\`
 dlls/ddraw dlls/ddraw/__install__ dlls/ddraw/__install-lib__ dlls/ddraw/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ddraw"
-test "x$enable_ddraw" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ddraw"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ddraw/%) dlls/ddraw: dlls/ddraw/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ddraw"
+test "x$enable_ddraw" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ddraw"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ddraw/%) dlls/ddraw: dlls/ddraw/Makefile \$(MAKEDEP)
 dlls/ddraw/Makefile: dlls/ddraw/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ddraw/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ddraw/tests: __builddeps__
 dlls/ddraw/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	ddraw_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-ddraw_test.exe: \$(TOPOBJDIR)/dlls/ddraw/tests/ddraw_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "ddraw_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "ddraw_test.exe: \$(TOPOBJDIR)/dlls/ddraw/tests/ddraw_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/ddraw/tests/ddraw_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 ddraw_test.rc:
 	echo \"ddraw_test.exe TESTRES \\\"ddraw_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 ddraw_test.res: ddraw_test.rc ddraw_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ddraw/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/ddraw/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ddraw/tests/%) dlls/ddraw/tests: dlls/ddraw/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ddraw/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ddraw/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ddraw/tests/%) dlls/ddraw/tests: dlls/ddraw/tests/Makefile \$(MAKEDEP)
 dlls/ddraw/tests/Makefile: dlls/ddraw/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ddrawex dlls/ddrawex/__install__ dlls/ddrawex/__install-lib__ dlls/ddrawex/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ddrawex"
-test "x$enable_ddrawex" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ddrawex"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ddrawex/%) dlls/ddrawex: dlls/ddrawex/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ddrawex dlls/ddrawex/__install__ dlls/ddrawex/__install-lib__ dlls/ddrawex/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ddrawex"
+test "x$enable_ddrawex" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ddrawex"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ddrawex/%) dlls/ddrawex: dlls/ddrawex/Makefile \$(MAKEDEP)
 dlls/ddrawex/Makefile: dlls/ddrawex/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ddrawex/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ddrawex/tests: __builddeps__
 dlls/ddrawex/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	ddrawex_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-ddrawex_test.exe: \$(TOPOBJDIR)/dlls/ddrawex/tests/ddrawex_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "ddrawex_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "ddrawex_test.exe: \$(TOPOBJDIR)/dlls/ddrawex/tests/ddrawex_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/ddrawex/tests/ddrawex_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 ddrawex_test.rc:
 	echo \"ddrawex_test.exe TESTRES \\\"ddrawex_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 ddrawex_test.res: ddrawex_test.rc ddrawex_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ddrawex/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/ddrawex/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ddrawex/tests/%) dlls/ddrawex/tests: dlls/ddrawex/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ddrawex/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ddrawex/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ddrawex/tests/%) dlls/ddrawex/tests: dlls/ddrawex/tests/Makefile \$(MAKEDEP)
 dlls/ddrawex/tests/Makefile: dlls/ddrawex/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/ddrawex/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/devenum dlls/devenum/__install__ dlls/devenum/__install-lib__ dlls/devenum/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/devenum"
-test "x$enable_devenum" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/devenum"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/devenum/%) dlls/devenum: dlls/devenum/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/devenum dlls/devenum/__install__ dlls/devenum/__install-lib__ dlls/devenum/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/devenum"
+test "x$enable_devenum" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/devenum"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/devenum/%) dlls/devenum: dlls/devenum/Makefile \$(MAKEDEP)
 dlls/devenum/Makefile: dlls/devenum/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/devenum/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dinput/libdinput.$IMPLIBEXT \\
-	dlls/dinput/libdinput.$STATIC_IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dinput/libdinput.$IMPLIBEXT dlls/dinput/libdinput.$STATIC_IMPLIBEXT dlls/dinput/libdinput.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dinput/libdinput.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/dinput/libdinput.$STATIC_IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dinput/libdinput.$IMPLIBEXT dlls/dinput/libdinput.$STATIC_IMPLIBEXT dlls/dinput/libdinput.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dinput/libdinput.def: dlls/dinput/dinput.spec dlls/dinput/Makefile
 	@cd dlls/dinput && \$(MAKE) \`basename \$@\`
 dlls/dinput/libdinput.$STATIC_IMPLIBEXT dlls/dinput/libdinput.cross.a: dlls/dinput/Makefile dummy
 	@cd dlls/dinput && \$(MAKE) \`basename \$@\`
 dlls/dinput dlls/dinput/__install__ dlls/dinput/__install-lib__ dlls/dinput/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dinput"
-test "x$enable_dinput" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dinput"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dinput/%) dlls/dinput: dlls/dinput/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dinput"
+test "x$enable_dinput" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dinput"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dinput/%) dlls/dinput: dlls/dinput/Makefile \$(MAKEDEP)
 dlls/dinput/Makefile: dlls/dinput/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dinput/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dinput/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dinput/tests: __builddeps__
 dlls/dinput/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	dinput_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-dinput_test.exe: \$(TOPOBJDIR)/dlls/dinput/tests/dinput_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "dinput_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "dinput_test.exe: \$(TOPOBJDIR)/dlls/dinput/tests/dinput_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/dinput/tests/dinput_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 dinput_test.rc:
 	echo \"dinput_test.exe TESTRES \\\"dinput_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 dinput_test.res: dinput_test.rc dinput_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dinput/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/dinput/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dinput/tests/%) dlls/dinput/tests: dlls/dinput/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dinput/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dinput/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dinput/tests/%) dlls/dinput/tests: dlls/dinput/tests/Makefile \$(MAKEDEP)
 dlls/dinput/tests/Makefile: dlls/dinput/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dinput8/libdinput8.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dinput8/libdinput8.$IMPLIBEXT dlls/dinput8/libdinput8.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dinput8/libdinput8.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dinput8/libdinput8.$IMPLIBEXT dlls/dinput8/libdinput8.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dinput8/libdinput8.$IMPLIBEXT dlls/dinput8/libdinput8.cross.a: dlls/dinput8/dinput8.spec dlls/dinput8/Makefile
 	@cd dlls/dinput8 && \$(MAKE) \`basename \$@\`
 dlls/dinput8 dlls/dinput8/__install__ dlls/dinput8/__install-lib__ dlls/dinput8/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dinput8"
-test "x$enable_dinput8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dinput8"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dinput8/%) dlls/dinput8: dlls/dinput8/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dinput8"
+test "x$enable_dinput8" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dinput8"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dinput8/%) dlls/dinput8: dlls/dinput8/Makefile \$(MAKEDEP)
 dlls/dinput8/Makefile: dlls/dinput8/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dispdib.dll16 dlls/dispdib.dll16/__install__ dlls/dispdib.dll16/__install-lib__ dlls/dispdib.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dispdib.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dispdib.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dispdib.dll16/%) dlls/dispdib.dll16: dlls/dispdib.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dispdib.dll16 dlls/dispdib.dll16/__install__ dlls/dispdib.dll16/__install-lib__ dlls/dispdib.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dispdib.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dispdib.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dispdib.dll16/%) dlls/dispdib.dll16: dlls/dispdib.dll16/Makefile \$(MAKEDEP)
 dlls/dispdib.dll16/Makefile: dlls/dispdib.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dispdib.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/display.drv16 dlls/display.drv16/__install__ dlls/display.drv16/__install-lib__ dlls/display.drv16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/display.drv16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/display.drv16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/display.drv16/%) dlls/display.drv16: dlls/display.drv16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/display.drv16 dlls/display.drv16/__install__ dlls/display.drv16/__install-lib__ dlls/display.drv16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/display.drv16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/display.drv16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/display.drv16/%) dlls/display.drv16: dlls/display.drv16/Makefile \$(MAKEDEP)
 dlls/display.drv16/Makefile: dlls/display.drv16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/display.drv16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmband dlls/dmband/__install__ dlls/dmband/__install-lib__ dlls/dmband/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmband"
-test "x$enable_dmband" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dmband"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmband/%) dlls/dmband: dlls/dmband/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmband dlls/dmband/__install__ dlls/dmband/__install-lib__ dlls/dmband/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dmband"
+test "x$enable_dmband" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmband"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmband/%) dlls/dmband: dlls/dmband/Makefile \$(MAKEDEP)
 dlls/dmband/Makefile: dlls/dmband/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dmband/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmcompos dlls/dmcompos/__install__ dlls/dmcompos/__install-lib__ dlls/dmcompos/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmcompos"
-test "x$enable_dmcompos" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dmcompos"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmcompos/%) dlls/dmcompos: dlls/dmcompos/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmcompos dlls/dmcompos/__install__ dlls/dmcompos/__install-lib__ dlls/dmcompos/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dmcompos"
+test "x$enable_dmcompos" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmcompos"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmcompos/%) dlls/dmcompos: dlls/dmcompos/Makefile \$(MAKEDEP)
 dlls/dmcompos/Makefile: dlls/dmcompos/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmime dlls/dmime/__install__ dlls/dmime/__install-lib__ dlls/dmime/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmime"
-test "x$enable_dmime" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dmime"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmime/%) dlls/dmime: dlls/dmime/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmime dlls/dmime/__install__ dlls/dmime/__install-lib__ dlls/dmime/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dmime"
+test "x$enable_dmime" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmime"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmime/%) dlls/dmime: dlls/dmime/Makefile \$(MAKEDEP)
 dlls/dmime/Makefile: dlls/dmime/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dmime/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmloader dlls/dmloader/__install__ dlls/dmloader/__install-lib__ dlls/dmloader/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmloader"
-test "x$enable_dmloader" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dmloader"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmloader/%) dlls/dmloader: dlls/dmloader/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmloader dlls/dmloader/__install__ dlls/dmloader/__install-lib__ dlls/dmloader/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dmloader"
+test "x$enable_dmloader" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmloader"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmloader/%) dlls/dmloader: dlls/dmloader/Makefile \$(MAKEDEP)
 dlls/dmloader/Makefile: dlls/dmloader/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmloader/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmloader/tests: __builddeps__
 dlls/dmloader/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	dmloader_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-dmloader_test.exe: \$(TOPOBJDIR)/dlls/dmloader/tests/dmloader_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "dmloader_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "dmloader_test.exe: \$(TOPOBJDIR)/dlls/dmloader/tests/dmloader_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/dmloader/tests/dmloader_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 dmloader_test.rc:
 	echo \"dmloader_test.exe TESTRES \\\"dmloader_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 dmloader_test.res: dmloader_test.rc dmloader_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmloader/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/dmloader/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmloader/tests/%) dlls/dmloader/tests: dlls/dmloader/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dmloader/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dmloader/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmloader/tests/%) dlls/dmloader/tests: dlls/dmloader/tests/Makefile \$(MAKEDEP)
 dlls/dmloader/tests/Makefile: dlls/dmloader/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/dmloader/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmscript dlls/dmscript/__install__ dlls/dmscript/__install-lib__ dlls/dmscript/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmscript"
-test "x$enable_dmscript" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dmscript"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmscript/%) dlls/dmscript: dlls/dmscript/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmscript dlls/dmscript/__install__ dlls/dmscript/__install-lib__ dlls/dmscript/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dmscript"
+test "x$enable_dmscript" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmscript"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmscript/%) dlls/dmscript: dlls/dmscript/Makefile \$(MAKEDEP)
 dlls/dmscript/Makefile: dlls/dmscript/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmstyle dlls/dmstyle/__install__ dlls/dmstyle/__install-lib__ dlls/dmstyle/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmstyle"
-test "x$enable_dmstyle" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dmstyle"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmstyle/%) dlls/dmstyle: dlls/dmstyle/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmstyle dlls/dmstyle/__install__ dlls/dmstyle/__install-lib__ dlls/dmstyle/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dmstyle"
+test "x$enable_dmstyle" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmstyle"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmstyle/%) dlls/dmstyle: dlls/dmstyle/Makefile \$(MAKEDEP)
 dlls/dmstyle/Makefile: dlls/dmstyle/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmsynth dlls/dmsynth/__install__ dlls/dmsynth/__install-lib__ dlls/dmsynth/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmsynth"
-test "x$enable_dmsynth" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dmsynth"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmsynth/%) dlls/dmsynth: dlls/dmsynth/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmsynth dlls/dmsynth/__install__ dlls/dmsynth/__install-lib__ dlls/dmsynth/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dmsynth"
+test "x$enable_dmsynth" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmsynth"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmsynth/%) dlls/dmsynth: dlls/dmsynth/Makefile \$(MAKEDEP)
 dlls/dmsynth/Makefile: dlls/dmsynth/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmusic dlls/dmusic/__install__ dlls/dmusic/__install-lib__ dlls/dmusic/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmusic"
-test "x$enable_dmusic" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dmusic"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmusic/%) dlls/dmusic: dlls/dmusic/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmusic dlls/dmusic/__install__ dlls/dmusic/__install-lib__ dlls/dmusic/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dmusic"
+test "x$enable_dmusic" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmusic"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmusic/%) dlls/dmusic: dlls/dmusic/Makefile \$(MAKEDEP)
 dlls/dmusic/Makefile: dlls/dmusic/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dmusic32/libdmusic32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dmusic32/libdmusic32.$IMPLIBEXT dlls/dmusic32/libdmusic32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dmusic32/libdmusic32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmusic32/libdmusic32.$IMPLIBEXT dlls/dmusic32/libdmusic32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dmusic32/libdmusic32.$IMPLIBEXT dlls/dmusic32/libdmusic32.cross.a: dlls/dmusic32/dmusic32.spec dlls/dmusic32/Makefile
 	@cd dlls/dmusic32 && \$(MAKE) \`basename \$@\`
 dlls/dmusic32 dlls/dmusic32/__install__ dlls/dmusic32/__install-lib__ dlls/dmusic32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dmusic32"
-test "x$enable_dmusic32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dmusic32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dmusic32/%) dlls/dmusic32: dlls/dmusic32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dmusic32"
+test "x$enable_dmusic32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmusic32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dmusic32/%) dlls/dmusic32: dlls/dmusic32/Makefile \$(MAKEDEP)
 dlls/dmusic32/Makefile: dlls/dmusic32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dnsapi/libdnsapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dnsapi/libdnsapi.$IMPLIBEXT dlls/dnsapi/libdnsapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dnsapi/libdnsapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dnsapi/libdnsapi.$IMPLIBEXT dlls/dnsapi/libdnsapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dnsapi/libdnsapi.$IMPLIBEXT dlls/dnsapi/libdnsapi.cross.a: dlls/dnsapi/dnsapi.spec dlls/dnsapi/Makefile
 	@cd dlls/dnsapi && \$(MAKE) \`basename \$@\`
 dlls/dnsapi dlls/dnsapi/__install__ dlls/dnsapi/__install-lib__ dlls/dnsapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dnsapi"
-test "x$enable_dnsapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dnsapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dnsapi/%) dlls/dnsapi: dlls/dnsapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dnsapi"
+test "x$enable_dnsapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dnsapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dnsapi/%) dlls/dnsapi: dlls/dnsapi/Makefile \$(MAKEDEP)
 dlls/dnsapi/Makefile: dlls/dnsapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dnsapi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dnsapi/tests: __builddeps__
 dlls/dnsapi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	dnsapi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-dnsapi_test.exe: \$(TOPOBJDIR)/dlls/dnsapi/tests/dnsapi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "dnsapi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "dnsapi_test.exe: \$(TOPOBJDIR)/dlls/dnsapi/tests/dnsapi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/dnsapi/tests/dnsapi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 dnsapi_test.rc:
 	echo \"dnsapi_test.exe TESTRES \\\"dnsapi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 dnsapi_test.res: dnsapi_test.rc dnsapi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dnsapi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/dnsapi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dnsapi/tests/%) dlls/dnsapi/tests: dlls/dnsapi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dnsapi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dnsapi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dnsapi/tests/%) dlls/dnsapi/tests: dlls/dnsapi/tests/Makefile \$(MAKEDEP)
 dlls/dnsapi/tests/Makefile: dlls/dnsapi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dplay/libdplay.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dplay/libdplay.$IMPLIBEXT dlls/dplay/libdplay.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dplay/libdplay.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dplay/libdplay.$IMPLIBEXT dlls/dplay/libdplay.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dplay/libdplay.$IMPLIBEXT dlls/dplay/libdplay.cross.a: dlls/dplay/dplay.spec dlls/dplay/Makefile
 	@cd dlls/dplay && \$(MAKE) \`basename \$@\`
 dlls/dplay dlls/dplay/__install__ dlls/dplay/__install-lib__ dlls/dplay/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dplay"
-test "x$enable_dplay" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dplay"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dplay/%) dlls/dplay: dlls/dplay/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dplay"
+test "x$enable_dplay" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dplay"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dplay/%) dlls/dplay: dlls/dplay/Makefile \$(MAKEDEP)
 dlls/dplay/Makefile: dlls/dplay/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dplay/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dplayx/libdplayx.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dplayx/libdplayx.$IMPLIBEXT dlls/dplayx/libdplayx.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dplayx/libdplayx.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dplayx/libdplayx.$IMPLIBEXT dlls/dplayx/libdplayx.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dplayx/libdplayx.$IMPLIBEXT dlls/dplayx/libdplayx.cross.a: dlls/dplayx/dplayx.spec dlls/dplayx/Makefile
 	@cd dlls/dplayx && \$(MAKE) \`basename \$@\`
 dlls/dplayx dlls/dplayx/__install__ dlls/dplayx/__install-lib__ dlls/dplayx/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dplayx"
-test "x$enable_dplayx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dplayx"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dplayx/%) dlls/dplayx: dlls/dplayx/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dplayx"
+test "x$enable_dplayx" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dplayx"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dplayx/%) dlls/dplayx: dlls/dplayx/Makefile \$(MAKEDEP)
 dlls/dplayx/Makefile: dlls/dplayx/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dplayx/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dplayx/tests: __builddeps__
 dlls/dplayx/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	dplayx_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-dplayx_test.exe: \$(TOPOBJDIR)/dlls/dplayx/tests/dplayx_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "dplayx_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "dplayx_test.exe: \$(TOPOBJDIR)/dlls/dplayx/tests/dplayx_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/dplayx/tests/dplayx_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 dplayx_test.rc:
 	echo \"dplayx_test.exe TESTRES \\\"dplayx_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 dplayx_test.res: dplayx_test.rc dplayx_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dplayx/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/dplayx/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dplayx/tests/%) dlls/dplayx/tests: dlls/dplayx/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dplayx/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dplayx/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dplayx/tests/%) dlls/dplayx/tests: dlls/dplayx/tests/Makefile \$(MAKEDEP)
 dlls/dplayx/tests/Makefile: dlls/dplayx/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dpnaddr dlls/dpnaddr/__install__ dlls/dpnaddr/__install-lib__ dlls/dpnaddr/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dpnaddr"
-test "x$enable_dpnaddr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dpnaddr"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dpnaddr/%) dlls/dpnaddr: dlls/dpnaddr/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpnaddr dlls/dpnaddr/__install__ dlls/dpnaddr/__install-lib__ dlls/dpnaddr/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dpnaddr"
+test "x$enable_dpnaddr" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpnaddr"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dpnaddr/%) dlls/dpnaddr: dlls/dpnaddr/Makefile \$(MAKEDEP)
 dlls/dpnaddr/Makefile: dlls/dpnaddr/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dpnet/libdpnet.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dpnet/libdpnet.$IMPLIBEXT dlls/dpnet/libdpnet.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dpnet/libdpnet.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpnet/libdpnet.$IMPLIBEXT dlls/dpnet/libdpnet.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dpnet/libdpnet.$IMPLIBEXT dlls/dpnet/libdpnet.cross.a: dlls/dpnet/dpnet.spec dlls/dpnet/Makefile
 	@cd dlls/dpnet && \$(MAKE) \`basename \$@\`
 dlls/dpnet dlls/dpnet/__install__ dlls/dpnet/__install-lib__ dlls/dpnet/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dpnet"
-test "x$enable_dpnet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dpnet"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dpnet/%) dlls/dpnet: dlls/dpnet/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dpnet"
+test "x$enable_dpnet" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpnet"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dpnet/%) dlls/dpnet: dlls/dpnet/Makefile \$(MAKEDEP)
 dlls/dpnet/Makefile: dlls/dpnet/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dpnhpast dlls/dpnhpast/__install__ dlls/dpnhpast/__install-lib__ dlls/dpnhpast/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dpnhpast"
-test "x$enable_dpnhpast" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dpnhpast"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dpnhpast/%) dlls/dpnhpast: dlls/dpnhpast/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpnhpast dlls/dpnhpast/__install__ dlls/dpnhpast/__install-lib__ dlls/dpnhpast/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dpnhpast"
+test "x$enable_dpnhpast" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpnhpast"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dpnhpast/%) dlls/dpnhpast: dlls/dpnhpast/Makefile \$(MAKEDEP)
 dlls/dpnhpast/Makefile: dlls/dpnhpast/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dpnlobby dlls/dpnlobby/__install__ dlls/dpnlobby/__install-lib__ dlls/dpnlobby/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dpnlobby"
-test "x$enable_dpnlobby" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dpnlobby"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dpnlobby/%) dlls/dpnlobby: dlls/dpnlobby/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpnlobby dlls/dpnlobby/__install__ dlls/dpnlobby/__install-lib__ dlls/dpnlobby/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dpnlobby"
+test "x$enable_dpnlobby" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpnlobby"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dpnlobby/%) dlls/dpnlobby: dlls/dpnlobby/Makefile \$(MAKEDEP)
 dlls/dpnlobby/Makefile: dlls/dpnlobby/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dpwsockx dlls/dpwsockx/__install__ dlls/dpwsockx/__install-lib__ dlls/dpwsockx/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dpwsockx"
-test "x$enable_dpwsockx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dpwsockx"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dpwsockx/%) dlls/dpwsockx: dlls/dpwsockx/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpwsockx dlls/dpwsockx/__install__ dlls/dpwsockx/__install-lib__ dlls/dpwsockx/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dpwsockx"
+test "x$enable_dpwsockx" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpwsockx"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dpwsockx/%) dlls/dpwsockx: dlls/dpwsockx/Makefile \$(MAKEDEP)
 dlls/dpwsockx/Makefile: dlls/dpwsockx/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dpwsockx/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/drmclien dlls/drmclien/__install__ dlls/drmclien/__install-lib__ dlls/drmclien/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/drmclien"
-test "x$enable_drmclien" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/drmclien"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/drmclien/%) dlls/drmclien: dlls/drmclien/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/drmclien dlls/drmclien/__install__ dlls/drmclien/__install-lib__ dlls/drmclien/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/drmclien"
+test "x$enable_drmclien" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/drmclien"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/drmclien/%) dlls/drmclien: dlls/drmclien/Makefile \$(MAKEDEP)
 dlls/drmclien/Makefile: dlls/drmclien/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/drmclien/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dsound/libdsound.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dsound/libdsound.$IMPLIBEXT dlls/dsound/libdsound.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dsound/libdsound.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dsound/libdsound.$IMPLIBEXT dlls/dsound/libdsound.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dsound/libdsound.$IMPLIBEXT dlls/dsound/libdsound.cross.a: dlls/dsound/dsound.spec dlls/dsound/Makefile
 	@cd dlls/dsound && \$(MAKE) \`basename \$@\`
 dlls/dsound dlls/dsound/__install__ dlls/dsound/__install-lib__ dlls/dsound/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dsound"
-test "x$enable_dsound" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dsound"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dsound/%) dlls/dsound: dlls/dsound/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dsound"
+test "x$enable_dsound" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dsound"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dsound/%) dlls/dsound: dlls/dsound/Makefile \$(MAKEDEP)
 dlls/dsound/Makefile: dlls/dsound/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dsound/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dsound/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dsound/tests: __builddeps__
 dlls/dsound/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	dsound_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-dsound_test.exe: \$(TOPOBJDIR)/dlls/dsound/tests/dsound_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "dsound_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "dsound_test.exe: \$(TOPOBJDIR)/dlls/dsound/tests/dsound_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/dsound/tests/dsound_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 dsound_test.rc:
 	echo \"dsound_test.exe TESTRES \\\"dsound_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 dsound_test.res: dsound_test.rc dsound_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dsound/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/dsound/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dsound/tests/%) dlls/dsound/tests: dlls/dsound/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dsound/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dsound/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dsound/tests/%) dlls/dsound/tests: dlls/dsound/tests/Makefile \$(MAKEDEP)
 dlls/dsound/tests/Makefile: dlls/dsound/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dssenh dlls/dssenh/__install__ dlls/dssenh/__install-lib__ dlls/dssenh/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dssenh"
-test "x$enable_dssenh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dssenh"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dssenh/%) dlls/dssenh: dlls/dssenh/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dssenh dlls/dssenh/__install__ dlls/dssenh/__install-lib__ dlls/dssenh/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dssenh"
+test "x$enable_dssenh" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dssenh"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dssenh/%) dlls/dssenh: dlls/dssenh/Makefile \$(MAKEDEP)
 dlls/dssenh/Makefile: dlls/dssenh/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dswave dlls/dswave/__install__ dlls/dswave/__install-lib__ dlls/dswave/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dswave"
-test "x$enable_dswave" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dswave"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dswave/%) dlls/dswave: dlls/dswave/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dswave dlls/dswave/__install__ dlls/dswave/__install-lib__ dlls/dswave/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dswave"
+test "x$enable_dswave" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dswave"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dswave/%) dlls/dswave: dlls/dswave/Makefile \$(MAKEDEP)
 dlls/dswave/Makefile: dlls/dswave/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dswave/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dwmapi/libdwmapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dwmapi/libdwmapi.$IMPLIBEXT dlls/dwmapi/libdwmapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dwmapi/libdwmapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dwmapi/libdwmapi.$IMPLIBEXT dlls/dwmapi/libdwmapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dwmapi/libdwmapi.$IMPLIBEXT dlls/dwmapi/libdwmapi.cross.a: dlls/dwmapi/dwmapi.spec dlls/dwmapi/Makefile
 	@cd dlls/dwmapi && \$(MAKE) \`basename \$@\`
 dlls/dwmapi dlls/dwmapi/__install__ dlls/dwmapi/__install-lib__ dlls/dwmapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dwmapi"
-test "x$enable_dwmapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dwmapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dwmapi/%) dlls/dwmapi: dlls/dwmapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dwmapi"
+test "x$enable_dwmapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dwmapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dwmapi/%) dlls/dwmapi: dlls/dwmapi/Makefile \$(MAKEDEP)
 dlls/dwmapi/Makefile: dlls/dwmapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dxdiagn dlls/dxdiagn/__install__ dlls/dxdiagn/__install-lib__ dlls/dxdiagn/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dxdiagn"
-test "x$enable_dxdiagn" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dxdiagn"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dxdiagn/%) dlls/dxdiagn: dlls/dxdiagn/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dxdiagn dlls/dxdiagn/__install__ dlls/dxdiagn/__install-lib__ dlls/dxdiagn/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/dxdiagn"
+test "x$enable_dxdiagn" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dxdiagn"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dxdiagn/%) dlls/dxdiagn: dlls/dxdiagn/Makefile \$(MAKEDEP)
 dlls/dxdiagn/Makefile: dlls/dxdiagn/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dxdiagn/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dxdiagn/tests: __builddeps__
 dlls/dxdiagn/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	dxdiagn_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-dxdiagn_test.exe: \$(TOPOBJDIR)/dlls/dxdiagn/tests/dxdiagn_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "dxdiagn_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "dxdiagn_test.exe: \$(TOPOBJDIR)/dlls/dxdiagn/tests/dxdiagn_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/dxdiagn/tests/dxdiagn_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 dxdiagn_test.rc:
 	echo \"dxdiagn_test.exe TESTRES \\\"dxdiagn_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 dxdiagn_test.res: dxdiagn_test.rc dxdiagn_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dxdiagn/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/dxdiagn/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dxdiagn/tests/%) dlls/dxdiagn/tests: dlls/dxdiagn/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dxdiagn/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dxdiagn/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dxdiagn/tests/%) dlls/dxdiagn/tests: dlls/dxdiagn/tests/Makefile \$(MAKEDEP)
 dlls/dxdiagn/tests/Makefile: dlls/dxdiagn/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/dxdiagn/tests/Makefile"
 
-ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
-	dlls/dxerr8/libdxerr8.a"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dxerr8: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_STATIC_LIBS "dlls/dxerr8/libdxerr8.a"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dxerr8: tools/widl tools/winebuild tools/winegcc include
 dlls/dxerr8/__install__ dlls/dxerr8/__install-dev__: dlls/dxerr8
 dlls/dxerr8/libdxerr8.cross.a: dlls/dxerr8/Makefile tools/widl tools/winebuild tools/winegcc include dummy
 	@cd dlls/dxerr8 && \$(MAKE) \`basename \$@\`"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dxerr8"
-test "x$enable_dxerr8" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
-	dlls/dxerr8"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dxerr8/%) dlls/dxerr8: dlls/dxerr8/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dxerr8"
+test "x$enable_dxerr8" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/dxerr8"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dxerr8/%) dlls/dxerr8: dlls/dxerr8/Makefile \$(MAKEDEP)
 dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules config.status"
 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
 
-ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
-	dlls/dxerr9/libdxerr9.a"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dxerr9: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_STATIC_LIBS "dlls/dxerr9/libdxerr9.a"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dxerr9: tools/widl tools/winebuild tools/winegcc include
 dlls/dxerr9/__install__ dlls/dxerr9/__install-dev__: dlls/dxerr9
 dlls/dxerr9/libdxerr9.cross.a: dlls/dxerr9/Makefile tools/widl tools/winebuild tools/winegcc include dummy
 	@cd dlls/dxerr9 && \$(MAKE) \`basename \$@\`"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dxerr9"
-test "x$enable_dxerr9" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
-	dlls/dxerr9"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dxerr9/%) dlls/dxerr9: dlls/dxerr9/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dxerr9"
+test "x$enable_dxerr9" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/dxerr9"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dxerr9/%) dlls/dxerr9: dlls/dxerr9/Makefile \$(MAKEDEP)
 dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules config.status"
 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/dxgi/libdxgi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dxgi/libdxgi.$IMPLIBEXT dlls/dxgi/libdxgi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/dxgi/libdxgi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dxgi/libdxgi.$IMPLIBEXT dlls/dxgi/libdxgi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/dxgi/libdxgi.$IMPLIBEXT dlls/dxgi/libdxgi.cross.a: dlls/dxgi/dxgi.spec dlls/dxgi/Makefile
 	@cd dlls/dxgi && \$(MAKE) \`basename \$@\`
 dlls/dxgi dlls/dxgi/__install__ dlls/dxgi/__install-lib__ dlls/dxgi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dxgi"
-test "x$enable_dxgi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/dxgi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dxgi/%) dlls/dxgi: dlls/dxgi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dxgi"
+test "x$enable_dxgi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dxgi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dxgi/%) dlls/dxgi: dlls/dxgi/Makefile \$(MAKEDEP)
 dlls/dxgi/Makefile: dlls/dxgi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/dxgi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dxgi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dxgi/tests: __builddeps__
 dlls/dxgi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	dxgi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-dxgi_test.exe: \$(TOPOBJDIR)/dlls/dxgi/tests/dxgi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "dxgi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "dxgi_test.exe: \$(TOPOBJDIR)/dlls/dxgi/tests/dxgi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/dxgi/tests/dxgi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 dxgi_test.rc:
 	echo \"dxgi_test.exe TESTRES \\\"dxgi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 dxgi_test.res: dxgi_test.rc dxgi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dxgi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/dxgi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dxgi/tests/%) dlls/dxgi/tests: dlls/dxgi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dxgi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dxgi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dxgi/tests/%) dlls/dxgi/tests: dlls/dxgi/tests/Makefile \$(MAKEDEP)
 dlls/dxgi/tests/Makefile: dlls/dxgi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/dxgi/tests/Makefile"
 
-ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
-	dlls/dxguid/libdxguid.a"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/dxguid: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_STATIC_LIBS "dlls/dxguid/libdxguid.a"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dxguid: tools/widl tools/winebuild tools/winegcc include
 dlls/dxguid/__install__ dlls/dxguid/__install-dev__: dlls/dxguid
 dlls/dxguid/libdxguid.cross.a: dlls/dxguid/Makefile tools/widl tools/winebuild tools/winegcc include dummy
 	@cd dlls/dxguid && \$(MAKE) \`basename \$@\`"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/dxguid"
-test "x$enable_dxguid" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
-	dlls/dxguid"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/dxguid/%) dlls/dxguid: dlls/dxguid/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/dxguid"
+test "x$enable_dxguid" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/dxguid"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/dxguid/%) dlls/dxguid: dlls/dxguid/Makefile \$(MAKEDEP)
 dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules config.status"
 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/faultrep dlls/faultrep/__install__ dlls/faultrep/__install-lib__ dlls/faultrep/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/faultrep"
-test "x$enable_faultrep" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/faultrep"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/faultrep/%) dlls/faultrep: dlls/faultrep/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/faultrep dlls/faultrep/__install__ dlls/faultrep/__install-lib__ dlls/faultrep/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/faultrep"
+test "x$enable_faultrep" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/faultrep"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/faultrep/%) dlls/faultrep: dlls/faultrep/Makefile \$(MAKEDEP)
 dlls/faultrep/Makefile: dlls/faultrep/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/fltlib dlls/fltlib/__install__ dlls/fltlib/__install-lib__ dlls/fltlib/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/fltlib"
-test "x$enable_fltlib" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/fltlib"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/fltlib/%) dlls/fltlib: dlls/fltlib/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/fltlib dlls/fltlib/__install__ dlls/fltlib/__install-lib__ dlls/fltlib/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/fltlib"
+test "x$enable_fltlib" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/fltlib"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/fltlib/%) dlls/fltlib: dlls/fltlib/Makefile \$(MAKEDEP)
 dlls/fltlib/Makefile: dlls/fltlib/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/fltlib/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/fusion dlls/fusion/__install__ dlls/fusion/__install-lib__ dlls/fusion/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/fusion"
-test "x$enable_fusion" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/fusion"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/fusion/%) dlls/fusion: dlls/fusion/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/fusion dlls/fusion/__install__ dlls/fusion/__install-lib__ dlls/fusion/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/fusion"
+test "x$enable_fusion" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/fusion"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/fusion/%) dlls/fusion: dlls/fusion/Makefile \$(MAKEDEP)
 dlls/fusion/Makefile: dlls/fusion/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/fusion/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/fusion/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/fusion/tests: __builddeps__
 dlls/fusion/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	fusion_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-fusion_test.exe: \$(TOPOBJDIR)/dlls/fusion/tests/fusion_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "fusion_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "fusion_test.exe: \$(TOPOBJDIR)/dlls/fusion/tests/fusion_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/fusion/tests/fusion_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 fusion_test.rc:
 	echo \"fusion_test.exe TESTRES \\\"fusion_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 fusion_test.res: fusion_test.rc fusion_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/fusion/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/fusion/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/fusion/tests/%) dlls/fusion/tests: dlls/fusion/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/fusion/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/fusion/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/fusion/tests/%) dlls/fusion/tests: dlls/fusion/tests/Makefile \$(MAKEDEP)
 dlls/fusion/tests/Makefile: dlls/fusion/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/fwpuclnt dlls/fwpuclnt/__install__ dlls/fwpuclnt/__install-lib__ dlls/fwpuclnt/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/fwpuclnt"
-test "x$enable_fwpuclnt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/fwpuclnt"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/fwpuclnt/%) dlls/fwpuclnt: dlls/fwpuclnt/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/fwpuclnt dlls/fwpuclnt/__install__ dlls/fwpuclnt/__install-lib__ dlls/fwpuclnt/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/fwpuclnt"
+test "x$enable_fwpuclnt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/fwpuclnt"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/fwpuclnt/%) dlls/fwpuclnt: dlls/fwpuclnt/Makefile \$(MAKEDEP)
 dlls/fwpuclnt/Makefile: dlls/fwpuclnt/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/fwpuclnt/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/gdi.exe16 dlls/gdi.exe16/__install__ dlls/gdi.exe16/__install-lib__ dlls/gdi.exe16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/gdi.exe16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/gdi.exe16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/gdi.exe16/%) dlls/gdi.exe16: dlls/gdi.exe16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gdi.exe16 dlls/gdi.exe16/__install__ dlls/gdi.exe16/__install-lib__ dlls/gdi.exe16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/gdi.exe16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gdi.exe16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/gdi.exe16/%) dlls/gdi.exe16: dlls/gdi.exe16/Makefile \$(MAKEDEP)
 dlls/gdi.exe16/Makefile: dlls/gdi.exe16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/gdi.exe16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/gdi32/libgdi32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/gdi32/libgdi32.$IMPLIBEXT dlls/gdi32/libgdi32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/gdi32/libgdi32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gdi32/libgdi32.$IMPLIBEXT dlls/gdi32/libgdi32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/gdi32/libgdi32.$IMPLIBEXT dlls/gdi32/libgdi32.cross.a: dlls/gdi32/gdi32.spec dlls/gdi32/Makefile
 	@cd dlls/gdi32 && \$(MAKE) \`basename \$@\`
 dlls/gdi32 dlls/gdi32/__install__ dlls/gdi32/__install-lib__ dlls/gdi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/gdi32"
-test "x$enable_gdi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/gdi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/gdi32/%) dlls/gdi32: dlls/gdi32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/gdi32"
+test "x$enable_gdi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gdi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/gdi32/%) dlls/gdi32: dlls/gdi32/Makefile \$(MAKEDEP)
 dlls/gdi32/Makefile: dlls/gdi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/gdi32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gdi32/tests: __builddeps__
 dlls/gdi32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	gdi32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-gdi32_test.exe: \$(TOPOBJDIR)/dlls/gdi32/tests/gdi32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "gdi32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "gdi32_test.exe: \$(TOPOBJDIR)/dlls/gdi32/tests/gdi32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/gdi32/tests/gdi32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 gdi32_test.rc:
 	echo \"gdi32_test.exe TESTRES \\\"gdi32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 gdi32_test.res: gdi32_test.rc gdi32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/gdi32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/gdi32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/gdi32/tests/%) dlls/gdi32/tests: dlls/gdi32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/gdi32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/gdi32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/gdi32/tests/%) dlls/gdi32/tests: dlls/gdi32/tests/Makefile \$(MAKEDEP)
 dlls/gdi32/tests/Makefile: dlls/gdi32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/gdiplus/libgdiplus.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/gdiplus/libgdiplus.$IMPLIBEXT dlls/gdiplus/libgdiplus.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/gdiplus/libgdiplus.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gdiplus/libgdiplus.$IMPLIBEXT dlls/gdiplus/libgdiplus.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/gdiplus/libgdiplus.$IMPLIBEXT dlls/gdiplus/libgdiplus.cross.a: dlls/gdiplus/gdiplus.spec dlls/gdiplus/Makefile
 	@cd dlls/gdiplus && \$(MAKE) \`basename \$@\`
 dlls/gdiplus dlls/gdiplus/__install__ dlls/gdiplus/__install-lib__ dlls/gdiplus/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/gdiplus"
-test "x$enable_gdiplus" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/gdiplus"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/gdiplus/%) dlls/gdiplus: dlls/gdiplus/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/gdiplus"
+test "x$enable_gdiplus" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gdiplus"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/gdiplus/%) dlls/gdiplus: dlls/gdiplus/Makefile \$(MAKEDEP)
 dlls/gdiplus/Makefile: dlls/gdiplus/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/gdiplus/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gdiplus/tests: __builddeps__
 dlls/gdiplus/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	gdiplus_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-gdiplus_test.exe: \$(TOPOBJDIR)/dlls/gdiplus/tests/gdiplus_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "gdiplus_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "gdiplus_test.exe: \$(TOPOBJDIR)/dlls/gdiplus/tests/gdiplus_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/gdiplus/tests/gdiplus_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 gdiplus_test.rc:
 	echo \"gdiplus_test.exe TESTRES \\\"gdiplus_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 gdiplus_test.res: gdiplus_test.rc gdiplus_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/gdiplus/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/gdiplus/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/gdiplus/tests/%) dlls/gdiplus/tests: dlls/gdiplus/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/gdiplus/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/gdiplus/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/gdiplus/tests/%) dlls/gdiplus/tests: dlls/gdiplus/tests/Makefile \$(MAKEDEP)
 dlls/gdiplus/tests/Makefile: dlls/gdiplus/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/glu32/libglu32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/glu32/libglu32.$IMPLIBEXT dlls/glu32/libglu32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/glu32/libglu32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/glu32/libglu32.$IMPLIBEXT dlls/glu32/libglu32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/glu32/libglu32.$IMPLIBEXT dlls/glu32/libglu32.cross.a: dlls/glu32/glu32.spec dlls/glu32/Makefile
 	@cd dlls/glu32 && \$(MAKE) \`basename \$@\`
 dlls/glu32 dlls/glu32/__install__ dlls/glu32/__install-lib__ dlls/glu32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/glu32"
-test "x$enable_glu32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/glu32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/glu32/%) dlls/glu32: dlls/glu32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/glu32"
+test "x$enable_glu32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/glu32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/glu32/%) dlls/glu32: dlls/glu32/Makefile \$(MAKEDEP)
 dlls/glu32/Makefile: dlls/glu32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/glu32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/gphoto2.ds dlls/gphoto2.ds/__install__ dlls/gphoto2.ds/__install-lib__ dlls/gphoto2.ds/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/gphoto2.ds"
-test "x$enable_gphoto2_ds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/gphoto2.ds"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/gphoto2.ds/%) dlls/gphoto2.ds: dlls/gphoto2.ds/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gphoto2.ds dlls/gphoto2.ds/__install__ dlls/gphoto2.ds/__install-lib__ dlls/gphoto2.ds/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/gphoto2.ds"
+test "x$enable_gphoto2_ds" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gphoto2.ds"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/gphoto2.ds/%) dlls/gphoto2.ds: dlls/gphoto2.ds/Makefile \$(MAKEDEP)
 dlls/gphoto2.ds/Makefile: dlls/gphoto2.ds/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/gpkcsp dlls/gpkcsp/__install__ dlls/gpkcsp/__install-lib__ dlls/gpkcsp/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/gpkcsp"
-test "x$enable_gpkcsp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/gpkcsp"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/gpkcsp/%) dlls/gpkcsp: dlls/gpkcsp/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gpkcsp dlls/gpkcsp/__install__ dlls/gpkcsp/__install-lib__ dlls/gpkcsp/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/gpkcsp"
+test "x$enable_gpkcsp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gpkcsp"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/gpkcsp/%) dlls/gpkcsp: dlls/gpkcsp/Makefile \$(MAKEDEP)
 dlls/gpkcsp/Makefile: dlls/gpkcsp/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/hal dlls/hal/__install__ dlls/hal/__install-lib__ dlls/hal/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/hal"
-test "x$enable_hal" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/hal"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/hal/%) dlls/hal: dlls/hal/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hal dlls/hal/__install__ dlls/hal/__install-lib__ dlls/hal/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/hal"
+test "x$enable_hal" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hal"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/hal/%) dlls/hal: dlls/hal/Makefile \$(MAKEDEP)
 dlls/hal/Makefile: dlls/hal/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/hal/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/hhctrl.ocx dlls/hhctrl.ocx/__install__ dlls/hhctrl.ocx/__install-lib__ dlls/hhctrl.ocx/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/hhctrl.ocx"
-test "x$enable_hhctrl_ocx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/hhctrl.ocx"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/hhctrl.ocx/%) dlls/hhctrl.ocx: dlls/hhctrl.ocx/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hhctrl.ocx dlls/hhctrl.ocx/__install__ dlls/hhctrl.ocx/__install-lib__ dlls/hhctrl.ocx/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/hhctrl.ocx"
+test "x$enable_hhctrl_ocx" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hhctrl.ocx"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/hhctrl.ocx/%) dlls/hhctrl.ocx: dlls/hhctrl.ocx/Makefile \$(MAKEDEP)
 dlls/hhctrl.ocx/Makefile: dlls/hhctrl.ocx/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/hid/libhid.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/hid/libhid.$IMPLIBEXT dlls/hid/libhid.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/hid/libhid.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hid/libhid.$IMPLIBEXT dlls/hid/libhid.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/hid/libhid.$IMPLIBEXT dlls/hid/libhid.cross.a: dlls/hid/hid.spec dlls/hid/Makefile
 	@cd dlls/hid && \$(MAKE) \`basename \$@\`
 dlls/hid dlls/hid/__install__ dlls/hid/__install-lib__ dlls/hid/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/hid"
-test "x$enable_hid" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/hid"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/hid/%) dlls/hid: dlls/hid/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/hid"
+test "x$enable_hid" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hid"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/hid/%) dlls/hid: dlls/hid/Makefile \$(MAKEDEP)
 dlls/hid/Makefile: dlls/hid/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/hid/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/hlink/libhlink.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/hlink/libhlink.$IMPLIBEXT dlls/hlink/libhlink.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/hlink/libhlink.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hlink/libhlink.$IMPLIBEXT dlls/hlink/libhlink.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/hlink/libhlink.$IMPLIBEXT dlls/hlink/libhlink.cross.a: dlls/hlink/hlink.spec dlls/hlink/Makefile
 	@cd dlls/hlink && \$(MAKE) \`basename \$@\`
 dlls/hlink dlls/hlink/__install__ dlls/hlink/__install-lib__ dlls/hlink/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/hlink"
-test "x$enable_hlink" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/hlink"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/hlink/%) dlls/hlink: dlls/hlink/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/hlink"
+test "x$enable_hlink" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hlink"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/hlink/%) dlls/hlink: dlls/hlink/Makefile \$(MAKEDEP)
 dlls/hlink/Makefile: dlls/hlink/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/hlink/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/hlink/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hlink/tests: __builddeps__
 dlls/hlink/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	hlink_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-hlink_test.exe: \$(TOPOBJDIR)/dlls/hlink/tests/hlink_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "hlink_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "hlink_test.exe: \$(TOPOBJDIR)/dlls/hlink/tests/hlink_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/hlink/tests/hlink_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 hlink_test.rc:
 	echo \"hlink_test.exe TESTRES \\\"hlink_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 hlink_test.res: hlink_test.rc hlink_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/hlink/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/hlink/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/hlink/tests/%) dlls/hlink/tests: dlls/hlink/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/hlink/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/hlink/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/hlink/tests/%) dlls/hlink/tests: dlls/hlink/tests/Makefile \$(MAKEDEP)
 dlls/hlink/tests/Makefile: dlls/hlink/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/hnetcfg dlls/hnetcfg/__install__ dlls/hnetcfg/__install-lib__ dlls/hnetcfg/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/hnetcfg"
-test "x$enable_hnetcfg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/hnetcfg"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/hnetcfg/%) dlls/hnetcfg: dlls/hnetcfg/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hnetcfg dlls/hnetcfg/__install__ dlls/hnetcfg/__install-lib__ dlls/hnetcfg/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/hnetcfg"
+test "x$enable_hnetcfg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hnetcfg"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/hnetcfg/%) dlls/hnetcfg: dlls/hnetcfg/Makefile \$(MAKEDEP)
 dlls/hnetcfg/Makefile: dlls/hnetcfg/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/httpapi dlls/httpapi/__install__ dlls/httpapi/__install-lib__ dlls/httpapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/httpapi"
-test "x$enable_httpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/httpapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/httpapi/%) dlls/httpapi: dlls/httpapi/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/httpapi dlls/httpapi/__install__ dlls/httpapi/__install-lib__ dlls/httpapi/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/httpapi"
+test "x$enable_httpapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/httpapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/httpapi/%) dlls/httpapi: dlls/httpapi/Makefile \$(MAKEDEP)
 dlls/httpapi/Makefile: dlls/httpapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/httpapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/iccvid dlls/iccvid/__install__ dlls/iccvid/__install-lib__ dlls/iccvid/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/iccvid"
-test "x$enable_iccvid" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/iccvid"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/iccvid/%) dlls/iccvid: dlls/iccvid/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/iccvid dlls/iccvid/__install__ dlls/iccvid/__install-lib__ dlls/iccvid/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/iccvid"
+test "x$enable_iccvid" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/iccvid"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/iccvid/%) dlls/iccvid: dlls/iccvid/Makefile \$(MAKEDEP)
 dlls/iccvid/Makefile: dlls/iccvid/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/icmp dlls/icmp/__install__ dlls/icmp/__install-lib__ dlls/icmp/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/icmp"
-test "x$enable_icmp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/icmp"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/icmp/%) dlls/icmp: dlls/icmp/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/icmp dlls/icmp/__install__ dlls/icmp/__install-lib__ dlls/icmp/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/icmp"
+test "x$enable_icmp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/icmp"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/icmp/%) dlls/icmp: dlls/icmp/Makefile \$(MAKEDEP)
 dlls/icmp/Makefile: dlls/icmp/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/icmp/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ifsmgr.vxd dlls/ifsmgr.vxd/__install__ dlls/ifsmgr.vxd/__install-lib__ dlls/ifsmgr.vxd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ifsmgr.vxd"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ifsmgr.vxd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ifsmgr.vxd/%) dlls/ifsmgr.vxd: dlls/ifsmgr.vxd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ifsmgr.vxd dlls/ifsmgr.vxd/__install__ dlls/ifsmgr.vxd/__install-lib__ dlls/ifsmgr.vxd/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ifsmgr.vxd"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ifsmgr.vxd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ifsmgr.vxd/%) dlls/ifsmgr.vxd: dlls/ifsmgr.vxd/Makefile \$(MAKEDEP)
 dlls/ifsmgr.vxd/Makefile: dlls/ifsmgr.vxd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/imaadp32.acm dlls/imaadp32.acm/__install__ dlls/imaadp32.acm/__install-lib__ dlls/imaadp32.acm/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/imaadp32.acm"
-test "x$enable_imaadp32_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/imaadp32.acm"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/imaadp32.acm/%) dlls/imaadp32.acm: dlls/imaadp32.acm/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imaadp32.acm dlls/imaadp32.acm/__install__ dlls/imaadp32.acm/__install-lib__ dlls/imaadp32.acm/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/imaadp32.acm"
+test "x$enable_imaadp32_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/imaadp32.acm"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/imaadp32.acm/%) dlls/imaadp32.acm: dlls/imaadp32.acm/Makefile \$(MAKEDEP)
 dlls/imaadp32.acm/Makefile: dlls/imaadp32.acm/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/imagehlp/libimagehlp.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/imagehlp/libimagehlp.$IMPLIBEXT dlls/imagehlp/libimagehlp.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/imagehlp/libimagehlp.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imagehlp/libimagehlp.$IMPLIBEXT dlls/imagehlp/libimagehlp.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/imagehlp/libimagehlp.$IMPLIBEXT dlls/imagehlp/libimagehlp.cross.a: dlls/imagehlp/imagehlp.spec dlls/imagehlp/Makefile
 	@cd dlls/imagehlp && \$(MAKE) \`basename \$@\`
 dlls/imagehlp dlls/imagehlp/__install__ dlls/imagehlp/__install-lib__ dlls/imagehlp/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/imagehlp"
-test "x$enable_imagehlp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/imagehlp"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/imagehlp/%) dlls/imagehlp: dlls/imagehlp/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/imagehlp"
+test "x$enable_imagehlp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/imagehlp"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/imagehlp/%) dlls/imagehlp: dlls/imagehlp/Makefile \$(MAKEDEP)
 dlls/imagehlp/Makefile: dlls/imagehlp/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/imagehlp/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imagehlp/tests: __builddeps__
 dlls/imagehlp/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	imagehlp_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-imagehlp_test.exe: \$(TOPOBJDIR)/dlls/imagehlp/tests/imagehlp_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "imagehlp_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "imagehlp_test.exe: \$(TOPOBJDIR)/dlls/imagehlp/tests/imagehlp_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/imagehlp/tests/imagehlp_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 imagehlp_test.rc:
 	echo \"imagehlp_test.exe TESTRES \\\"imagehlp_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 imagehlp_test.res: imagehlp_test.rc imagehlp_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/imagehlp/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/imagehlp/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/imagehlp/tests/%) dlls/imagehlp/tests: dlls/imagehlp/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/imagehlp/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/imagehlp/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/imagehlp/tests/%) dlls/imagehlp/tests: dlls/imagehlp/tests/Makefile \$(MAKEDEP)
 dlls/imagehlp/tests/Makefile: dlls/imagehlp/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/imagehlp/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/imm.dll16 dlls/imm.dll16/__install__ dlls/imm.dll16/__install-lib__ dlls/imm.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/imm.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/imm.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/imm.dll16/%) dlls/imm.dll16: dlls/imm.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imm.dll16 dlls/imm.dll16/__install__ dlls/imm.dll16/__install-lib__ dlls/imm.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/imm.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/imm.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/imm.dll16/%) dlls/imm.dll16: dlls/imm.dll16/Makefile \$(MAKEDEP)
 dlls/imm.dll16/Makefile: dlls/imm.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/imm.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/imm32/libimm32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/imm32/libimm32.$IMPLIBEXT dlls/imm32/libimm32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/imm32/libimm32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imm32/libimm32.$IMPLIBEXT dlls/imm32/libimm32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/imm32/libimm32.$IMPLIBEXT dlls/imm32/libimm32.cross.a: dlls/imm32/imm32.spec dlls/imm32/Makefile
 	@cd dlls/imm32 && \$(MAKE) \`basename \$@\`
 dlls/imm32 dlls/imm32/__install__ dlls/imm32/__install-lib__ dlls/imm32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/imm32"
-test "x$enable_imm32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/imm32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/imm32/%) dlls/imm32: dlls/imm32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/imm32"
+test "x$enable_imm32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/imm32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/imm32/%) dlls/imm32: dlls/imm32/Makefile \$(MAKEDEP)
 dlls/imm32/Makefile: dlls/imm32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/imm32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/imm32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imm32/tests: __builddeps__
 dlls/imm32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	imm32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-imm32_test.exe: \$(TOPOBJDIR)/dlls/imm32/tests/imm32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "imm32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "imm32_test.exe: \$(TOPOBJDIR)/dlls/imm32/tests/imm32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/imm32/tests/imm32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 imm32_test.rc:
 	echo \"imm32_test.exe TESTRES \\\"imm32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 imm32_test.res: imm32_test.rc imm32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/imm32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/imm32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/imm32/tests/%) dlls/imm32/tests: dlls/imm32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/imm32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/imm32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/imm32/tests/%) dlls/imm32/tests: dlls/imm32/tests/Makefile \$(MAKEDEP)
 dlls/imm32/tests/Makefile: dlls/imm32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/inetcomm/libinetcomm.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/inetcomm/libinetcomm.$IMPLIBEXT dlls/inetcomm/libinetcomm.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/inetcomm/libinetcomm.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inetcomm/libinetcomm.$IMPLIBEXT dlls/inetcomm/libinetcomm.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/inetcomm/libinetcomm.$IMPLIBEXT dlls/inetcomm/libinetcomm.cross.a: dlls/inetcomm/inetcomm.spec dlls/inetcomm/Makefile
 	@cd dlls/inetcomm && \$(MAKE) \`basename \$@\`
 dlls/inetcomm dlls/inetcomm/__install__ dlls/inetcomm/__install-lib__ dlls/inetcomm/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/inetcomm"
-test "x$enable_inetcomm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/inetcomm"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/inetcomm/%) dlls/inetcomm: dlls/inetcomm/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/inetcomm"
+test "x$enable_inetcomm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/inetcomm"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/inetcomm/%) dlls/inetcomm: dlls/inetcomm/Makefile \$(MAKEDEP)
 dlls/inetcomm/Makefile: dlls/inetcomm/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/inetcomm/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inetcomm/tests: __builddeps__
 dlls/inetcomm/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	inetcomm_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-inetcomm_test.exe: \$(TOPOBJDIR)/dlls/inetcomm/tests/inetcomm_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "inetcomm_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "inetcomm_test.exe: \$(TOPOBJDIR)/dlls/inetcomm/tests/inetcomm_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/inetcomm/tests/inetcomm_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 inetcomm_test.rc:
 	echo \"inetcomm_test.exe TESTRES \\\"inetcomm_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 inetcomm_test.res: inetcomm_test.rc inetcomm_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/inetcomm/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/inetcomm/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/inetcomm/tests/%) dlls/inetcomm/tests: dlls/inetcomm/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/inetcomm/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/inetcomm/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/inetcomm/tests/%) dlls/inetcomm/tests: dlls/inetcomm/tests/Makefile \$(MAKEDEP)
 dlls/inetcomm/tests/Makefile: dlls/inetcomm/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/inetmib1 dlls/inetmib1/__install__ dlls/inetmib1/__install-lib__ dlls/inetmib1/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/inetmib1"
-test "x$enable_inetmib1" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/inetmib1"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/inetmib1/%) dlls/inetmib1: dlls/inetmib1/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inetmib1 dlls/inetmib1/__install__ dlls/inetmib1/__install-lib__ dlls/inetmib1/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/inetmib1"
+test "x$enable_inetmib1" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/inetmib1"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/inetmib1/%) dlls/inetmib1: dlls/inetmib1/Makefile \$(MAKEDEP)
 dlls/inetmib1/Makefile: dlls/inetmib1/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/inetmib1/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inetmib1/tests: __builddeps__
 dlls/inetmib1/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	inetmib1_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-inetmib1_test.exe: \$(TOPOBJDIR)/dlls/inetmib1/tests/inetmib1_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "inetmib1_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "inetmib1_test.exe: \$(TOPOBJDIR)/dlls/inetmib1/tests/inetmib1_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/inetmib1/tests/inetmib1_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 inetmib1_test.rc:
 	echo \"inetmib1_test.exe TESTRES \\\"inetmib1_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 inetmib1_test.res: inetmib1_test.rc inetmib1_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/inetmib1/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/inetmib1/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/inetmib1/tests/%) dlls/inetmib1/tests: dlls/inetmib1/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/inetmib1/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/inetmib1/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/inetmib1/tests/%) dlls/inetmib1/tests: dlls/inetmib1/tests/Makefile \$(MAKEDEP)
 dlls/inetmib1/tests/Makefile: dlls/inetmib1/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/infosoft dlls/infosoft/__install__ dlls/infosoft/__install-lib__ dlls/infosoft/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/infosoft"
-test "x$enable_infosoft" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/infosoft"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/infosoft/%) dlls/infosoft: dlls/infosoft/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/infosoft dlls/infosoft/__install__ dlls/infosoft/__install-lib__ dlls/infosoft/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/infosoft"
+test "x$enable_infosoft" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/infosoft"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/infosoft/%) dlls/infosoft: dlls/infosoft/Makefile \$(MAKEDEP)
 dlls/infosoft/Makefile: dlls/infosoft/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/infosoft/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/infosoft/tests: __builddeps__
 dlls/infosoft/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	infosoft_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-infosoft_test.exe: \$(TOPOBJDIR)/dlls/infosoft/tests/infosoft_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "infosoft_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "infosoft_test.exe: \$(TOPOBJDIR)/dlls/infosoft/tests/infosoft_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/infosoft/tests/infosoft_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 infosoft_test.rc:
 	echo \"infosoft_test.exe TESTRES \\\"infosoft_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 infosoft_test.res: infosoft_test.rc infosoft_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/infosoft/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/infosoft/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/infosoft/tests/%) dlls/infosoft/tests: dlls/infosoft/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/infosoft/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/infosoft/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/infosoft/tests/%) dlls/infosoft/tests: dlls/infosoft/tests/Makefile \$(MAKEDEP)
 dlls/infosoft/tests/Makefile: dlls/infosoft/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/initpki dlls/initpki/__install__ dlls/initpki/__install-lib__ dlls/initpki/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/initpki"
-test "x$enable_initpki" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/initpki"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/initpki/%) dlls/initpki: dlls/initpki/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/initpki dlls/initpki/__install__ dlls/initpki/__install-lib__ dlls/initpki/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/initpki"
+test "x$enable_initpki" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/initpki"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/initpki/%) dlls/initpki: dlls/initpki/Makefile \$(MAKEDEP)
 dlls/initpki/Makefile: dlls/initpki/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/initpki/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/inkobj dlls/inkobj/__install__ dlls/inkobj/__install-lib__ dlls/inkobj/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/inkobj"
-test "x$enable_inkobj" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/inkobj"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/inkobj/%) dlls/inkobj: dlls/inkobj/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inkobj dlls/inkobj/__install__ dlls/inkobj/__install-lib__ dlls/inkobj/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/inkobj"
+test "x$enable_inkobj" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/inkobj"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/inkobj/%) dlls/inkobj: dlls/inkobj/Makefile \$(MAKEDEP)
 dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/inseng dlls/inseng/__install__ dlls/inseng/__install-lib__ dlls/inseng/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/inseng"
-test "x$enable_inseng" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/inseng"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/inseng/%) dlls/inseng: dlls/inseng/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inseng dlls/inseng/__install__ dlls/inseng/__install-lib__ dlls/inseng/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/inseng"
+test "x$enable_inseng" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/inseng"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/inseng/%) dlls/inseng: dlls/inseng/Makefile \$(MAKEDEP)
 dlls/inseng/Makefile: dlls/inseng/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/inseng/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/iphlpapi/libiphlpapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/iphlpapi/libiphlpapi.$IMPLIBEXT dlls/iphlpapi/libiphlpapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/iphlpapi/libiphlpapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/iphlpapi/libiphlpapi.$IMPLIBEXT dlls/iphlpapi/libiphlpapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/iphlpapi/libiphlpapi.$IMPLIBEXT dlls/iphlpapi/libiphlpapi.cross.a: dlls/iphlpapi/iphlpapi.spec dlls/iphlpapi/Makefile
 	@cd dlls/iphlpapi && \$(MAKE) \`basename \$@\`
 dlls/iphlpapi dlls/iphlpapi/__install__ dlls/iphlpapi/__install-lib__ dlls/iphlpapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/iphlpapi"
-test "x$enable_iphlpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/iphlpapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/iphlpapi/%) dlls/iphlpapi: dlls/iphlpapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/iphlpapi"
+test "x$enable_iphlpapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/iphlpapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/iphlpapi/%) dlls/iphlpapi: dlls/iphlpapi/Makefile \$(MAKEDEP)
 dlls/iphlpapi/Makefile: dlls/iphlpapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/iphlpapi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/iphlpapi/tests: __builddeps__
 dlls/iphlpapi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	iphlpapi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-iphlpapi_test.exe: \$(TOPOBJDIR)/dlls/iphlpapi/tests/iphlpapi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "iphlpapi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "iphlpapi_test.exe: \$(TOPOBJDIR)/dlls/iphlpapi/tests/iphlpapi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/iphlpapi/tests/iphlpapi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 iphlpapi_test.rc:
 	echo \"iphlpapi_test.exe TESTRES \\\"iphlpapi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 iphlpapi_test.res: iphlpapi_test.rc iphlpapi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/iphlpapi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/iphlpapi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/iphlpapi/tests/%) dlls/iphlpapi/tests: dlls/iphlpapi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/iphlpapi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/iphlpapi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/iphlpapi/tests/%) dlls/iphlpapi/tests: dlls/iphlpapi/tests/Makefile \$(MAKEDEP)
 dlls/iphlpapi/tests/Makefile: dlls/iphlpapi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/itircl dlls/itircl/__install__ dlls/itircl/__install-lib__ dlls/itircl/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/itircl"
-test "x$enable_itircl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/itircl"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/itircl/%) dlls/itircl: dlls/itircl/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/itircl dlls/itircl/__install__ dlls/itircl/__install-lib__ dlls/itircl/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/itircl"
+test "x$enable_itircl" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/itircl"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/itircl/%) dlls/itircl: dlls/itircl/Makefile \$(MAKEDEP)
 dlls/itircl/Makefile: dlls/itircl/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/itircl/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/itss dlls/itss/__install__ dlls/itss/__install-lib__ dlls/itss/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/itss"
-test "x$enable_itss" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/itss"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/itss/%) dlls/itss: dlls/itss/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/itss dlls/itss/__install__ dlls/itss/__install-lib__ dlls/itss/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/itss"
+test "x$enable_itss" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/itss"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/itss/%) dlls/itss: dlls/itss/Makefile \$(MAKEDEP)
 dlls/itss/Makefile: dlls/itss/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/itss/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/itss/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/itss/tests: __builddeps__
 dlls/itss/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	itss_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-itss_test.exe: \$(TOPOBJDIR)/dlls/itss/tests/itss_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "itss_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "itss_test.exe: \$(TOPOBJDIR)/dlls/itss/tests/itss_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/itss/tests/itss_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 itss_test.rc:
 	echo \"itss_test.exe TESTRES \\\"itss_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 itss_test.res: itss_test.rc itss_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/itss/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/itss/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/itss/tests/%) dlls/itss/tests: dlls/itss/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/itss/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/itss/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/itss/tests/%) dlls/itss/tests: dlls/itss/tests/Makefile \$(MAKEDEP)
 dlls/itss/tests/Makefile: dlls/itss/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/jscript dlls/jscript/__install__ dlls/jscript/__install-lib__ dlls/jscript/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/jscript"
-test "x$enable_jscript" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/jscript"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/jscript/%) dlls/jscript: dlls/jscript/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/jscript dlls/jscript/__install__ dlls/jscript/__install-lib__ dlls/jscript/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/jscript"
+test "x$enable_jscript" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/jscript"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/jscript/%) dlls/jscript: dlls/jscript/Makefile \$(MAKEDEP)
 dlls/jscript/Makefile: dlls/jscript/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/jscript/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/jscript/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/jscript/tests: __builddeps__
 dlls/jscript/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	jscript_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-jscript_test.exe: \$(TOPOBJDIR)/dlls/jscript/tests/jscript_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "jscript_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "jscript_test.exe: \$(TOPOBJDIR)/dlls/jscript/tests/jscript_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/jscript/tests/jscript_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 jscript_test.rc:
 	echo \"jscript_test.exe TESTRES \\\"jscript_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 jscript_test.res: jscript_test.rc jscript_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/jscript/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/jscript/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/jscript/tests/%) dlls/jscript/tests: dlls/jscript/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/jscript/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/jscript/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/jscript/tests/%) dlls/jscript/tests: dlls/jscript/tests/Makefile \$(MAKEDEP)
 dlls/jscript/tests/Makefile: dlls/jscript/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/kernel32/libkernel32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/kernel32/libkernel32.$IMPLIBEXT dlls/kernel32/libkernel32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/kernel32/libkernel32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/kernel32/libkernel32.$IMPLIBEXT dlls/kernel32/libkernel32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/kernel32/libkernel32.$IMPLIBEXT dlls/kernel32/libkernel32.cross.a: dlls/kernel32/kernel32.spec dlls/kernel32/Makefile
 	@cd dlls/kernel32 && \$(MAKE) \`basename \$@\`
 dlls/kernel32 dlls/kernel32/__install__ dlls/kernel32/__install-lib__ dlls/kernel32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/kernel32"
-test "x$enable_kernel32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/kernel32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/kernel32/%) dlls/kernel32: dlls/kernel32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/kernel32"
+test "x$enable_kernel32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/kernel32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/kernel32/%) dlls/kernel32: dlls/kernel32/Makefile \$(MAKEDEP)
 dlls/kernel32/Makefile: dlls/kernel32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/kernel32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/kernel32/tests: __builddeps__
 dlls/kernel32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	kernel32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-kernel32_test.exe: \$(TOPOBJDIR)/dlls/kernel32/tests/kernel32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "kernel32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "kernel32_test.exe: \$(TOPOBJDIR)/dlls/kernel32/tests/kernel32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/kernel32/tests/kernel32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 kernel32_test.rc:
 	echo \"kernel32_test.exe TESTRES \\\"kernel32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 kernel32_test.res: kernel32_test.rc kernel32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/kernel32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/kernel32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/kernel32/tests/%) dlls/kernel32/tests: dlls/kernel32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/kernel32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/kernel32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/kernel32/tests/%) dlls/kernel32/tests: dlls/kernel32/tests/Makefile \$(MAKEDEP)
 dlls/kernel32/tests/Makefile: dlls/kernel32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/keyboard.drv16 dlls/keyboard.drv16/__install__ dlls/keyboard.drv16/__install-lib__ dlls/keyboard.drv16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/keyboard.drv16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/keyboard.drv16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/keyboard.drv16/%) dlls/keyboard.drv16: dlls/keyboard.drv16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/keyboard.drv16 dlls/keyboard.drv16/__install__ dlls/keyboard.drv16/__install-lib__ dlls/keyboard.drv16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/keyboard.drv16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/keyboard.drv16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/keyboard.drv16/%) dlls/keyboard.drv16: dlls/keyboard.drv16/Makefile \$(MAKEDEP)
 dlls/keyboard.drv16/Makefile: dlls/keyboard.drv16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/keyboard.drv16/Makefile"
 
-test "x$enable_win16" = xno || ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/krnl386.exe16/libkernel.$IMPLIBEXT \\
-	dlls/libkernel.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/krnl386.exe16/libkernel.$IMPLIBEXT dlls/krnl386.exe16/libkernel.cross.a: tools/widl tools/winebuild tools/winegcc include
+test "x$enable_win16" != xno && wine_fn_append_file ALL_IMPORT_LIBS "dlls/krnl386.exe16/libkernel.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/libkernel.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/krnl386.exe16/libkernel.$IMPLIBEXT dlls/krnl386.exe16/libkernel.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/libkernel.$IMPLIBEXT: dlls/krnl386.exe16/libkernel.$IMPLIBEXT
 	\$(RM) \$@ && \$(LN_S) krnl386.exe16/libkernel.$IMPLIBEXT \$@
 dlls/libkernel.cross.a: dlls/krnl386.exe16/libkernel.cross.a
@@ -16438,3793 +15562,2553 @@
 dlls/krnl386.exe16/libkernel.$IMPLIBEXT dlls/krnl386.exe16/libkernel.cross.a: dlls/krnl386.exe16/krnl386.exe16.spec dlls/krnl386.exe16/Makefile
 	@cd dlls/krnl386.exe16 && \$(MAKE) \`basename \$@\`
 dlls/krnl386.exe16 dlls/krnl386.exe16/__install__ dlls/krnl386.exe16/__install-lib__ dlls/krnl386.exe16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/krnl386.exe16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/krnl386.exe16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/krnl386.exe16/%) dlls/krnl386.exe16: dlls/krnl386.exe16/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/krnl386.exe16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/krnl386.exe16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/krnl386.exe16/%) dlls/krnl386.exe16: dlls/krnl386.exe16/Makefile \$(MAKEDEP)
 dlls/krnl386.exe16/Makefile: dlls/krnl386.exe16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/krnl386.exe16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/loadperf/libloadperf.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/loadperf/libloadperf.$IMPLIBEXT dlls/loadperf/libloadperf.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/loadperf/libloadperf.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/loadperf/libloadperf.$IMPLIBEXT dlls/loadperf/libloadperf.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/loadperf/libloadperf.$IMPLIBEXT dlls/loadperf/libloadperf.cross.a: dlls/loadperf/loadperf.spec dlls/loadperf/Makefile
 	@cd dlls/loadperf && \$(MAKE) \`basename \$@\`
 dlls/loadperf dlls/loadperf/__install__ dlls/loadperf/__install-lib__ dlls/loadperf/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/loadperf"
-test "x$enable_loadperf" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/loadperf"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/loadperf/%) dlls/loadperf: dlls/loadperf/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/loadperf"
+test "x$enable_loadperf" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/loadperf"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/loadperf/%) dlls/loadperf: dlls/loadperf/Makefile \$(MAKEDEP)
 dlls/loadperf/Makefile: dlls/loadperf/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/loadperf/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/localspl dlls/localspl/__install__ dlls/localspl/__install-lib__ dlls/localspl/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/localspl"
-test "x$enable_localspl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/localspl"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/localspl/%) dlls/localspl: dlls/localspl/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/localspl dlls/localspl/__install__ dlls/localspl/__install-lib__ dlls/localspl/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/localspl"
+test "x$enable_localspl" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/localspl"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/localspl/%) dlls/localspl: dlls/localspl/Makefile \$(MAKEDEP)
 dlls/localspl/Makefile: dlls/localspl/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/localspl/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/localspl/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/localspl/tests: __builddeps__
 dlls/localspl/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	localspl_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-localspl_test.exe: \$(TOPOBJDIR)/dlls/localspl/tests/localspl_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "localspl_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "localspl_test.exe: \$(TOPOBJDIR)/dlls/localspl/tests/localspl_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/localspl/tests/localspl_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 localspl_test.rc:
 	echo \"localspl_test.exe TESTRES \\\"localspl_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 localspl_test.res: localspl_test.rc localspl_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/localspl/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/localspl/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/localspl/tests/%) dlls/localspl/tests: dlls/localspl/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/localspl/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/localspl/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/localspl/tests/%) dlls/localspl/tests: dlls/localspl/tests/Makefile \$(MAKEDEP)
 dlls/localspl/tests/Makefile: dlls/localspl/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/localui dlls/localui/__install__ dlls/localui/__install-lib__ dlls/localui/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/localui"
-test "x$enable_localui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/localui"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/localui/%) dlls/localui: dlls/localui/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/localui dlls/localui/__install__ dlls/localui/__install-lib__ dlls/localui/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/localui"
+test "x$enable_localui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/localui"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/localui/%) dlls/localui: dlls/localui/Makefile \$(MAKEDEP)
 dlls/localui/Makefile: dlls/localui/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/localui/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/localui/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/localui/tests: __builddeps__
 dlls/localui/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	localui_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-localui_test.exe: \$(TOPOBJDIR)/dlls/localui/tests/localui_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "localui_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "localui_test.exe: \$(TOPOBJDIR)/dlls/localui/tests/localui_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/localui/tests/localui_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 localui_test.rc:
 	echo \"localui_test.exe TESTRES \\\"localui_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 localui_test.res: localui_test.rc localui_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/localui/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/localui/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/localui/tests/%) dlls/localui/tests: dlls/localui/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/localui/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/localui/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/localui/tests/%) dlls/localui/tests: dlls/localui/tests/Makefile \$(MAKEDEP)
 dlls/localui/tests/Makefile: dlls/localui/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/lz32/liblz32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/lz32/liblz32.$IMPLIBEXT dlls/lz32/liblz32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/lz32/liblz32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/lz32/liblz32.$IMPLIBEXT dlls/lz32/liblz32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/lz32/liblz32.$IMPLIBEXT dlls/lz32/liblz32.cross.a: dlls/lz32/lz32.spec dlls/lz32/Makefile
 	@cd dlls/lz32 && \$(MAKE) \`basename \$@\`
 dlls/lz32 dlls/lz32/__install__ dlls/lz32/__install-lib__ dlls/lz32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/lz32"
-test "x$enable_lz32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/lz32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/lz32/%) dlls/lz32: dlls/lz32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/lz32"
+test "x$enable_lz32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/lz32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/lz32/%) dlls/lz32: dlls/lz32/Makefile \$(MAKEDEP)
 dlls/lz32/Makefile: dlls/lz32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/lz32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/lz32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/lz32/tests: __builddeps__
 dlls/lz32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	lz32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-lz32_test.exe: \$(TOPOBJDIR)/dlls/lz32/tests/lz32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "lz32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "lz32_test.exe: \$(TOPOBJDIR)/dlls/lz32/tests/lz32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/lz32/tests/lz32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 lz32_test.rc:
 	echo \"lz32_test.exe TESTRES \\\"lz32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 lz32_test.res: lz32_test.rc lz32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/lz32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/lz32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/lz32/tests/%) dlls/lz32/tests: dlls/lz32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/lz32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/lz32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/lz32/tests/%) dlls/lz32/tests: dlls/lz32/tests/Makefile \$(MAKEDEP)
 dlls/lz32/tests/Makefile: dlls/lz32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/lzexpand.dll16 dlls/lzexpand.dll16/__install__ dlls/lzexpand.dll16/__install-lib__ dlls/lzexpand.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/lzexpand.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/lzexpand.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/lzexpand.dll16/%) dlls/lzexpand.dll16: dlls/lzexpand.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/lzexpand.dll16 dlls/lzexpand.dll16/__install__ dlls/lzexpand.dll16/__install-lib__ dlls/lzexpand.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/lzexpand.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/lzexpand.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/lzexpand.dll16/%) dlls/lzexpand.dll16: dlls/lzexpand.dll16/Makefile \$(MAKEDEP)
 dlls/lzexpand.dll16/Makefile: dlls/lzexpand.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/lzexpand.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/mapi32/libmapi32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mapi32/libmapi32.$IMPLIBEXT dlls/mapi32/libmapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/mapi32/libmapi32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mapi32/libmapi32.$IMPLIBEXT dlls/mapi32/libmapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/mapi32/libmapi32.$IMPLIBEXT dlls/mapi32/libmapi32.cross.a: dlls/mapi32/mapi32.spec dlls/mapi32/Makefile
 	@cd dlls/mapi32 && \$(MAKE) \`basename \$@\`
 dlls/mapi32 dlls/mapi32/__install__ dlls/mapi32/__install-lib__ dlls/mapi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mapi32"
-test "x$enable_mapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mapi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mapi32/%) dlls/mapi32: dlls/mapi32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mapi32"
+test "x$enable_mapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mapi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mapi32/%) dlls/mapi32: dlls/mapi32/Makefile \$(MAKEDEP)
 dlls/mapi32/Makefile: dlls/mapi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mapi32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mapi32/tests: __builddeps__
 dlls/mapi32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	mapi32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-mapi32_test.exe: \$(TOPOBJDIR)/dlls/mapi32/tests/mapi32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "mapi32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "mapi32_test.exe: \$(TOPOBJDIR)/dlls/mapi32/tests/mapi32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/mapi32/tests/mapi32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 mapi32_test.rc:
 	echo \"mapi32_test.exe TESTRES \\\"mapi32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 mapi32_test.res: mapi32_test.rc mapi32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mapi32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/mapi32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mapi32/tests/%) dlls/mapi32/tests: dlls/mapi32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mapi32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mapi32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mapi32/tests/%) dlls/mapi32/tests: dlls/mapi32/tests/Makefile \$(MAKEDEP)
 dlls/mapi32/tests/Makefile: dlls/mapi32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mapistub dlls/mapistub/__install__ dlls/mapistub/__install-lib__ dlls/mapistub/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mapistub"
-test "x$enable_mapistub" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mapistub"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mapistub/%) dlls/mapistub: dlls/mapistub/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mapistub dlls/mapistub/__install__ dlls/mapistub/__install-lib__ dlls/mapistub/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mapistub"
+test "x$enable_mapistub" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mapistub"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mapistub/%) dlls/mapistub: dlls/mapistub/Makefile \$(MAKEDEP)
 dlls/mapistub/Makefile: dlls/mapistub/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mapistub/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mciavi32 dlls/mciavi32/__install__ dlls/mciavi32/__install-lib__ dlls/mciavi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mciavi32"
-test "x$enable_mciavi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mciavi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mciavi32/%) dlls/mciavi32: dlls/mciavi32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mciavi32 dlls/mciavi32/__install__ dlls/mciavi32/__install-lib__ dlls/mciavi32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mciavi32"
+test "x$enable_mciavi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mciavi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mciavi32/%) dlls/mciavi32: dlls/mciavi32/Makefile \$(MAKEDEP)
 dlls/mciavi32/Makefile: dlls/mciavi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mcicda dlls/mcicda/__install__ dlls/mcicda/__install-lib__ dlls/mcicda/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mcicda"
-test "x$enable_mcicda" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mcicda"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mcicda/%) dlls/mcicda: dlls/mcicda/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mcicda dlls/mcicda/__install__ dlls/mcicda/__install-lib__ dlls/mcicda/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mcicda"
+test "x$enable_mcicda" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mcicda"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mcicda/%) dlls/mcicda: dlls/mcicda/Makefile \$(MAKEDEP)
 dlls/mcicda/Makefile: dlls/mcicda/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mciqtz32 dlls/mciqtz32/__install__ dlls/mciqtz32/__install-lib__ dlls/mciqtz32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mciqtz32"
-test "x$enable_mciqtz32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mciqtz32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mciqtz32/%) dlls/mciqtz32: dlls/mciqtz32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mciqtz32 dlls/mciqtz32/__install__ dlls/mciqtz32/__install-lib__ dlls/mciqtz32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mciqtz32"
+test "x$enable_mciqtz32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mciqtz32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mciqtz32/%) dlls/mciqtz32: dlls/mciqtz32/Makefile \$(MAKEDEP)
 dlls/mciqtz32/Makefile: dlls/mciqtz32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mciqtz32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mciseq dlls/mciseq/__install__ dlls/mciseq/__install-lib__ dlls/mciseq/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mciseq"
-test "x$enable_mciseq" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mciseq"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mciseq/%) dlls/mciseq: dlls/mciseq/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mciseq dlls/mciseq/__install__ dlls/mciseq/__install-lib__ dlls/mciseq/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mciseq"
+test "x$enable_mciseq" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mciseq"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mciseq/%) dlls/mciseq: dlls/mciseq/Makefile \$(MAKEDEP)
 dlls/mciseq/Makefile: dlls/mciseq/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mciwave dlls/mciwave/__install__ dlls/mciwave/__install-lib__ dlls/mciwave/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mciwave"
-test "x$enable_mciwave" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mciwave"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mciwave/%) dlls/mciwave: dlls/mciwave/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mciwave dlls/mciwave/__install__ dlls/mciwave/__install-lib__ dlls/mciwave/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mciwave"
+test "x$enable_mciwave" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mciwave"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mciwave/%) dlls/mciwave: dlls/mciwave/Makefile \$(MAKEDEP)
 dlls/mciwave/Makefile: dlls/mciwave/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/midimap dlls/midimap/__install__ dlls/midimap/__install-lib__ dlls/midimap/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/midimap"
-test "x$enable_midimap" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/midimap"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/midimap/%) dlls/midimap: dlls/midimap/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/midimap dlls/midimap/__install__ dlls/midimap/__install-lib__ dlls/midimap/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/midimap"
+test "x$enable_midimap" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/midimap"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/midimap/%) dlls/midimap: dlls/midimap/Makefile \$(MAKEDEP)
 dlls/midimap/Makefile: dlls/midimap/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/midimap/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/mlang/libmlang.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mlang/libmlang.$IMPLIBEXT dlls/mlang/libmlang.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/mlang/libmlang.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mlang/libmlang.$IMPLIBEXT dlls/mlang/libmlang.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/mlang/libmlang.$IMPLIBEXT dlls/mlang/libmlang.cross.a: dlls/mlang/mlang.spec dlls/mlang/Makefile
 	@cd dlls/mlang && \$(MAKE) \`basename \$@\`
 dlls/mlang dlls/mlang/__install__ dlls/mlang/__install-lib__ dlls/mlang/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mlang"
-test "x$enable_mlang" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mlang"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mlang/%) dlls/mlang: dlls/mlang/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mlang"
+test "x$enable_mlang" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mlang"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mlang/%) dlls/mlang: dlls/mlang/Makefile \$(MAKEDEP)
 dlls/mlang/Makefile: dlls/mlang/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mlang/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mlang/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mlang/tests: __builddeps__
 dlls/mlang/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	mlang_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-mlang_test.exe: \$(TOPOBJDIR)/dlls/mlang/tests/mlang_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "mlang_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "mlang_test.exe: \$(TOPOBJDIR)/dlls/mlang/tests/mlang_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/mlang/tests/mlang_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 mlang_test.rc:
 	echo \"mlang_test.exe TESTRES \\\"mlang_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 mlang_test.res: mlang_test.rc mlang_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mlang/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/mlang/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mlang/tests/%) dlls/mlang/tests: dlls/mlang/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mlang/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mlang/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mlang/tests/%) dlls/mlang/tests: dlls/mlang/tests/Makefile \$(MAKEDEP)
 dlls/mlang/tests/Makefile: dlls/mlang/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mmdevapi dlls/mmdevapi/__install__ dlls/mmdevapi/__install-lib__ dlls/mmdevapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mmdevapi"
-test "x$enable_mmdevapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mmdevapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mmdevapi/%) dlls/mmdevapi: dlls/mmdevapi/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mmdevapi dlls/mmdevapi/__install__ dlls/mmdevapi/__install-lib__ dlls/mmdevapi/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mmdevapi"
+test "x$enable_mmdevapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mmdevapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mmdevapi/%) dlls/mmdevapi: dlls/mmdevapi/Makefile \$(MAKEDEP)
 dlls/mmdevapi/Makefile: dlls/mmdevapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mmdevapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mmdevapi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mmdevapi/tests: __builddeps__
 dlls/mmdevapi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	mmdevapi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-mmdevapi_test.exe: \$(TOPOBJDIR)/dlls/mmdevapi/tests/mmdevapi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "mmdevapi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "mmdevapi_test.exe: \$(TOPOBJDIR)/dlls/mmdevapi/tests/mmdevapi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/mmdevapi/tests/mmdevapi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 mmdevapi_test.rc:
 	echo \"mmdevapi_test.exe TESTRES \\\"mmdevapi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 mmdevapi_test.res: mmdevapi_test.rc mmdevapi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mmdevapi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/mmdevapi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mmdevapi/tests/%) dlls/mmdevapi/tests: dlls/mmdevapi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mmdevapi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mmdevapi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mmdevapi/tests/%) dlls/mmdevapi/tests: dlls/mmdevapi/tests/Makefile \$(MAKEDEP)
 dlls/mmdevapi/tests/Makefile: dlls/mmdevapi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/mmdevapi/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mmdevldr.vxd dlls/mmdevldr.vxd/__install__ dlls/mmdevldr.vxd/__install-lib__ dlls/mmdevldr.vxd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mmdevldr.vxd"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mmdevldr.vxd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mmdevldr.vxd/%) dlls/mmdevldr.vxd: dlls/mmdevldr.vxd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mmdevldr.vxd dlls/mmdevldr.vxd/__install__ dlls/mmdevldr.vxd/__install-lib__ dlls/mmdevldr.vxd/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mmdevldr.vxd"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mmdevldr.vxd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mmdevldr.vxd/%) dlls/mmdevldr.vxd: dlls/mmdevldr.vxd/Makefile \$(MAKEDEP)
 dlls/mmdevldr.vxd/Makefile: dlls/mmdevldr.vxd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mmsystem.dll16 dlls/mmsystem.dll16/__install__ dlls/mmsystem.dll16/__install-lib__ dlls/mmsystem.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mmsystem.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mmsystem.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mmsystem.dll16/%) dlls/mmsystem.dll16: dlls/mmsystem.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mmsystem.dll16 dlls/mmsystem.dll16/__install__ dlls/mmsystem.dll16/__install-lib__ dlls/mmsystem.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mmsystem.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mmsystem.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mmsystem.dll16/%) dlls/mmsystem.dll16: dlls/mmsystem.dll16/Makefile \$(MAKEDEP)
 dlls/mmsystem.dll16/Makefile: dlls/mmsystem.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mmsystem.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/monodebg.vxd dlls/monodebg.vxd/__install__ dlls/monodebg.vxd/__install-lib__ dlls/monodebg.vxd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/monodebg.vxd"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/monodebg.vxd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/monodebg.vxd/%) dlls/monodebg.vxd: dlls/monodebg.vxd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/monodebg.vxd dlls/monodebg.vxd/__install__ dlls/monodebg.vxd/__install-lib__ dlls/monodebg.vxd/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/monodebg.vxd"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/monodebg.vxd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/monodebg.vxd/%) dlls/monodebg.vxd: dlls/monodebg.vxd/Makefile \$(MAKEDEP)
 dlls/monodebg.vxd/Makefile: dlls/monodebg.vxd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mountmgr.sys dlls/mountmgr.sys/__install__ dlls/mountmgr.sys/__install-lib__ dlls/mountmgr.sys/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mountmgr.sys"
-test "x$enable_mountmgr_sys" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mountmgr.sys"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mountmgr.sys/%) dlls/mountmgr.sys: dlls/mountmgr.sys/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mountmgr.sys dlls/mountmgr.sys/__install__ dlls/mountmgr.sys/__install-lib__ dlls/mountmgr.sys/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mountmgr.sys"
+test "x$enable_mountmgr_sys" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mountmgr.sys"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mountmgr.sys/%) dlls/mountmgr.sys: dlls/mountmgr.sys/Makefile \$(MAKEDEP)
 dlls/mountmgr.sys/Makefile: dlls/mountmgr.sys/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mouse.drv16 dlls/mouse.drv16/__install__ dlls/mouse.drv16/__install-lib__ dlls/mouse.drv16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mouse.drv16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mouse.drv16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mouse.drv16/%) dlls/mouse.drv16: dlls/mouse.drv16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mouse.drv16 dlls/mouse.drv16/__install__ dlls/mouse.drv16/__install-lib__ dlls/mouse.drv16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mouse.drv16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mouse.drv16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mouse.drv16/%) dlls/mouse.drv16: dlls/mouse.drv16/Makefile \$(MAKEDEP)
 dlls/mouse.drv16/Makefile: dlls/mouse.drv16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mouse.drv16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/mpr/libmpr.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mpr/libmpr.$IMPLIBEXT dlls/mpr/libmpr.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/mpr/libmpr.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mpr/libmpr.$IMPLIBEXT dlls/mpr/libmpr.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/mpr/libmpr.$IMPLIBEXT dlls/mpr/libmpr.cross.a: dlls/mpr/mpr.spec dlls/mpr/Makefile
 	@cd dlls/mpr && \$(MAKE) \`basename \$@\`
 dlls/mpr dlls/mpr/__install__ dlls/mpr/__install-lib__ dlls/mpr/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mpr"
-test "x$enable_mpr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mpr"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mpr/%) dlls/mpr: dlls/mpr/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mpr"
+test "x$enable_mpr" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mpr"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mpr/%) dlls/mpr: dlls/mpr/Makefile \$(MAKEDEP)
 dlls/mpr/Makefile: dlls/mpr/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mpr/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/mprapi/libmprapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mprapi/libmprapi.$IMPLIBEXT dlls/mprapi/libmprapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/mprapi/libmprapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mprapi/libmprapi.$IMPLIBEXT dlls/mprapi/libmprapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/mprapi/libmprapi.$IMPLIBEXT dlls/mprapi/libmprapi.cross.a: dlls/mprapi/mprapi.spec dlls/mprapi/Makefile
 	@cd dlls/mprapi && \$(MAKE) \`basename \$@\`
 dlls/mprapi dlls/mprapi/__install__ dlls/mprapi/__install-lib__ dlls/mprapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mprapi"
-test "x$enable_mprapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mprapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mprapi/%) dlls/mprapi: dlls/mprapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mprapi"
+test "x$enable_mprapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mprapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mprapi/%) dlls/mprapi: dlls/mprapi/Makefile \$(MAKEDEP)
 dlls/mprapi/Makefile: dlls/mprapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msacm.dll16 dlls/msacm.dll16/__install__ dlls/msacm.dll16/__install-lib__ dlls/msacm.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msacm.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msacm.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msacm.dll16/%) dlls/msacm.dll16: dlls/msacm.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msacm.dll16 dlls/msacm.dll16/__install__ dlls/msacm.dll16/__install-lib__ dlls/msacm.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msacm.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msacm.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msacm.dll16/%) dlls/msacm.dll16: dlls/msacm.dll16/Makefile \$(MAKEDEP)
 dlls/msacm.dll16/Makefile: dlls/msacm.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msacm.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msacm32.drv dlls/msacm32.drv/__install__ dlls/msacm32.drv/__install-lib__ dlls/msacm32.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msacm32.drv"
-test "x$enable_msacm32_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msacm32.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msacm32.drv/%) dlls/msacm32.drv: dlls/msacm32.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msacm32.drv dlls/msacm32.drv/__install__ dlls/msacm32.drv/__install-lib__ dlls/msacm32.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msacm32.drv"
+test "x$enable_msacm32_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msacm32.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msacm32.drv/%) dlls/msacm32.drv: dlls/msacm32.drv/Makefile \$(MAKEDEP)
 dlls/msacm32.drv/Makefile: dlls/msacm32.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msacm32/libmsacm32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msacm32/libmsacm32.$IMPLIBEXT dlls/msacm32/libmsacm32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msacm32/libmsacm32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msacm32/libmsacm32.$IMPLIBEXT dlls/msacm32/libmsacm32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msacm32/libmsacm32.$IMPLIBEXT dlls/msacm32/libmsacm32.cross.a: dlls/msacm32/msacm32.spec dlls/msacm32/Makefile
 	@cd dlls/msacm32 && \$(MAKE) \`basename \$@\`
 dlls/msacm32 dlls/msacm32/__install__ dlls/msacm32/__install-lib__ dlls/msacm32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msacm32"
-test "x$enable_msacm32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msacm32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msacm32/%) dlls/msacm32: dlls/msacm32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msacm32"
+test "x$enable_msacm32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msacm32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msacm32/%) dlls/msacm32: dlls/msacm32/Makefile \$(MAKEDEP)
 dlls/msacm32/Makefile: dlls/msacm32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msacm32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msacm32/tests: __builddeps__
 dlls/msacm32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	msacm32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-msacm32_test.exe: \$(TOPOBJDIR)/dlls/msacm32/tests/msacm32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "msacm32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "msacm32_test.exe: \$(TOPOBJDIR)/dlls/msacm32/tests/msacm32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/msacm32/tests/msacm32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 msacm32_test.rc:
 	echo \"msacm32_test.exe TESTRES \\\"msacm32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 msacm32_test.res: msacm32_test.rc msacm32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msacm32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/msacm32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msacm32/tests/%) dlls/msacm32/tests: dlls/msacm32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msacm32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msacm32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msacm32/tests/%) dlls/msacm32/tests: dlls/msacm32/tests/Makefile \$(MAKEDEP)
 dlls/msacm32/tests/Makefile: dlls/msacm32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msadp32.acm dlls/msadp32.acm/__install__ dlls/msadp32.acm/__install-lib__ dlls/msadp32.acm/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msadp32.acm"
-test "x$enable_msadp32_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msadp32.acm"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msadp32.acm/%) dlls/msadp32.acm: dlls/msadp32.acm/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msadp32.acm dlls/msadp32.acm/__install__ dlls/msadp32.acm/__install-lib__ dlls/msadp32.acm/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msadp32.acm"
+test "x$enable_msadp32_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msadp32.acm"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msadp32.acm/%) dlls/msadp32.acm: dlls/msadp32.acm/Makefile \$(MAKEDEP)
 dlls/msadp32.acm/Makefile: dlls/msadp32.acm/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mscat32 dlls/mscat32/__install__ dlls/mscat32/__install-lib__ dlls/mscat32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mscat32"
-test "x$enable_mscat32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mscat32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mscat32/%) dlls/mscat32: dlls/mscat32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mscat32 dlls/mscat32/__install__ dlls/mscat32/__install-lib__ dlls/mscat32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mscat32"
+test "x$enable_mscat32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mscat32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mscat32/%) dlls/mscat32: dlls/mscat32/Makefile \$(MAKEDEP)
 dlls/mscat32/Makefile: dlls/mscat32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/mscms/libmscms.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mscms/libmscms.$IMPLIBEXT dlls/mscms/libmscms.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/mscms/libmscms.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mscms/libmscms.$IMPLIBEXT dlls/mscms/libmscms.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/mscms/libmscms.$IMPLIBEXT dlls/mscms/libmscms.cross.a: dlls/mscms/mscms.spec dlls/mscms/Makefile
 	@cd dlls/mscms && \$(MAKE) \`basename \$@\`
 dlls/mscms dlls/mscms/__install__ dlls/mscms/__install-lib__ dlls/mscms/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mscms"
-test "x$enable_mscms" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mscms"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mscms/%) dlls/mscms: dlls/mscms/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mscms"
+test "x$enable_mscms" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mscms"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mscms/%) dlls/mscms: dlls/mscms/Makefile \$(MAKEDEP)
 dlls/mscms/Makefile: dlls/mscms/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mscms/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mscms/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mscms/tests: __builddeps__
 dlls/mscms/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	mscms_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-mscms_test.exe: \$(TOPOBJDIR)/dlls/mscms/tests/mscms_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "mscms_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "mscms_test.exe: \$(TOPOBJDIR)/dlls/mscms/tests/mscms_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/mscms/tests/mscms_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 mscms_test.rc:
 	echo \"mscms_test.exe TESTRES \\\"mscms_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 mscms_test.res: mscms_test.rc mscms_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mscms/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/mscms/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mscms/tests/%) dlls/mscms/tests: dlls/mscms/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mscms/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mscms/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mscms/tests/%) dlls/mscms/tests: dlls/mscms/tests/Makefile \$(MAKEDEP)
 dlls/mscms/tests/Makefile: dlls/mscms/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mscoree dlls/mscoree/__install__ dlls/mscoree/__install-lib__ dlls/mscoree/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mscoree"
-test "x$enable_mscoree" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mscoree"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mscoree/%) dlls/mscoree: dlls/mscoree/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mscoree dlls/mscoree/__install__ dlls/mscoree/__install-lib__ dlls/mscoree/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mscoree"
+test "x$enable_mscoree" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mscoree"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mscoree/%) dlls/mscoree: dlls/mscoree/Makefile \$(MAKEDEP)
 dlls/mscoree/Makefile: dlls/mscoree/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msctf dlls/msctf/__install__ dlls/msctf/__install-lib__ dlls/msctf/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msctf"
-test "x$enable_msctf" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msctf"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msctf/%) dlls/msctf: dlls/msctf/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msctf dlls/msctf/__install__ dlls/msctf/__install-lib__ dlls/msctf/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msctf"
+test "x$enable_msctf" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msctf"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msctf/%) dlls/msctf: dlls/msctf/Makefile \$(MAKEDEP)
 dlls/msctf/Makefile: dlls/msctf/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msctf/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msctf/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msctf/tests: __builddeps__
 dlls/msctf/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	msctf_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-msctf_test.exe: \$(TOPOBJDIR)/dlls/msctf/tests/msctf_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "msctf_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "msctf_test.exe: \$(TOPOBJDIR)/dlls/msctf/tests/msctf_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/msctf/tests/msctf_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 msctf_test.rc:
 	echo \"msctf_test.exe TESTRES \\\"msctf_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 msctf_test.res: msctf_test.rc msctf_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msctf/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/msctf/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msctf/tests/%) dlls/msctf/tests: dlls/msctf/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msctf/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msctf/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msctf/tests/%) dlls/msctf/tests: dlls/msctf/tests/Makefile \$(MAKEDEP)
 dlls/msctf/tests/Makefile: dlls/msctf/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/msctf/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msdaps dlls/msdaps/__install__ dlls/msdaps/__install-lib__ dlls/msdaps/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msdaps"
-test "x$enable_msdaps" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msdaps"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msdaps/%) dlls/msdaps: dlls/msdaps/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msdaps dlls/msdaps/__install__ dlls/msdaps/__install-lib__ dlls/msdaps/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msdaps"
+test "x$enable_msdaps" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msdaps"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msdaps/%) dlls/msdaps: dlls/msdaps/Makefile \$(MAKEDEP)
 dlls/msdaps/Makefile: dlls/msdaps/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msdaps/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msdmo/libmsdmo.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msdmo/libmsdmo.$IMPLIBEXT dlls/msdmo/libmsdmo.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msdmo/libmsdmo.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msdmo/libmsdmo.$IMPLIBEXT dlls/msdmo/libmsdmo.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msdmo/libmsdmo.$IMPLIBEXT dlls/msdmo/libmsdmo.cross.a: dlls/msdmo/msdmo.spec dlls/msdmo/Makefile
 	@cd dlls/msdmo && \$(MAKE) \`basename \$@\`
 dlls/msdmo dlls/msdmo/__install__ dlls/msdmo/__install-lib__ dlls/msdmo/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msdmo"
-test "x$enable_msdmo" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msdmo"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msdmo/%) dlls/msdmo: dlls/msdmo/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msdmo"
+test "x$enable_msdmo" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msdmo"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msdmo/%) dlls/msdmo: dlls/msdmo/Makefile \$(MAKEDEP)
 dlls/msdmo/Makefile: dlls/msdmo/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msftedit dlls/msftedit/__install__ dlls/msftedit/__install-lib__ dlls/msftedit/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msftedit"
-test "x$enable_msftedit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msftedit"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msftedit/%) dlls/msftedit: dlls/msftedit/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msftedit dlls/msftedit/__install__ dlls/msftedit/__install-lib__ dlls/msftedit/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msftedit"
+test "x$enable_msftedit" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msftedit"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msftedit/%) dlls/msftedit: dlls/msftedit/Makefile \$(MAKEDEP)
 dlls/msftedit/Makefile: dlls/msftedit/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msg711.acm dlls/msg711.acm/__install__ dlls/msg711.acm/__install-lib__ dlls/msg711.acm/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msg711.acm"
-test "x$enable_msg711_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msg711.acm"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msg711.acm/%) dlls/msg711.acm: dlls/msg711.acm/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msg711.acm dlls/msg711.acm/__install__ dlls/msg711.acm/__install-lib__ dlls/msg711.acm/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msg711.acm"
+test "x$enable_msg711_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msg711.acm"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msg711.acm/%) dlls/msg711.acm: dlls/msg711.acm/Makefile \$(MAKEDEP)
 dlls/msg711.acm/Makefile: dlls/msg711.acm/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msgsm32.acm dlls/msgsm32.acm/__install__ dlls/msgsm32.acm/__install-lib__ dlls/msgsm32.acm/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msgsm32.acm"
-test "x$enable_msgsm32_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msgsm32.acm"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msgsm32.acm/%) dlls/msgsm32.acm: dlls/msgsm32.acm/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msgsm32.acm dlls/msgsm32.acm/__install__ dlls/msgsm32.acm/__install-lib__ dlls/msgsm32.acm/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msgsm32.acm"
+test "x$enable_msgsm32_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msgsm32.acm"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msgsm32.acm/%) dlls/msgsm32.acm: dlls/msgsm32.acm/Makefile \$(MAKEDEP)
 dlls/msgsm32.acm/Makefile: dlls/msgsm32.acm/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msgsm32.acm/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mshtml.tlb dlls/mshtml.tlb/__install__ dlls/mshtml.tlb/__install-lib__ dlls/mshtml.tlb/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mshtml.tlb"
-test "x$enable_mshtml_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mshtml.tlb"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mshtml.tlb/%) dlls/mshtml.tlb: dlls/mshtml.tlb/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mshtml.tlb dlls/mshtml.tlb/__install__ dlls/mshtml.tlb/__install-lib__ dlls/mshtml.tlb/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mshtml.tlb"
+test "x$enable_mshtml_tlb" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mshtml.tlb"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mshtml.tlb/%) dlls/mshtml.tlb: dlls/mshtml.tlb/Makefile \$(MAKEDEP)
 dlls/mshtml.tlb/Makefile: dlls/mshtml.tlb/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/mshtml/libmshtml.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mshtml/libmshtml.$IMPLIBEXT dlls/mshtml/libmshtml.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/mshtml/libmshtml.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mshtml/libmshtml.$IMPLIBEXT dlls/mshtml/libmshtml.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/mshtml/libmshtml.$IMPLIBEXT dlls/mshtml/libmshtml.cross.a: dlls/mshtml/mshtml.spec dlls/mshtml/Makefile
 	@cd dlls/mshtml && \$(MAKE) \`basename \$@\`
 dlls/mshtml dlls/mshtml/__install__ dlls/mshtml/__install-lib__ dlls/mshtml/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mshtml"
-test "x$enable_mshtml" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mshtml"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mshtml/%) dlls/mshtml: dlls/mshtml/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mshtml"
+test "x$enable_mshtml" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mshtml"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mshtml/%) dlls/mshtml: dlls/mshtml/Makefile \$(MAKEDEP)
 dlls/mshtml/Makefile: dlls/mshtml/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mshtml/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mshtml/tests: __builddeps__
 dlls/mshtml/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	mshtml_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-mshtml_test.exe: \$(TOPOBJDIR)/dlls/mshtml/tests/mshtml_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "mshtml_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "mshtml_test.exe: \$(TOPOBJDIR)/dlls/mshtml/tests/mshtml_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/mshtml/tests/mshtml_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 mshtml_test.rc:
 	echo \"mshtml_test.exe TESTRES \\\"mshtml_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 mshtml_test.res: mshtml_test.rc mshtml_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mshtml/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/mshtml/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mshtml/tests/%) dlls/mshtml/tests: dlls/mshtml/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mshtml/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mshtml/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mshtml/tests/%) dlls/mshtml/tests: dlls/mshtml/tests/Makefile \$(MAKEDEP)
 dlls/mshtml/tests/Makefile: dlls/mshtml/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msi/libmsi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msi/libmsi.$IMPLIBEXT dlls/msi/libmsi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msi/libmsi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msi/libmsi.$IMPLIBEXT dlls/msi/libmsi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msi/libmsi.$IMPLIBEXT dlls/msi/libmsi.cross.a: dlls/msi/msi.spec dlls/msi/Makefile
 	@cd dlls/msi && \$(MAKE) \`basename \$@\`
 dlls/msi dlls/msi/__install__ dlls/msi/__install-lib__ dlls/msi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msi"
-test "x$enable_msi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msi/%) dlls/msi: dlls/msi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msi"
+test "x$enable_msi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msi/%) dlls/msi: dlls/msi/Makefile \$(MAKEDEP)
 dlls/msi/Makefile: dlls/msi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msi/tests: __builddeps__
 dlls/msi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	msi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-msi_test.exe: \$(TOPOBJDIR)/dlls/msi/tests/msi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "msi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "msi_test.exe: \$(TOPOBJDIR)/dlls/msi/tests/msi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/msi/tests/msi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 msi_test.rc:
 	echo \"msi_test.exe TESTRES \\\"msi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 msi_test.res: msi_test.rc msi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/msi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msi/tests/%) dlls/msi/tests: dlls/msi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msi/tests/%) dlls/msi/tests: dlls/msi/tests/Makefile \$(MAKEDEP)
 dlls/msi/tests/Makefile: dlls/msi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msimg32/libmsimg32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msimg32/libmsimg32.$IMPLIBEXT dlls/msimg32/libmsimg32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msimg32/libmsimg32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msimg32/libmsimg32.$IMPLIBEXT dlls/msimg32/libmsimg32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msimg32/libmsimg32.$IMPLIBEXT dlls/msimg32/libmsimg32.cross.a: dlls/msimg32/msimg32.spec dlls/msimg32/Makefile
 	@cd dlls/msimg32 && \$(MAKE) \`basename \$@\`
 dlls/msimg32 dlls/msimg32/__install__ dlls/msimg32/__install-lib__ dlls/msimg32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msimg32"
-test "x$enable_msimg32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msimg32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msimg32/%) dlls/msimg32: dlls/msimg32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msimg32"
+test "x$enable_msimg32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msimg32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msimg32/%) dlls/msimg32: dlls/msimg32/Makefile \$(MAKEDEP)
 dlls/msimg32/Makefile: dlls/msimg32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msimtf dlls/msimtf/__install__ dlls/msimtf/__install-lib__ dlls/msimtf/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msimtf"
-test "x$enable_msimtf" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msimtf"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msimtf/%) dlls/msimtf: dlls/msimtf/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msimtf dlls/msimtf/__install__ dlls/msimtf/__install-lib__ dlls/msimtf/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msimtf"
+test "x$enable_msimtf" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msimtf"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msimtf/%) dlls/msimtf: dlls/msimtf/Makefile \$(MAKEDEP)
 dlls/msimtf/Makefile: dlls/msimtf/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msisip dlls/msisip/__install__ dlls/msisip/__install-lib__ dlls/msisip/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msisip"
-test "x$enable_msisip" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msisip"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msisip/%) dlls/msisip: dlls/msisip/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msisip dlls/msisip/__install__ dlls/msisip/__install-lib__ dlls/msisip/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msisip"
+test "x$enable_msisip" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msisip"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msisip/%) dlls/msisip: dlls/msisip/Makefile \$(MAKEDEP)
 dlls/msisip/Makefile: dlls/msisip/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msisip/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msisys.ocx dlls/msisys.ocx/__install__ dlls/msisys.ocx/__install-lib__ dlls/msisys.ocx/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msisys.ocx"
-test "x$enable_msisys_ocx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msisys.ocx"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msisys.ocx/%) dlls/msisys.ocx: dlls/msisys.ocx/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msisys.ocx dlls/msisys.ocx/__install__ dlls/msisys.ocx/__install-lib__ dlls/msisys.ocx/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msisys.ocx"
+test "x$enable_msisys_ocx" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msisys.ocx"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msisys.ocx/%) dlls/msisys.ocx: dlls/msisys.ocx/Makefile \$(MAKEDEP)
 dlls/msisys.ocx/Makefile: dlls/msisys.ocx/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msnet32 dlls/msnet32/__install__ dlls/msnet32/__install-lib__ dlls/msnet32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msnet32"
-test "x$enable_msnet32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msnet32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msnet32/%) dlls/msnet32: dlls/msnet32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msnet32 dlls/msnet32/__install__ dlls/msnet32/__install-lib__ dlls/msnet32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msnet32"
+test "x$enable_msnet32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msnet32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msnet32/%) dlls/msnet32: dlls/msnet32/Makefile \$(MAKEDEP)
 dlls/msnet32/Makefile: dlls/msnet32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msrle32 dlls/msrle32/__install__ dlls/msrle32/__install-lib__ dlls/msrle32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msrle32"
-test "x$enable_msrle32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msrle32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msrle32/%) dlls/msrle32: dlls/msrle32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msrle32 dlls/msrle32/__install__ dlls/msrle32/__install-lib__ dlls/msrle32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msrle32"
+test "x$enable_msrle32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msrle32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msrle32/%) dlls/msrle32: dlls/msrle32/Makefile \$(MAKEDEP)
 dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mssign32 dlls/mssign32/__install__ dlls/mssign32/__install-lib__ dlls/mssign32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mssign32"
-test "x$enable_mssign32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mssign32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mssign32/%) dlls/mssign32: dlls/mssign32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mssign32 dlls/mssign32/__install__ dlls/mssign32/__install-lib__ dlls/mssign32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mssign32"
+test "x$enable_mssign32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mssign32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mssign32/%) dlls/mssign32: dlls/mssign32/Makefile \$(MAKEDEP)
 dlls/mssign32/Makefile: dlls/mssign32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mssign32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mssip32 dlls/mssip32/__install__ dlls/mssip32/__install-lib__ dlls/mssip32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mssip32"
-test "x$enable_mssip32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mssip32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mssip32/%) dlls/mssip32: dlls/mssip32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mssip32 dlls/mssip32/__install__ dlls/mssip32/__install-lib__ dlls/mssip32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mssip32"
+test "x$enable_mssip32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mssip32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mssip32/%) dlls/mssip32: dlls/mssip32/Makefile \$(MAKEDEP)
 dlls/mssip32/Makefile: dlls/mssip32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mstask dlls/mstask/__install__ dlls/mstask/__install-lib__ dlls/mstask/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mstask"
-test "x$enable_mstask" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mstask"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mstask/%) dlls/mstask: dlls/mstask/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mstask dlls/mstask/__install__ dlls/mstask/__install-lib__ dlls/mstask/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/mstask"
+test "x$enable_mstask" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mstask"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mstask/%) dlls/mstask: dlls/mstask/Makefile \$(MAKEDEP)
 dlls/mstask/Makefile: dlls/mstask/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mstask/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mstask/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mstask/tests: __builddeps__
 dlls/mstask/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	mstask_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-mstask_test.exe: \$(TOPOBJDIR)/dlls/mstask/tests/mstask_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "mstask_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "mstask_test.exe: \$(TOPOBJDIR)/dlls/mstask/tests/mstask_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/mstask/tests/mstask_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 mstask_test.rc:
 	echo \"mstask_test.exe TESTRES \\\"mstask_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 mstask_test.res: mstask_test.rc mstask_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mstask/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/mstask/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mstask/tests/%) dlls/mstask/tests: dlls/mstask/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mstask/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mstask/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mstask/tests/%) dlls/mstask/tests: dlls/mstask/tests/Makefile \$(MAKEDEP)
 dlls/mstask/tests/Makefile: dlls/mstask/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/mstask/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvcirt dlls/msvcirt/__install__ dlls/msvcirt/__install-lib__ dlls/msvcirt/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvcirt"
-test "x$enable_msvcirt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msvcirt"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvcirt/%) dlls/msvcirt: dlls/msvcirt/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcirt dlls/msvcirt/__install__ dlls/msvcirt/__install-lib__ dlls/msvcirt/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msvcirt"
+test "x$enable_msvcirt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcirt"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvcirt/%) dlls/msvcirt: dlls/msvcirt/Makefile \$(MAKEDEP)
 dlls/msvcirt/Makefile: dlls/msvcirt/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msvcr71/libmsvcr71.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvcr71/libmsvcr71.$IMPLIBEXT dlls/msvcr71/libmsvcr71.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcr71/libmsvcr71.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcr71/libmsvcr71.$IMPLIBEXT dlls/msvcr71/libmsvcr71.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msvcr71/libmsvcr71.$IMPLIBEXT dlls/msvcr71/libmsvcr71.cross.a: dlls/msvcr71/msvcr71.spec dlls/msvcr71/Makefile
 	@cd dlls/msvcr71 && \$(MAKE) \`basename \$@\`
 dlls/msvcr71 dlls/msvcr71/__install__ dlls/msvcr71/__install-lib__ dlls/msvcr71/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvcr71"
-test "x$enable_msvcr71" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msvcr71"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvcr71/%) dlls/msvcr71: dlls/msvcr71/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msvcr71"
+test "x$enable_msvcr71" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcr71"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvcr71/%) dlls/msvcr71: dlls/msvcr71/Makefile \$(MAKEDEP)
 dlls/msvcr71/Makefile: dlls/msvcr71/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msvcrt/libmsvcrt.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvcrt/libmsvcrt.$IMPLIBEXT dlls/msvcrt/libmsvcrt.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcrt/libmsvcrt.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrt/libmsvcrt.$IMPLIBEXT dlls/msvcrt/libmsvcrt.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msvcrt/libmsvcrt.$IMPLIBEXT dlls/msvcrt/libmsvcrt.cross.a: dlls/msvcrt/msvcrt.spec dlls/msvcrt/Makefile
 	@cd dlls/msvcrt && \$(MAKE) \`basename \$@\`
 dlls/msvcrt dlls/msvcrt/__install__ dlls/msvcrt/__install-lib__ dlls/msvcrt/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvcrt"
-test "x$enable_msvcrt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msvcrt"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvcrt/%) dlls/msvcrt: dlls/msvcrt/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msvcrt"
+test "x$enable_msvcrt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcrt"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvcrt/%) dlls/msvcrt: dlls/msvcrt/Makefile \$(MAKEDEP)
 dlls/msvcrt/Makefile: dlls/msvcrt/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvcrt/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrt/tests: __builddeps__
 dlls/msvcrt/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	msvcrt_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-msvcrt_test.exe: \$(TOPOBJDIR)/dlls/msvcrt/tests/msvcrt_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "msvcrt_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "msvcrt_test.exe: \$(TOPOBJDIR)/dlls/msvcrt/tests/msvcrt_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/msvcrt/tests/msvcrt_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 msvcrt_test.rc:
 	echo \"msvcrt_test.exe TESTRES \\\"msvcrt_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 msvcrt_test.res: msvcrt_test.rc msvcrt_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvcrt/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/msvcrt/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvcrt/tests/%) dlls/msvcrt/tests: dlls/msvcrt/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msvcrt/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msvcrt/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvcrt/tests/%) dlls/msvcrt/tests: dlls/msvcrt/tests/Makefile \$(MAKEDEP)
 dlls/msvcrt/tests/Makefile: dlls/msvcrt/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msvcrt20/libmsvcrt20.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvcrt20/libmsvcrt20.$IMPLIBEXT dlls/msvcrt20/libmsvcrt20.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcrt20/libmsvcrt20.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrt20/libmsvcrt20.$IMPLIBEXT dlls/msvcrt20/libmsvcrt20.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msvcrt20/libmsvcrt20.$IMPLIBEXT dlls/msvcrt20/libmsvcrt20.cross.a: dlls/msvcrt20/msvcrt20.spec dlls/msvcrt20/Makefile
 	@cd dlls/msvcrt20 && \$(MAKE) \`basename \$@\`
 dlls/msvcrt20 dlls/msvcrt20/__install__ dlls/msvcrt20/__install-lib__ dlls/msvcrt20/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvcrt20"
-test "x$enable_msvcrt20" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msvcrt20"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvcrt20/%) dlls/msvcrt20: dlls/msvcrt20/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msvcrt20"
+test "x$enable_msvcrt20" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcrt20"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvcrt20/%) dlls/msvcrt20: dlls/msvcrt20/Makefile \$(MAKEDEP)
 dlls/msvcrt20/Makefile: dlls/msvcrt20/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msvcrt40/libmsvcrt40.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvcrt40/libmsvcrt40.$IMPLIBEXT dlls/msvcrt40/libmsvcrt40.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcrt40/libmsvcrt40.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrt40/libmsvcrt40.$IMPLIBEXT dlls/msvcrt40/libmsvcrt40.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msvcrt40/libmsvcrt40.$IMPLIBEXT dlls/msvcrt40/libmsvcrt40.cross.a: dlls/msvcrt40/msvcrt40.spec dlls/msvcrt40/Makefile
 	@cd dlls/msvcrt40 && \$(MAKE) \`basename \$@\`
 dlls/msvcrt40 dlls/msvcrt40/__install__ dlls/msvcrt40/__install-lib__ dlls/msvcrt40/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvcrt40"
-test "x$enable_msvcrt40" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msvcrt40"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvcrt40/%) dlls/msvcrt40: dlls/msvcrt40/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msvcrt40"
+test "x$enable_msvcrt40" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcrt40"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvcrt40/%) dlls/msvcrt40: dlls/msvcrt40/Makefile \$(MAKEDEP)
 dlls/msvcrt40/Makefile: dlls/msvcrt40/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msvcrtd/libmsvcrtd.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvcrtd/libmsvcrtd.$IMPLIBEXT dlls/msvcrtd/libmsvcrtd.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcrtd/libmsvcrtd.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrtd/libmsvcrtd.$IMPLIBEXT dlls/msvcrtd/libmsvcrtd.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msvcrtd/libmsvcrtd.$IMPLIBEXT dlls/msvcrtd/libmsvcrtd.cross.a: dlls/msvcrtd/msvcrtd.spec dlls/msvcrtd/Makefile
 	@cd dlls/msvcrtd && \$(MAKE) \`basename \$@\`
 dlls/msvcrtd dlls/msvcrtd/__install__ dlls/msvcrtd/__install-lib__ dlls/msvcrtd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvcrtd"
-test "x$enable_msvcrtd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msvcrtd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvcrtd/%) dlls/msvcrtd: dlls/msvcrtd/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msvcrtd"
+test "x$enable_msvcrtd" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcrtd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvcrtd/%) dlls/msvcrtd: dlls/msvcrtd/Makefile \$(MAKEDEP)
 dlls/msvcrtd/Makefile: dlls/msvcrtd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvcrtd/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrtd/tests: __builddeps__
 dlls/msvcrtd/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	msvcrtd_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-msvcrtd_test.exe: \$(TOPOBJDIR)/dlls/msvcrtd/tests/msvcrtd_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "msvcrtd_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "msvcrtd_test.exe: \$(TOPOBJDIR)/dlls/msvcrtd/tests/msvcrtd_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/msvcrtd/tests/msvcrtd_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 msvcrtd_test.rc:
 	echo \"msvcrtd_test.exe TESTRES \\\"msvcrtd_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 msvcrtd_test.res: msvcrtd_test.rc msvcrtd_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvcrtd/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/msvcrtd/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvcrtd/tests/%) dlls/msvcrtd/tests: dlls/msvcrtd/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msvcrtd/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msvcrtd/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvcrtd/tests/%) dlls/msvcrtd/tests: dlls/msvcrtd/tests/Makefile \$(MAKEDEP)
 dlls/msvcrtd/tests/Makefile: dlls/msvcrtd/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/msvfw32/libmsvfw32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvfw32/libmsvfw32.$IMPLIBEXT dlls/msvfw32/libmsvfw32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvfw32/libmsvfw32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvfw32/libmsvfw32.$IMPLIBEXT dlls/msvfw32/libmsvfw32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/msvfw32/libmsvfw32.$IMPLIBEXT dlls/msvfw32/libmsvfw32.cross.a: dlls/msvfw32/msvfw32.spec dlls/msvfw32/Makefile
 	@cd dlls/msvfw32 && \$(MAKE) \`basename \$@\`
 dlls/msvfw32 dlls/msvfw32/__install__ dlls/msvfw32/__install-lib__ dlls/msvfw32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvfw32"
-test "x$enable_msvfw32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msvfw32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvfw32/%) dlls/msvfw32: dlls/msvfw32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msvfw32"
+test "x$enable_msvfw32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvfw32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvfw32/%) dlls/msvfw32: dlls/msvfw32/Makefile \$(MAKEDEP)
 dlls/msvfw32/Makefile: dlls/msvfw32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvfw32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvfw32/tests: __builddeps__
 dlls/msvfw32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	msvfw32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-msvfw32_test.exe: \$(TOPOBJDIR)/dlls/msvfw32/tests/msvfw32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "msvfw32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "msvfw32_test.exe: \$(TOPOBJDIR)/dlls/msvfw32/tests/msvfw32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/msvfw32/tests/msvfw32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 msvfw32_test.rc:
 	echo \"msvfw32_test.exe TESTRES \\\"msvfw32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 msvfw32_test.res: msvfw32_test.rc msvfw32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvfw32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/msvfw32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvfw32/tests/%) dlls/msvfw32/tests: dlls/msvfw32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msvfw32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msvfw32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvfw32/tests/%) dlls/msvfw32/tests: dlls/msvfw32/tests/Makefile \$(MAKEDEP)
 dlls/msvfw32/tests/Makefile: dlls/msvfw32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/msvfw32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvidc32 dlls/msvidc32/__install__ dlls/msvidc32/__install-lib__ dlls/msvidc32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvidc32"
-test "x$enable_msvidc32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msvidc32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvidc32/%) dlls/msvidc32: dlls/msvidc32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvidc32 dlls/msvidc32/__install__ dlls/msvidc32/__install-lib__ dlls/msvidc32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msvidc32"
+test "x$enable_msvidc32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvidc32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvidc32/%) dlls/msvidc32: dlls/msvidc32/Makefile \$(MAKEDEP)
 dlls/msvidc32/Makefile: dlls/msvidc32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msvideo.dll16 dlls/msvideo.dll16/__install__ dlls/msvideo.dll16/__install-lib__ dlls/msvideo.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msvideo.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msvideo.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msvideo.dll16/%) dlls/msvideo.dll16: dlls/msvideo.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvideo.dll16 dlls/msvideo.dll16/__install__ dlls/msvideo.dll16/__install-lib__ dlls/msvideo.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msvideo.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvideo.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msvideo.dll16/%) dlls/msvideo.dll16: dlls/msvideo.dll16/Makefile \$(MAKEDEP)
 dlls/msvideo.dll16/Makefile: dlls/msvideo.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msvideo.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/mswsock/libmswsock.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/mswsock/libmswsock.$IMPLIBEXT dlls/mswsock/libmswsock.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/mswsock/libmswsock.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mswsock/libmswsock.$IMPLIBEXT dlls/mswsock/libmswsock.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/mswsock/libmswsock.$IMPLIBEXT dlls/mswsock/libmswsock.cross.a: dlls/mswsock/mswsock.spec dlls/mswsock/Makefile
 	@cd dlls/mswsock && \$(MAKE) \`basename \$@\`
 dlls/mswsock dlls/mswsock/__install__ dlls/mswsock/__install-lib__ dlls/mswsock/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/mswsock"
-test "x$enable_mswsock" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/mswsock"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/mswsock/%) dlls/mswsock: dlls/mswsock/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/mswsock"
+test "x$enable_mswsock" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mswsock"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/mswsock/%) dlls/mswsock: dlls/mswsock/Makefile \$(MAKEDEP)
 dlls/mswsock/Makefile: dlls/mswsock/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msxml3 dlls/msxml3/__install__ dlls/msxml3/__install-lib__ dlls/msxml3/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msxml3"
-test "x$enable_msxml3" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msxml3"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msxml3/%) dlls/msxml3: dlls/msxml3/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msxml3 dlls/msxml3/__install__ dlls/msxml3/__install-lib__ dlls/msxml3/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msxml3"
+test "x$enable_msxml3" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msxml3"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msxml3/%) dlls/msxml3: dlls/msxml3/Makefile \$(MAKEDEP)
 dlls/msxml3/Makefile: dlls/msxml3/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msxml3/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msxml3/tests: __builddeps__
 dlls/msxml3/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	msxml3_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-msxml3_test.exe: \$(TOPOBJDIR)/dlls/msxml3/tests/msxml3_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "msxml3_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "msxml3_test.exe: \$(TOPOBJDIR)/dlls/msxml3/tests/msxml3_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/msxml3/tests/msxml3_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 msxml3_test.rc:
 	echo \"msxml3_test.exe TESTRES \\\"msxml3_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 msxml3_test.res: msxml3_test.rc msxml3_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msxml3/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/msxml3/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msxml3/tests/%) dlls/msxml3/tests: dlls/msxml3/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/msxml3/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msxml3/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msxml3/tests/%) dlls/msxml3/tests: dlls/msxml3/tests/Makefile \$(MAKEDEP)
 dlls/msxml3/tests/Makefile: dlls/msxml3/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/msxml4 dlls/msxml4/__install__ dlls/msxml4/__install-lib__ dlls/msxml4/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/msxml4"
-test "x$enable_msxml4" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/msxml4"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/msxml4/%) dlls/msxml4: dlls/msxml4/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msxml4 dlls/msxml4/__install__ dlls/msxml4/__install-lib__ dlls/msxml4/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/msxml4"
+test "x$enable_msxml4" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msxml4"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/msxml4/%) dlls/msxml4: dlls/msxml4/Makefile \$(MAKEDEP)
 dlls/msxml4/Makefile: dlls/msxml4/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/msxml4/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/nddeapi/libnddeapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/nddeapi/libnddeapi.$IMPLIBEXT dlls/nddeapi/libnddeapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/nddeapi/libnddeapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/nddeapi/libnddeapi.$IMPLIBEXT dlls/nddeapi/libnddeapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/nddeapi/libnddeapi.$IMPLIBEXT dlls/nddeapi/libnddeapi.cross.a: dlls/nddeapi/nddeapi.spec dlls/nddeapi/Makefile
 	@cd dlls/nddeapi && \$(MAKE) \`basename \$@\`
 dlls/nddeapi dlls/nddeapi/__install__ dlls/nddeapi/__install-lib__ dlls/nddeapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/nddeapi"
-test "x$enable_nddeapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/nddeapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/nddeapi/%) dlls/nddeapi: dlls/nddeapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/nddeapi"
+test "x$enable_nddeapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/nddeapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/nddeapi/%) dlls/nddeapi: dlls/nddeapi/Makefile \$(MAKEDEP)
 dlls/nddeapi/Makefile: dlls/nddeapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/netapi32/libnetapi32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/netapi32/libnetapi32.$IMPLIBEXT dlls/netapi32/libnetapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/netapi32/libnetapi32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/netapi32/libnetapi32.$IMPLIBEXT dlls/netapi32/libnetapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/netapi32/libnetapi32.$IMPLIBEXT dlls/netapi32/libnetapi32.cross.a: dlls/netapi32/netapi32.spec dlls/netapi32/Makefile
 	@cd dlls/netapi32 && \$(MAKE) \`basename \$@\`
 dlls/netapi32 dlls/netapi32/__install__ dlls/netapi32/__install-lib__ dlls/netapi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/netapi32"
-test "x$enable_netapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/netapi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/netapi32/%) dlls/netapi32: dlls/netapi32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/netapi32"
+test "x$enable_netapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/netapi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/netapi32/%) dlls/netapi32: dlls/netapi32/Makefile \$(MAKEDEP)
 dlls/netapi32/Makefile: dlls/netapi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/netapi32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/netapi32/tests: __builddeps__
 dlls/netapi32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	netapi32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-netapi32_test.exe: \$(TOPOBJDIR)/dlls/netapi32/tests/netapi32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "netapi32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "netapi32_test.exe: \$(TOPOBJDIR)/dlls/netapi32/tests/netapi32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/netapi32/tests/netapi32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 netapi32_test.rc:
 	echo \"netapi32_test.exe TESTRES \\\"netapi32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 netapi32_test.res: netapi32_test.rc netapi32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/netapi32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/netapi32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/netapi32/tests/%) dlls/netapi32/tests: dlls/netapi32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/netapi32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/netapi32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/netapi32/tests/%) dlls/netapi32/tests: dlls/netapi32/tests/Makefile \$(MAKEDEP)
 dlls/netapi32/tests/Makefile: dlls/netapi32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/newdev/libnewdev.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/newdev/libnewdev.$IMPLIBEXT dlls/newdev/libnewdev.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/newdev/libnewdev.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/newdev/libnewdev.$IMPLIBEXT dlls/newdev/libnewdev.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/newdev/libnewdev.$IMPLIBEXT dlls/newdev/libnewdev.cross.a: dlls/newdev/newdev.spec dlls/newdev/Makefile
 	@cd dlls/newdev && \$(MAKE) \`basename \$@\`
 dlls/newdev dlls/newdev/__install__ dlls/newdev/__install-lib__ dlls/newdev/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/newdev"
-test "x$enable_newdev" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/newdev"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/newdev/%) dlls/newdev: dlls/newdev/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/newdev"
+test "x$enable_newdev" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/newdev"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/newdev/%) dlls/newdev: dlls/newdev/Makefile \$(MAKEDEP)
 dlls/newdev/Makefile: dlls/newdev/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/newdev/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/ntdll/libntdll.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ntdll/libntdll.$IMPLIBEXT dlls/ntdll/libntdll.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/ntdll/libntdll.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntdll/libntdll.$IMPLIBEXT dlls/ntdll/libntdll.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/ntdll/libntdll.$IMPLIBEXT dlls/ntdll/libntdll.cross.a: dlls/ntdll/ntdll.spec dlls/ntdll/Makefile
 	@cd dlls/ntdll && \$(MAKE) \`basename \$@\`
 dlls/ntdll dlls/ntdll/__install__ dlls/ntdll/__install-lib__ dlls/ntdll/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ntdll"
-test "x$enable_ntdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ntdll"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ntdll/%) dlls/ntdll: dlls/ntdll/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ntdll"
+test "x$enable_ntdll" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ntdll"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ntdll/%) dlls/ntdll: dlls/ntdll/Makefile \$(MAKEDEP)
 dlls/ntdll/Makefile: dlls/ntdll/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ntdll/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntdll/tests: __builddeps__
 dlls/ntdll/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	ntdll_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-ntdll_test.exe: \$(TOPOBJDIR)/dlls/ntdll/tests/ntdll_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "ntdll_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "ntdll_test.exe: \$(TOPOBJDIR)/dlls/ntdll/tests/ntdll_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/ntdll/tests/ntdll_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 ntdll_test.rc:
 	echo \"ntdll_test.exe TESTRES \\\"ntdll_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 ntdll_test.res: ntdll_test.rc ntdll_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ntdll/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/ntdll/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ntdll/tests/%) dlls/ntdll/tests: dlls/ntdll/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ntdll/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ntdll/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ntdll/tests/%) dlls/ntdll/tests: dlls/ntdll/tests/Makefile \$(MAKEDEP)
 dlls/ntdll/tests/Makefile: dlls/ntdll/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/ntdsapi/libntdsapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ntdsapi/libntdsapi.$IMPLIBEXT dlls/ntdsapi/libntdsapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/ntdsapi/libntdsapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntdsapi/libntdsapi.$IMPLIBEXT dlls/ntdsapi/libntdsapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/ntdsapi/libntdsapi.$IMPLIBEXT dlls/ntdsapi/libntdsapi.cross.a: dlls/ntdsapi/ntdsapi.spec dlls/ntdsapi/Makefile
 	@cd dlls/ntdsapi && \$(MAKE) \`basename \$@\`
 dlls/ntdsapi dlls/ntdsapi/__install__ dlls/ntdsapi/__install-lib__ dlls/ntdsapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ntdsapi"
-test "x$enable_ntdsapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ntdsapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ntdsapi/%) dlls/ntdsapi: dlls/ntdsapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ntdsapi"
+test "x$enable_ntdsapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ntdsapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ntdsapi/%) dlls/ntdsapi: dlls/ntdsapi/Makefile \$(MAKEDEP)
 dlls/ntdsapi/Makefile: dlls/ntdsapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ntdsapi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntdsapi/tests: __builddeps__
 dlls/ntdsapi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	ntdsapi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-ntdsapi_test.exe: \$(TOPOBJDIR)/dlls/ntdsapi/tests/ntdsapi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "ntdsapi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "ntdsapi_test.exe: \$(TOPOBJDIR)/dlls/ntdsapi/tests/ntdsapi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/ntdsapi/tests/ntdsapi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 ntdsapi_test.rc:
 	echo \"ntdsapi_test.exe TESTRES \\\"ntdsapi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 ntdsapi_test.res: ntdsapi_test.rc ntdsapi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ntdsapi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/ntdsapi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ntdsapi/tests/%) dlls/ntdsapi/tests: dlls/ntdsapi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ntdsapi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ntdsapi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ntdsapi/tests/%) dlls/ntdsapi/tests: dlls/ntdsapi/tests/Makefile \$(MAKEDEP)
 dlls/ntdsapi/tests/Makefile: dlls/ntdsapi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/ntoskrnl.exe/libntoskrnl.exe.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ntoskrnl.exe/libntoskrnl.exe.$IMPLIBEXT dlls/ntoskrnl.exe/libntoskrnl.exe.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/ntoskrnl.exe/libntoskrnl.exe.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntoskrnl.exe/libntoskrnl.exe.$IMPLIBEXT dlls/ntoskrnl.exe/libntoskrnl.exe.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/ntoskrnl.exe/libntoskrnl.exe.$IMPLIBEXT dlls/ntoskrnl.exe/libntoskrnl.exe.cross.a: dlls/ntoskrnl.exe/ntoskrnl.exe.spec dlls/ntoskrnl.exe/Makefile
 	@cd dlls/ntoskrnl.exe && \$(MAKE) \`basename \$@\`
 dlls/ntoskrnl.exe dlls/ntoskrnl.exe/__install__ dlls/ntoskrnl.exe/__install-lib__ dlls/ntoskrnl.exe/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ntoskrnl.exe"
-test "x$enable_ntoskrnl_exe" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ntoskrnl.exe"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ntoskrnl.exe/%) dlls/ntoskrnl.exe: dlls/ntoskrnl.exe/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ntoskrnl.exe"
+test "x$enable_ntoskrnl_exe" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ntoskrnl.exe"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ntoskrnl.exe/%) dlls/ntoskrnl.exe: dlls/ntoskrnl.exe/Makefile \$(MAKEDEP)
 dlls/ntoskrnl.exe/Makefile: dlls/ntoskrnl.exe/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ntprint dlls/ntprint/__install__ dlls/ntprint/__install-lib__ dlls/ntprint/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ntprint"
-test "x$enable_ntprint" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ntprint"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ntprint/%) dlls/ntprint: dlls/ntprint/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntprint dlls/ntprint/__install__ dlls/ntprint/__install-lib__ dlls/ntprint/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ntprint"
+test "x$enable_ntprint" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ntprint"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ntprint/%) dlls/ntprint: dlls/ntprint/Makefile \$(MAKEDEP)
 dlls/ntprint/Makefile: dlls/ntprint/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ntprint/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntprint/tests: __builddeps__
 dlls/ntprint/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	ntprint_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-ntprint_test.exe: \$(TOPOBJDIR)/dlls/ntprint/tests/ntprint_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "ntprint_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "ntprint_test.exe: \$(TOPOBJDIR)/dlls/ntprint/tests/ntprint_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/ntprint/tests/ntprint_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 ntprint_test.rc:
 	echo \"ntprint_test.exe TESTRES \\\"ntprint_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 ntprint_test.res: ntprint_test.rc ntprint_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ntprint/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/ntprint/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ntprint/tests/%) dlls/ntprint/tests: dlls/ntprint/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ntprint/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ntprint/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ntprint/tests/%) dlls/ntprint/tests: dlls/ntprint/tests/Makefile \$(MAKEDEP)
 dlls/ntprint/tests/Makefile: dlls/ntprint/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/objsel dlls/objsel/__install__ dlls/objsel/__install-lib__ dlls/objsel/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/objsel"
-test "x$enable_objsel" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/objsel"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/objsel/%) dlls/objsel: dlls/objsel/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/objsel dlls/objsel/__install__ dlls/objsel/__install-lib__ dlls/objsel/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/objsel"
+test "x$enable_objsel" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/objsel"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/objsel/%) dlls/objsel: dlls/objsel/Makefile \$(MAKEDEP)
 dlls/objsel/Makefile: dlls/objsel/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/objsel/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/odbc32/libodbc32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/odbc32/libodbc32.$IMPLIBEXT dlls/odbc32/libodbc32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/odbc32/libodbc32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/odbc32/libodbc32.$IMPLIBEXT dlls/odbc32/libodbc32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/odbc32/libodbc32.$IMPLIBEXT dlls/odbc32/libodbc32.cross.a: dlls/odbc32/odbc32.spec dlls/odbc32/Makefile
 	@cd dlls/odbc32 && \$(MAKE) \`basename \$@\`
 dlls/odbc32 dlls/odbc32/__install__ dlls/odbc32/__install-lib__ dlls/odbc32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/odbc32"
-test "x$enable_odbc32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/odbc32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/odbc32/%) dlls/odbc32: dlls/odbc32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/odbc32"
+test "x$enable_odbc32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/odbc32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/odbc32/%) dlls/odbc32: dlls/odbc32/Makefile \$(MAKEDEP)
 dlls/odbc32/Makefile: dlls/odbc32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/odbccp32/libodbccp32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/odbccp32/libodbccp32.$IMPLIBEXT dlls/odbccp32/libodbccp32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/odbccp32/libodbccp32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/odbccp32/libodbccp32.$IMPLIBEXT dlls/odbccp32/libodbccp32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/odbccp32/libodbccp32.$IMPLIBEXT dlls/odbccp32/libodbccp32.cross.a: dlls/odbccp32/odbccp32.spec dlls/odbccp32/Makefile
 	@cd dlls/odbccp32 && \$(MAKE) \`basename \$@\`
 dlls/odbccp32 dlls/odbccp32/__install__ dlls/odbccp32/__install-lib__ dlls/odbccp32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/odbccp32"
-test "x$enable_odbccp32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/odbccp32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/odbccp32/%) dlls/odbccp32: dlls/odbccp32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/odbccp32"
+test "x$enable_odbccp32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/odbccp32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/odbccp32/%) dlls/odbccp32: dlls/odbccp32/Makefile \$(MAKEDEP)
 dlls/odbccp32/Makefile: dlls/odbccp32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/odbccp32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/odbccp32/tests: __builddeps__
 dlls/odbccp32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	odbccp32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-odbccp32_test.exe: \$(TOPOBJDIR)/dlls/odbccp32/tests/odbccp32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "odbccp32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "odbccp32_test.exe: \$(TOPOBJDIR)/dlls/odbccp32/tests/odbccp32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/odbccp32/tests/odbccp32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 odbccp32_test.rc:
 	echo \"odbccp32_test.exe TESTRES \\\"odbccp32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 odbccp32_test.res: odbccp32_test.rc odbccp32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/odbccp32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/odbccp32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/odbccp32/tests/%) dlls/odbccp32/tests: dlls/odbccp32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/odbccp32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/odbccp32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/odbccp32/tests/%) dlls/odbccp32/tests: dlls/odbccp32/tests/Makefile \$(MAKEDEP)
 dlls/odbccp32/tests/Makefile: dlls/odbccp32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ole2.dll16 dlls/ole2.dll16/__install__ dlls/ole2.dll16/__install-lib__ dlls/ole2.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ole2.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ole2.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ole2.dll16/%) dlls/ole2.dll16: dlls/ole2.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2.dll16 dlls/ole2.dll16/__install__ dlls/ole2.dll16/__install-lib__ dlls/ole2.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ole2.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ole2.dll16/%) dlls/ole2.dll16: dlls/ole2.dll16/Makefile \$(MAKEDEP)
 dlls/ole2.dll16/Makefile: dlls/ole2.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ole2.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ole2conv.dll16 dlls/ole2conv.dll16/__install__ dlls/ole2conv.dll16/__install-lib__ dlls/ole2conv.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ole2conv.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ole2conv.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ole2conv.dll16/%) dlls/ole2conv.dll16: dlls/ole2conv.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2conv.dll16 dlls/ole2conv.dll16/__install__ dlls/ole2conv.dll16/__install-lib__ dlls/ole2conv.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ole2conv.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2conv.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ole2conv.dll16/%) dlls/ole2conv.dll16: dlls/ole2conv.dll16/Makefile \$(MAKEDEP)
 dlls/ole2conv.dll16/Makefile: dlls/ole2conv.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ole2conv.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ole2disp.dll16 dlls/ole2disp.dll16/__install__ dlls/ole2disp.dll16/__install-lib__ dlls/ole2disp.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ole2disp.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ole2disp.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ole2disp.dll16/%) dlls/ole2disp.dll16: dlls/ole2disp.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2disp.dll16 dlls/ole2disp.dll16/__install__ dlls/ole2disp.dll16/__install-lib__ dlls/ole2disp.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ole2disp.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2disp.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ole2disp.dll16/%) dlls/ole2disp.dll16: dlls/ole2disp.dll16/Makefile \$(MAKEDEP)
 dlls/ole2disp.dll16/Makefile: dlls/ole2disp.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ole2disp.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ole2nls.dll16 dlls/ole2nls.dll16/__install__ dlls/ole2nls.dll16/__install-lib__ dlls/ole2nls.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ole2nls.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ole2nls.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ole2nls.dll16/%) dlls/ole2nls.dll16: dlls/ole2nls.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2nls.dll16 dlls/ole2nls.dll16/__install__ dlls/ole2nls.dll16/__install-lib__ dlls/ole2nls.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ole2nls.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2nls.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ole2nls.dll16/%) dlls/ole2nls.dll16: dlls/ole2nls.dll16/Makefile \$(MAKEDEP)
 dlls/ole2nls.dll16/Makefile: dlls/ole2nls.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ole2nls.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ole2prox.dll16 dlls/ole2prox.dll16/__install__ dlls/ole2prox.dll16/__install-lib__ dlls/ole2prox.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ole2prox.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ole2prox.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ole2prox.dll16/%) dlls/ole2prox.dll16: dlls/ole2prox.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2prox.dll16 dlls/ole2prox.dll16/__install__ dlls/ole2prox.dll16/__install-lib__ dlls/ole2prox.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ole2prox.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2prox.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ole2prox.dll16/%) dlls/ole2prox.dll16: dlls/ole2prox.dll16/Makefile \$(MAKEDEP)
 dlls/ole2prox.dll16/Makefile: dlls/ole2prox.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ole2prox.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ole2thk.dll16 dlls/ole2thk.dll16/__install__ dlls/ole2thk.dll16/__install-lib__ dlls/ole2thk.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ole2thk.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ole2thk.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ole2thk.dll16/%) dlls/ole2thk.dll16: dlls/ole2thk.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2thk.dll16 dlls/ole2thk.dll16/__install__ dlls/ole2thk.dll16/__install-lib__ dlls/ole2thk.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ole2thk.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2thk.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ole2thk.dll16/%) dlls/ole2thk.dll16: dlls/ole2thk.dll16/Makefile \$(MAKEDEP)
 dlls/ole2thk.dll16/Makefile: dlls/ole2thk.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ole2thk.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/ole32/libole32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ole32/libole32.$IMPLIBEXT dlls/ole32/libole32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/ole32/libole32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole32/libole32.$IMPLIBEXT dlls/ole32/libole32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/ole32/libole32.$IMPLIBEXT dlls/ole32/libole32.cross.a: dlls/ole32/ole32.spec dlls/ole32/Makefile
 	@cd dlls/ole32 && \$(MAKE) \`basename \$@\`
 dlls/ole32 dlls/ole32/__install__ dlls/ole32/__install-lib__ dlls/ole32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ole32"
-test "x$enable_ole32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ole32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ole32/%) dlls/ole32: dlls/ole32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ole32"
+test "x$enable_ole32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ole32/%) dlls/ole32: dlls/ole32/Makefile \$(MAKEDEP)
 dlls/ole32/Makefile: dlls/ole32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ole32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ole32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole32/tests: __builddeps__
 dlls/ole32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	ole32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-ole32_test.exe: \$(TOPOBJDIR)/dlls/ole32/tests/ole32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "ole32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "ole32_test.exe: \$(TOPOBJDIR)/dlls/ole32/tests/ole32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/ole32/tests/ole32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 ole32_test.rc:
 	echo \"ole32_test.exe TESTRES \\\"ole32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 ole32_test.res: ole32_test.rc ole32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ole32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/ole32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ole32/tests/%) dlls/ole32/tests: dlls/ole32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ole32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ole32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ole32/tests/%) dlls/ole32/tests: dlls/ole32/tests/Makefile \$(MAKEDEP)
 dlls/ole32/tests/Makefile: dlls/ole32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/oleacc/liboleacc.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/oleacc/liboleacc.$IMPLIBEXT dlls/oleacc/liboleacc.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/oleacc/liboleacc.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oleacc/liboleacc.$IMPLIBEXT dlls/oleacc/liboleacc.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/oleacc/liboleacc.$IMPLIBEXT dlls/oleacc/liboleacc.cross.a: dlls/oleacc/oleacc.spec dlls/oleacc/Makefile
 	@cd dlls/oleacc && \$(MAKE) \`basename \$@\`
 dlls/oleacc dlls/oleacc/__install__ dlls/oleacc/__install-lib__ dlls/oleacc/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/oleacc"
-test "x$enable_oleacc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/oleacc"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/oleacc/%) dlls/oleacc: dlls/oleacc/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/oleacc"
+test "x$enable_oleacc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/oleacc"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/oleacc/%) dlls/oleacc: dlls/oleacc/Makefile \$(MAKEDEP)
 dlls/oleacc/Makefile: dlls/oleacc/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/oleacc/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oleacc/tests: __builddeps__
 dlls/oleacc/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	oleacc_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-oleacc_test.exe: \$(TOPOBJDIR)/dlls/oleacc/tests/oleacc_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "oleacc_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "oleacc_test.exe: \$(TOPOBJDIR)/dlls/oleacc/tests/oleacc_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/oleacc/tests/oleacc_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 oleacc_test.rc:
 	echo \"oleacc_test.exe TESTRES \\\"oleacc_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 oleacc_test.res: oleacc_test.rc oleacc_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/oleacc/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/oleacc/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/oleacc/tests/%) dlls/oleacc/tests: dlls/oleacc/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/oleacc/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/oleacc/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/oleacc/tests/%) dlls/oleacc/tests: dlls/oleacc/tests/Makefile \$(MAKEDEP)
 dlls/oleacc/tests/Makefile: dlls/oleacc/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/oleacc/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/oleaut32/liboleaut32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/oleaut32/liboleaut32.$IMPLIBEXT dlls/oleaut32/liboleaut32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/oleaut32/liboleaut32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oleaut32/liboleaut32.$IMPLIBEXT dlls/oleaut32/liboleaut32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/oleaut32/liboleaut32.$IMPLIBEXT dlls/oleaut32/liboleaut32.cross.a: dlls/oleaut32/oleaut32.spec dlls/oleaut32/Makefile
 	@cd dlls/oleaut32 && \$(MAKE) \`basename \$@\`
 dlls/oleaut32 dlls/oleaut32/__install__ dlls/oleaut32/__install-lib__ dlls/oleaut32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/oleaut32"
-test "x$enable_oleaut32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/oleaut32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/oleaut32/%) dlls/oleaut32: dlls/oleaut32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/oleaut32"
+test "x$enable_oleaut32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/oleaut32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/oleaut32/%) dlls/oleaut32: dlls/oleaut32/Makefile \$(MAKEDEP)
 dlls/oleaut32/Makefile: dlls/oleaut32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/oleaut32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oleaut32/tests: __builddeps__
 dlls/oleaut32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	oleaut32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-oleaut32_test.exe: \$(TOPOBJDIR)/dlls/oleaut32/tests/oleaut32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "oleaut32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "oleaut32_test.exe: \$(TOPOBJDIR)/dlls/oleaut32/tests/oleaut32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/oleaut32/tests/oleaut32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 oleaut32_test.rc:
 	echo \"oleaut32_test.exe TESTRES \\\"oleaut32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 oleaut32_test.res: oleaut32_test.rc oleaut32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/oleaut32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/oleaut32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/oleaut32/tests/%) dlls/oleaut32/tests: dlls/oleaut32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/oleaut32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/oleaut32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/oleaut32/tests/%) dlls/oleaut32/tests: dlls/oleaut32/tests/Makefile \$(MAKEDEP)
 dlls/oleaut32/tests/Makefile: dlls/oleaut32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/olecli.dll16 dlls/olecli.dll16/__install__ dlls/olecli.dll16/__install-lib__ dlls/olecli.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/olecli.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/olecli.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/olecli.dll16/%) dlls/olecli.dll16: dlls/olecli.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olecli.dll16 dlls/olecli.dll16/__install__ dlls/olecli.dll16/__install-lib__ dlls/olecli.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/olecli.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olecli.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/olecli.dll16/%) dlls/olecli.dll16: dlls/olecli.dll16/Makefile \$(MAKEDEP)
 dlls/olecli.dll16/Makefile: dlls/olecli.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/olecli.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/olecli32/libolecli32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/olecli32/libolecli32.$IMPLIBEXT dlls/olecli32/libolecli32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/olecli32/libolecli32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olecli32/libolecli32.$IMPLIBEXT dlls/olecli32/libolecli32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/olecli32/libolecli32.$IMPLIBEXT dlls/olecli32/libolecli32.cross.a: dlls/olecli32/olecli32.spec dlls/olecli32/Makefile
 	@cd dlls/olecli32 && \$(MAKE) \`basename \$@\`
 dlls/olecli32 dlls/olecli32/__install__ dlls/olecli32/__install-lib__ dlls/olecli32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/olecli32"
-test "x$enable_olecli32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/olecli32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/olecli32/%) dlls/olecli32: dlls/olecli32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/olecli32"
+test "x$enable_olecli32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olecli32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/olecli32/%) dlls/olecli32: dlls/olecli32/Makefile \$(MAKEDEP)
 dlls/olecli32/Makefile: dlls/olecli32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/oledb32 dlls/oledb32/__install__ dlls/oledb32/__install-lib__ dlls/oledb32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/oledb32"
-test "x$enable_oledb32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/oledb32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/oledb32/%) dlls/oledb32: dlls/oledb32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oledb32 dlls/oledb32/__install__ dlls/oledb32/__install-lib__ dlls/oledb32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/oledb32"
+test "x$enable_oledb32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/oledb32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/oledb32/%) dlls/oledb32: dlls/oledb32/Makefile \$(MAKEDEP)
 dlls/oledb32/Makefile: dlls/oledb32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/oledb32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/oledb32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oledb32/tests: __builddeps__
 dlls/oledb32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	oledb32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-oledb32_test.exe: \$(TOPOBJDIR)/dlls/oledb32/tests/oledb32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "oledb32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "oledb32_test.exe: \$(TOPOBJDIR)/dlls/oledb32/tests/oledb32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/oledb32/tests/oledb32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 oledb32_test.rc:
 	echo \"oledb32_test.exe TESTRES \\\"oledb32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 oledb32_test.res: oledb32_test.rc oledb32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/oledb32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/oledb32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/oledb32/tests/%) dlls/oledb32/tests: dlls/oledb32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/oledb32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/oledb32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/oledb32/tests/%) dlls/oledb32/tests: dlls/oledb32/tests/Makefile \$(MAKEDEP)
 dlls/oledb32/tests/Makefile: dlls/oledb32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/oledb32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/oledlg/liboledlg.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/oledlg/liboledlg.$IMPLIBEXT dlls/oledlg/liboledlg.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/oledlg/liboledlg.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oledlg/liboledlg.$IMPLIBEXT dlls/oledlg/liboledlg.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/oledlg/liboledlg.$IMPLIBEXT dlls/oledlg/liboledlg.cross.a: dlls/oledlg/oledlg.spec dlls/oledlg/Makefile
 	@cd dlls/oledlg && \$(MAKE) \`basename \$@\`
 dlls/oledlg dlls/oledlg/__install__ dlls/oledlg/__install-lib__ dlls/oledlg/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/oledlg"
-test "x$enable_oledlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/oledlg"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/oledlg/%) dlls/oledlg: dlls/oledlg/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/oledlg"
+test "x$enable_oledlg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/oledlg"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/oledlg/%) dlls/oledlg: dlls/oledlg/Makefile \$(MAKEDEP)
 dlls/oledlg/Makefile: dlls/oledlg/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/olepro32/libolepro32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/olepro32/libolepro32.$IMPLIBEXT dlls/olepro32/libolepro32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/olepro32/libolepro32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olepro32/libolepro32.$IMPLIBEXT dlls/olepro32/libolepro32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/olepro32/libolepro32.$IMPLIBEXT dlls/olepro32/libolepro32.cross.a: dlls/olepro32/olepro32.spec dlls/olepro32/Makefile
 	@cd dlls/olepro32 && \$(MAKE) \`basename \$@\`
 dlls/olepro32 dlls/olepro32/__install__ dlls/olepro32/__install-lib__ dlls/olepro32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/olepro32"
-test "x$enable_olepro32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/olepro32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/olepro32/%) dlls/olepro32: dlls/olepro32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/olepro32"
+test "x$enable_olepro32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olepro32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/olepro32/%) dlls/olepro32: dlls/olepro32/Makefile \$(MAKEDEP)
 dlls/olepro32/Makefile: dlls/olepro32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/olesvr.dll16 dlls/olesvr.dll16/__install__ dlls/olesvr.dll16/__install-lib__ dlls/olesvr.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/olesvr.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/olesvr.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/olesvr.dll16/%) dlls/olesvr.dll16: dlls/olesvr.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olesvr.dll16 dlls/olesvr.dll16/__install__ dlls/olesvr.dll16/__install-lib__ dlls/olesvr.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/olesvr.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olesvr.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/olesvr.dll16/%) dlls/olesvr.dll16: dlls/olesvr.dll16/Makefile \$(MAKEDEP)
 dlls/olesvr.dll16/Makefile: dlls/olesvr.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/olesvr.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/olesvr32/libolesvr32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/olesvr32/libolesvr32.$IMPLIBEXT dlls/olesvr32/libolesvr32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/olesvr32/libolesvr32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olesvr32/libolesvr32.$IMPLIBEXT dlls/olesvr32/libolesvr32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/olesvr32/libolesvr32.$IMPLIBEXT dlls/olesvr32/libolesvr32.cross.a: dlls/olesvr32/olesvr32.spec dlls/olesvr32/Makefile
 	@cd dlls/olesvr32 && \$(MAKE) \`basename \$@\`
 dlls/olesvr32 dlls/olesvr32/__install__ dlls/olesvr32/__install-lib__ dlls/olesvr32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/olesvr32"
-test "x$enable_olesvr32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/olesvr32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/olesvr32/%) dlls/olesvr32: dlls/olesvr32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/olesvr32"
+test "x$enable_olesvr32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olesvr32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/olesvr32/%) dlls/olesvr32: dlls/olesvr32/Makefile \$(MAKEDEP)
 dlls/olesvr32/Makefile: dlls/olesvr32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/olethk32 dlls/olethk32/__install__ dlls/olethk32/__install-lib__ dlls/olethk32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/olethk32"
-test "x$enable_olethk32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/olethk32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/olethk32/%) dlls/olethk32: dlls/olethk32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olethk32 dlls/olethk32/__install__ dlls/olethk32/__install-lib__ dlls/olethk32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/olethk32"
+test "x$enable_olethk32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olethk32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/olethk32/%) dlls/olethk32: dlls/olethk32/Makefile \$(MAKEDEP)
 dlls/olethk32/Makefile: dlls/olethk32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/openal32 dlls/openal32/__install__ dlls/openal32/__install-lib__ dlls/openal32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/openal32"
-test "x$enable_openal32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/openal32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/openal32/%) dlls/openal32: dlls/openal32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/openal32 dlls/openal32/__install__ dlls/openal32/__install-lib__ dlls/openal32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/openal32"
+test "x$enable_openal32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/openal32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/openal32/%) dlls/openal32: dlls/openal32/Makefile \$(MAKEDEP)
 dlls/openal32/Makefile: dlls/openal32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/openal32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/opengl32/libopengl32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/opengl32/libopengl32.$IMPLIBEXT dlls/opengl32/libopengl32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/opengl32/libopengl32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/opengl32/libopengl32.$IMPLIBEXT dlls/opengl32/libopengl32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/opengl32/libopengl32.$IMPLIBEXT dlls/opengl32/libopengl32.cross.a: dlls/opengl32/opengl32.spec dlls/opengl32/Makefile
 	@cd dlls/opengl32 && \$(MAKE) \`basename \$@\`
 dlls/opengl32 dlls/opengl32/__install__ dlls/opengl32/__install-lib__ dlls/opengl32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/opengl32"
-test "x$enable_opengl32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/opengl32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/opengl32/%) dlls/opengl32: dlls/opengl32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/opengl32"
+test "x$enable_opengl32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/opengl32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/opengl32/%) dlls/opengl32: dlls/opengl32/Makefile \$(MAKEDEP)
 dlls/opengl32/Makefile: dlls/opengl32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/opengl32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/opengl32/tests: __builddeps__
 dlls/opengl32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	opengl32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-opengl32_test.exe: \$(TOPOBJDIR)/dlls/opengl32/tests/opengl32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "opengl32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "opengl32_test.exe: \$(TOPOBJDIR)/dlls/opengl32/tests/opengl32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/opengl32/tests/opengl32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 opengl32_test.rc:
 	echo \"opengl32_test.exe TESTRES \\\"opengl32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 opengl32_test.res: opengl32_test.rc opengl32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/opengl32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/opengl32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/opengl32/tests/%) dlls/opengl32/tests: dlls/opengl32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/opengl32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/opengl32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/opengl32/tests/%) dlls/opengl32/tests: dlls/opengl32/tests/Makefile \$(MAKEDEP)
 dlls/opengl32/tests/Makefile: dlls/opengl32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/pdh/libpdh.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/pdh/libpdh.$IMPLIBEXT dlls/pdh/libpdh.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/pdh/libpdh.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/pdh/libpdh.$IMPLIBEXT dlls/pdh/libpdh.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/pdh/libpdh.$IMPLIBEXT dlls/pdh/libpdh.cross.a: dlls/pdh/pdh.spec dlls/pdh/Makefile
 	@cd dlls/pdh && \$(MAKE) \`basename \$@\`
 dlls/pdh dlls/pdh/__install__ dlls/pdh/__install-lib__ dlls/pdh/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/pdh"
-test "x$enable_pdh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/pdh"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/pdh/%) dlls/pdh: dlls/pdh/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/pdh"
+test "x$enable_pdh" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/pdh"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/pdh/%) dlls/pdh: dlls/pdh/Makefile \$(MAKEDEP)
 dlls/pdh/Makefile: dlls/pdh/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/pdh/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/pdh/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/pdh/tests: __builddeps__
 dlls/pdh/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	pdh_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-pdh_test.exe: \$(TOPOBJDIR)/dlls/pdh/tests/pdh_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "pdh_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "pdh_test.exe: \$(TOPOBJDIR)/dlls/pdh/tests/pdh_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/pdh/tests/pdh_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 pdh_test.rc:
 	echo \"pdh_test.exe TESTRES \\\"pdh_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 pdh_test.res: pdh_test.rc pdh_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/pdh/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/pdh/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/pdh/tests/%) dlls/pdh/tests: dlls/pdh/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/pdh/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/pdh/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/pdh/tests/%) dlls/pdh/tests: dlls/pdh/tests/Makefile \$(MAKEDEP)
 dlls/pdh/tests/Makefile: dlls/pdh/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/pidgen dlls/pidgen/__install__ dlls/pidgen/__install-lib__ dlls/pidgen/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/pidgen"
-test "x$enable_pidgen" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/pidgen"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/pidgen/%) dlls/pidgen: dlls/pidgen/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/pidgen dlls/pidgen/__install__ dlls/pidgen/__install-lib__ dlls/pidgen/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/pidgen"
+test "x$enable_pidgen" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/pidgen"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/pidgen/%) dlls/pidgen: dlls/pidgen/Makefile \$(MAKEDEP)
 dlls/pidgen/Makefile: dlls/pidgen/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/pidgen/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/powrprof/libpowrprof.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/powrprof/libpowrprof.$IMPLIBEXT dlls/powrprof/libpowrprof.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/powrprof/libpowrprof.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/powrprof/libpowrprof.$IMPLIBEXT dlls/powrprof/libpowrprof.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/powrprof/libpowrprof.$IMPLIBEXT dlls/powrprof/libpowrprof.cross.a: dlls/powrprof/powrprof.spec dlls/powrprof/Makefile
 	@cd dlls/powrprof && \$(MAKE) \`basename \$@\`
 dlls/powrprof dlls/powrprof/__install__ dlls/powrprof/__install-lib__ dlls/powrprof/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/powrprof"
-test "x$enable_powrprof" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/powrprof"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/powrprof/%) dlls/powrprof: dlls/powrprof/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/powrprof"
+test "x$enable_powrprof" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/powrprof"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/powrprof/%) dlls/powrprof: dlls/powrprof/Makefile \$(MAKEDEP)
 dlls/powrprof/Makefile: dlls/powrprof/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/printui dlls/printui/__install__ dlls/printui/__install-lib__ dlls/printui/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/printui"
-test "x$enable_printui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/printui"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/printui/%) dlls/printui: dlls/printui/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/printui dlls/printui/__install__ dlls/printui/__install-lib__ dlls/printui/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/printui"
+test "x$enable_printui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/printui"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/printui/%) dlls/printui: dlls/printui/Makefile \$(MAKEDEP)
 dlls/printui/Makefile: dlls/printui/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/printui/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/propsys dlls/propsys/__install__ dlls/propsys/__install-lib__ dlls/propsys/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/propsys"
-test "x$enable_propsys" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/propsys"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/propsys/%) dlls/propsys: dlls/propsys/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/propsys dlls/propsys/__install__ dlls/propsys/__install-lib__ dlls/propsys/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/propsys"
+test "x$enable_propsys" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/propsys"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/propsys/%) dlls/propsys: dlls/propsys/Makefile \$(MAKEDEP)
 dlls/propsys/Makefile: dlls/propsys/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/propsys/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/psapi/libpsapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/psapi/libpsapi.$IMPLIBEXT dlls/psapi/libpsapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/psapi/libpsapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/psapi/libpsapi.$IMPLIBEXT dlls/psapi/libpsapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/psapi/libpsapi.$IMPLIBEXT dlls/psapi/libpsapi.cross.a: dlls/psapi/psapi.spec dlls/psapi/Makefile
 	@cd dlls/psapi && \$(MAKE) \`basename \$@\`
 dlls/psapi dlls/psapi/__install__ dlls/psapi/__install-lib__ dlls/psapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/psapi"
-test "x$enable_psapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/psapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/psapi/%) dlls/psapi: dlls/psapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/psapi"
+test "x$enable_psapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/psapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/psapi/%) dlls/psapi: dlls/psapi/Makefile \$(MAKEDEP)
 dlls/psapi/Makefile: dlls/psapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/psapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/psapi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/psapi/tests: __builddeps__
 dlls/psapi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	psapi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-psapi_test.exe: \$(TOPOBJDIR)/dlls/psapi/tests/psapi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "psapi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "psapi_test.exe: \$(TOPOBJDIR)/dlls/psapi/tests/psapi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/psapi/tests/psapi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 psapi_test.rc:
 	echo \"psapi_test.exe TESTRES \\\"psapi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 psapi_test.res: psapi_test.rc psapi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/psapi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/psapi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/psapi/tests/%) dlls/psapi/tests: dlls/psapi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/psapi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/psapi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/psapi/tests/%) dlls/psapi/tests: dlls/psapi/tests/Makefile \$(MAKEDEP)
 dlls/psapi/tests/Makefile: dlls/psapi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/pstorec dlls/pstorec/__install__ dlls/pstorec/__install-lib__ dlls/pstorec/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/pstorec"
-test "x$enable_pstorec" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/pstorec"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/pstorec/%) dlls/pstorec: dlls/pstorec/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/pstorec dlls/pstorec/__install__ dlls/pstorec/__install-lib__ dlls/pstorec/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/pstorec"
+test "x$enable_pstorec" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/pstorec"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/pstorec/%) dlls/pstorec: dlls/pstorec/Makefile \$(MAKEDEP)
 dlls/pstorec/Makefile: dlls/pstorec/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/qcap dlls/qcap/__install__ dlls/qcap/__install-lib__ dlls/qcap/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/qcap"
-test "x$enable_qcap" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/qcap"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/qcap/%) dlls/qcap: dlls/qcap/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qcap dlls/qcap/__install__ dlls/qcap/__install-lib__ dlls/qcap/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/qcap"
+test "x$enable_qcap" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/qcap"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/qcap/%) dlls/qcap: dlls/qcap/Makefile \$(MAKEDEP)
 dlls/qcap/Makefile: dlls/qcap/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/qcap/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/qedit dlls/qedit/__install__ dlls/qedit/__install-lib__ dlls/qedit/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/qedit"
-test "x$enable_qedit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/qedit"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/qedit/%) dlls/qedit: dlls/qedit/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qedit dlls/qedit/__install__ dlls/qedit/__install-lib__ dlls/qedit/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/qedit"
+test "x$enable_qedit" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/qedit"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/qedit/%) dlls/qedit: dlls/qedit/Makefile \$(MAKEDEP)
 dlls/qedit/Makefile: dlls/qedit/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/qedit/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/qedit/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qedit/tests: __builddeps__
 dlls/qedit/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	qedit_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-qedit_test.exe: \$(TOPOBJDIR)/dlls/qedit/tests/qedit_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "qedit_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "qedit_test.exe: \$(TOPOBJDIR)/dlls/qedit/tests/qedit_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/qedit/tests/qedit_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 qedit_test.rc:
 	echo \"qedit_test.exe TESTRES \\\"qedit_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 qedit_test.res: qedit_test.rc qedit_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/qedit/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/qedit/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/qedit/tests/%) dlls/qedit/tests: dlls/qedit/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/qedit/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/qedit/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/qedit/tests/%) dlls/qedit/tests: dlls/qedit/tests/Makefile \$(MAKEDEP)
 dlls/qedit/tests/Makefile: dlls/qedit/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/qmgr dlls/qmgr/__install__ dlls/qmgr/__install-lib__ dlls/qmgr/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/qmgr"
-test "x$enable_qmgr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/qmgr"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/qmgr/%) dlls/qmgr: dlls/qmgr/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qmgr dlls/qmgr/__install__ dlls/qmgr/__install-lib__ dlls/qmgr/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/qmgr"
+test "x$enable_qmgr" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/qmgr"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/qmgr/%) dlls/qmgr: dlls/qmgr/Makefile \$(MAKEDEP)
 dlls/qmgr/Makefile: dlls/qmgr/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/qmgr/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qmgr/tests: __builddeps__
 dlls/qmgr/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	qmgr_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-qmgr_test.exe: \$(TOPOBJDIR)/dlls/qmgr/tests/qmgr_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "qmgr_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "qmgr_test.exe: \$(TOPOBJDIR)/dlls/qmgr/tests/qmgr_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/qmgr/tests/qmgr_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 qmgr_test.rc:
 	echo \"qmgr_test.exe TESTRES \\\"qmgr_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 qmgr_test.res: qmgr_test.rc qmgr_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/qmgr/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/qmgr/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/qmgr/tests/%) dlls/qmgr/tests: dlls/qmgr/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/qmgr/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/qmgr/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/qmgr/tests/%) dlls/qmgr/tests: dlls/qmgr/tests/Makefile \$(MAKEDEP)
 dlls/qmgr/tests/Makefile: dlls/qmgr/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/qmgrprxy dlls/qmgrprxy/__install__ dlls/qmgrprxy/__install-lib__ dlls/qmgrprxy/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/qmgrprxy"
-test "x$enable_qmgrprxy" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/qmgrprxy"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/qmgrprxy/%) dlls/qmgrprxy: dlls/qmgrprxy/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qmgrprxy dlls/qmgrprxy/__install__ dlls/qmgrprxy/__install-lib__ dlls/qmgrprxy/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/qmgrprxy"
+test "x$enable_qmgrprxy" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/qmgrprxy"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/qmgrprxy/%) dlls/qmgrprxy: dlls/qmgrprxy/Makefile \$(MAKEDEP)
 dlls/qmgrprxy/Makefile: dlls/qmgrprxy/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/quartz/libquartz.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/quartz/libquartz.$IMPLIBEXT dlls/quartz/libquartz.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/quartz/libquartz.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/quartz/libquartz.$IMPLIBEXT dlls/quartz/libquartz.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/quartz/libquartz.$IMPLIBEXT dlls/quartz/libquartz.cross.a: dlls/quartz/quartz.spec dlls/quartz/Makefile
 	@cd dlls/quartz && \$(MAKE) \`basename \$@\`
 dlls/quartz dlls/quartz/__install__ dlls/quartz/__install-lib__ dlls/quartz/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/quartz"
-test "x$enable_quartz" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/quartz"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/quartz/%) dlls/quartz: dlls/quartz/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/quartz"
+test "x$enable_quartz" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/quartz"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/quartz/%) dlls/quartz: dlls/quartz/Makefile \$(MAKEDEP)
 dlls/quartz/Makefile: dlls/quartz/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/quartz/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/quartz/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/quartz/tests: __builddeps__
 dlls/quartz/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	quartz_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-quartz_test.exe: \$(TOPOBJDIR)/dlls/quartz/tests/quartz_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "quartz_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "quartz_test.exe: \$(TOPOBJDIR)/dlls/quartz/tests/quartz_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/quartz/tests/quartz_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 quartz_test.rc:
 	echo \"quartz_test.exe TESTRES \\\"quartz_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 quartz_test.res: quartz_test.rc quartz_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/quartz/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/quartz/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/quartz/tests/%) dlls/quartz/tests: dlls/quartz/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/quartz/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/quartz/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/quartz/tests/%) dlls/quartz/tests: dlls/quartz/tests/Makefile \$(MAKEDEP)
 dlls/quartz/tests/Makefile: dlls/quartz/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/query dlls/query/__install__ dlls/query/__install-lib__ dlls/query/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/query"
-test "x$enable_query" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/query"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/query/%) dlls/query: dlls/query/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/query dlls/query/__install__ dlls/query/__install-lib__ dlls/query/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/query"
+test "x$enable_query" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/query"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/query/%) dlls/query: dlls/query/Makefile \$(MAKEDEP)
 dlls/query/Makefile: dlls/query/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/query/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rasapi16.dll16 dlls/rasapi16.dll16/__install__ dlls/rasapi16.dll16/__install-lib__ dlls/rasapi16.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rasapi16.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/rasapi16.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rasapi16.dll16/%) dlls/rasapi16.dll16: dlls/rasapi16.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rasapi16.dll16 dlls/rasapi16.dll16/__install__ dlls/rasapi16.dll16/__install-lib__ dlls/rasapi16.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/rasapi16.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rasapi16.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rasapi16.dll16/%) dlls/rasapi16.dll16: dlls/rasapi16.dll16/Makefile \$(MAKEDEP)
 dlls/rasapi16.dll16/Makefile: dlls/rasapi16.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/rasapi16.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/rasapi32/librasapi32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rasapi32/librasapi32.$IMPLIBEXT dlls/rasapi32/librasapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/rasapi32/librasapi32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rasapi32/librasapi32.$IMPLIBEXT dlls/rasapi32/librasapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/rasapi32/librasapi32.$IMPLIBEXT dlls/rasapi32/librasapi32.cross.a: dlls/rasapi32/rasapi32.spec dlls/rasapi32/Makefile
 	@cd dlls/rasapi32 && \$(MAKE) \`basename \$@\`
 dlls/rasapi32 dlls/rasapi32/__install__ dlls/rasapi32/__install-lib__ dlls/rasapi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rasapi32"
-test "x$enable_rasapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/rasapi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rasapi32/%) dlls/rasapi32: dlls/rasapi32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/rasapi32"
+test "x$enable_rasapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rasapi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rasapi32/%) dlls/rasapi32: dlls/rasapi32/Makefile \$(MAKEDEP)
 dlls/rasapi32/Makefile: dlls/rasapi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rasapi32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rasapi32/tests: __builddeps__
 dlls/rasapi32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	rasapi32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-rasapi32_test.exe: \$(TOPOBJDIR)/dlls/rasapi32/tests/rasapi32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "rasapi32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "rasapi32_test.exe: \$(TOPOBJDIR)/dlls/rasapi32/tests/rasapi32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/rasapi32/tests/rasapi32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 rasapi32_test.rc:
 	echo \"rasapi32_test.exe TESTRES \\\"rasapi32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 rasapi32_test.res: rasapi32_test.rc rasapi32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rasapi32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/rasapi32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rasapi32/tests/%) dlls/rasapi32/tests: dlls/rasapi32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/rasapi32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/rasapi32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rasapi32/tests/%) dlls/rasapi32/tests: dlls/rasapi32/tests/Makefile \$(MAKEDEP)
 dlls/rasapi32/tests/Makefile: dlls/rasapi32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/rasapi32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/rasdlg/librasdlg.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rasdlg/librasdlg.$IMPLIBEXT dlls/rasdlg/librasdlg.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/rasdlg/librasdlg.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rasdlg/librasdlg.$IMPLIBEXT dlls/rasdlg/librasdlg.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/rasdlg/librasdlg.$IMPLIBEXT dlls/rasdlg/librasdlg.cross.a: dlls/rasdlg/rasdlg.spec dlls/rasdlg/Makefile
 	@cd dlls/rasdlg && \$(MAKE) \`basename \$@\`
 dlls/rasdlg dlls/rasdlg/__install__ dlls/rasdlg/__install-lib__ dlls/rasdlg/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rasdlg"
-test "x$enable_rasdlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/rasdlg"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rasdlg/%) dlls/rasdlg: dlls/rasdlg/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/rasdlg"
+test "x$enable_rasdlg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rasdlg"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rasdlg/%) dlls/rasdlg: dlls/rasdlg/Makefile \$(MAKEDEP)
 dlls/rasdlg/Makefile: dlls/rasdlg/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/rasdlg/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/resutils/libresutils.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/resutils/libresutils.$IMPLIBEXT dlls/resutils/libresutils.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/resutils/libresutils.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/resutils/libresutils.$IMPLIBEXT dlls/resutils/libresutils.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/resutils/libresutils.$IMPLIBEXT dlls/resutils/libresutils.cross.a: dlls/resutils/resutils.spec dlls/resutils/Makefile
 	@cd dlls/resutils && \$(MAKE) \`basename \$@\`
 dlls/resutils dlls/resutils/__install__ dlls/resutils/__install-lib__ dlls/resutils/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/resutils"
-test "x$enable_resutils" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/resutils"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/resutils/%) dlls/resutils: dlls/resutils/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/resutils"
+test "x$enable_resutils" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/resutils"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/resutils/%) dlls/resutils: dlls/resutils/Makefile \$(MAKEDEP)
 dlls/resutils/Makefile: dlls/resutils/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/resutils/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/riched20/libriched20.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/riched20/libriched20.$IMPLIBEXT dlls/riched20/libriched20.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/riched20/libriched20.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/riched20/libriched20.$IMPLIBEXT dlls/riched20/libriched20.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/riched20/libriched20.$IMPLIBEXT dlls/riched20/libriched20.cross.a: dlls/riched20/riched20.spec dlls/riched20/Makefile
 	@cd dlls/riched20 && \$(MAKE) \`basename \$@\`
 dlls/riched20 dlls/riched20/__install__ dlls/riched20/__install-lib__ dlls/riched20/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/riched20"
-test "x$enable_riched20" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/riched20"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/riched20/%) dlls/riched20: dlls/riched20/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/riched20"
+test "x$enable_riched20" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/riched20"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/riched20/%) dlls/riched20: dlls/riched20/Makefile \$(MAKEDEP)
 dlls/riched20/Makefile: dlls/riched20/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/riched20/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/riched20/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/riched20/tests: __builddeps__
 dlls/riched20/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	riched20_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-riched20_test.exe: \$(TOPOBJDIR)/dlls/riched20/tests/riched20_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "riched20_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "riched20_test.exe: \$(TOPOBJDIR)/dlls/riched20/tests/riched20_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/riched20/tests/riched20_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 riched20_test.rc:
 	echo \"riched20_test.exe TESTRES \\\"riched20_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 riched20_test.res: riched20_test.rc riched20_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/riched20/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/riched20/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/riched20/tests/%) dlls/riched20/tests: dlls/riched20/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/riched20/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/riched20/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/riched20/tests/%) dlls/riched20/tests: dlls/riched20/tests/Makefile \$(MAKEDEP)
 dlls/riched20/tests/Makefile: dlls/riched20/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/riched32 dlls/riched32/__install__ dlls/riched32/__install-lib__ dlls/riched32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/riched32"
-test "x$enable_riched32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/riched32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/riched32/%) dlls/riched32: dlls/riched32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/riched32 dlls/riched32/__install__ dlls/riched32/__install-lib__ dlls/riched32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/riched32"
+test "x$enable_riched32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/riched32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/riched32/%) dlls/riched32: dlls/riched32/Makefile \$(MAKEDEP)
 dlls/riched32/Makefile: dlls/riched32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/riched32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/riched32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/riched32/tests: __builddeps__
 dlls/riched32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	riched32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-riched32_test.exe: \$(TOPOBJDIR)/dlls/riched32/tests/riched32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "riched32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "riched32_test.exe: \$(TOPOBJDIR)/dlls/riched32/tests/riched32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/riched32/tests/riched32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 riched32_test.rc:
 	echo \"riched32_test.exe TESTRES \\\"riched32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 riched32_test.res: riched32_test.rc riched32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/riched32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/riched32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/riched32/tests/%) dlls/riched32/tests: dlls/riched32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/riched32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/riched32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/riched32/tests/%) dlls/riched32/tests: dlls/riched32/tests/Makefile \$(MAKEDEP)
 dlls/riched32/tests/Makefile: dlls/riched32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/rpcrt4/librpcrt4.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rpcrt4/librpcrt4.$IMPLIBEXT dlls/rpcrt4/librpcrt4.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/rpcrt4/librpcrt4.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rpcrt4/librpcrt4.$IMPLIBEXT dlls/rpcrt4/librpcrt4.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/rpcrt4/librpcrt4.$IMPLIBEXT dlls/rpcrt4/librpcrt4.cross.a: dlls/rpcrt4/rpcrt4.spec dlls/rpcrt4/Makefile
 	@cd dlls/rpcrt4 && \$(MAKE) \`basename \$@\`
 dlls/rpcrt4 dlls/rpcrt4/__install__ dlls/rpcrt4/__install-lib__ dlls/rpcrt4/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rpcrt4"
-test "x$enable_rpcrt4" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/rpcrt4"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rpcrt4/%) dlls/rpcrt4: dlls/rpcrt4/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/rpcrt4"
+test "x$enable_rpcrt4" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rpcrt4"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rpcrt4/%) dlls/rpcrt4: dlls/rpcrt4/Makefile \$(MAKEDEP)
 dlls/rpcrt4/Makefile: dlls/rpcrt4/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rpcrt4/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rpcrt4/tests: __builddeps__
 dlls/rpcrt4/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	rpcrt4_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-rpcrt4_test.exe: \$(TOPOBJDIR)/dlls/rpcrt4/tests/rpcrt4_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "rpcrt4_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "rpcrt4_test.exe: \$(TOPOBJDIR)/dlls/rpcrt4/tests/rpcrt4_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/rpcrt4/tests/rpcrt4_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 rpcrt4_test.rc:
 	echo \"rpcrt4_test.exe TESTRES \\\"rpcrt4_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 rpcrt4_test.res: rpcrt4_test.rc rpcrt4_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rpcrt4/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/rpcrt4/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rpcrt4/tests/%) dlls/rpcrt4/tests: dlls/rpcrt4/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/rpcrt4/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/rpcrt4/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rpcrt4/tests/%) dlls/rpcrt4/tests: dlls/rpcrt4/tests/Makefile \$(MAKEDEP)
 dlls/rpcrt4/tests/Makefile: dlls/rpcrt4/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rsabase dlls/rsabase/__install__ dlls/rsabase/__install-lib__ dlls/rsabase/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rsabase"
-test "x$enable_rsabase" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/rsabase"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rsabase/%) dlls/rsabase: dlls/rsabase/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rsabase dlls/rsabase/__install__ dlls/rsabase/__install-lib__ dlls/rsabase/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/rsabase"
+test "x$enable_rsabase" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rsabase"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rsabase/%) dlls/rsabase: dlls/rsabase/Makefile \$(MAKEDEP)
 dlls/rsabase/Makefile: dlls/rsabase/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/rsaenh/librsaenh.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rsaenh/librsaenh.$IMPLIBEXT dlls/rsaenh/librsaenh.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/rsaenh/librsaenh.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rsaenh/librsaenh.$IMPLIBEXT dlls/rsaenh/librsaenh.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/rsaenh/librsaenh.$IMPLIBEXT dlls/rsaenh/librsaenh.cross.a: dlls/rsaenh/rsaenh.spec dlls/rsaenh/Makefile
 	@cd dlls/rsaenh && \$(MAKE) \`basename \$@\`
 dlls/rsaenh dlls/rsaenh/__install__ dlls/rsaenh/__install-lib__ dlls/rsaenh/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rsaenh"
-test "x$enable_rsaenh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/rsaenh"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rsaenh/%) dlls/rsaenh: dlls/rsaenh/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/rsaenh"
+test "x$enable_rsaenh" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rsaenh"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rsaenh/%) dlls/rsaenh: dlls/rsaenh/Makefile \$(MAKEDEP)
 dlls/rsaenh/Makefile: dlls/rsaenh/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rsaenh/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rsaenh/tests: __builddeps__
 dlls/rsaenh/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	rsaenh_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-rsaenh_test.exe: \$(TOPOBJDIR)/dlls/rsaenh/tests/rsaenh_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "rsaenh_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "rsaenh_test.exe: \$(TOPOBJDIR)/dlls/rsaenh/tests/rsaenh_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/rsaenh/tests/rsaenh_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 rsaenh_test.rc:
 	echo \"rsaenh_test.exe TESTRES \\\"rsaenh_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 rsaenh_test.res: rsaenh_test.rc rsaenh_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rsaenh/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/rsaenh/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rsaenh/tests/%) dlls/rsaenh/tests: dlls/rsaenh/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/rsaenh/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/rsaenh/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rsaenh/tests/%) dlls/rsaenh/tests: dlls/rsaenh/tests/Makefile \$(MAKEDEP)
 dlls/rsaenh/tests/Makefile: dlls/rsaenh/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/rtutils/librtutils.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/rtutils/librtutils.$IMPLIBEXT dlls/rtutils/librtutils.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/rtutils/librtutils.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rtutils/librtutils.$IMPLIBEXT dlls/rtutils/librtutils.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/rtutils/librtutils.$IMPLIBEXT dlls/rtutils/librtutils.cross.a: dlls/rtutils/rtutils.spec dlls/rtutils/Makefile
 	@cd dlls/rtutils && \$(MAKE) \`basename \$@\`
 dlls/rtutils dlls/rtutils/__install__ dlls/rtutils/__install-lib__ dlls/rtutils/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/rtutils"
-test "x$enable_rtutils" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/rtutils"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/rtutils/%) dlls/rtutils: dlls/rtutils/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/rtutils"
+test "x$enable_rtutils" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rtutils"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/rtutils/%) dlls/rtutils: dlls/rtutils/Makefile \$(MAKEDEP)
 dlls/rtutils/Makefile: dlls/rtutils/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/rtutils/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/sane.ds dlls/sane.ds/__install__ dlls/sane.ds/__install-lib__ dlls/sane.ds/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/sane.ds"
-test "x$enable_sane_ds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/sane.ds"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/sane.ds/%) dlls/sane.ds: dlls/sane.ds/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sane.ds dlls/sane.ds/__install__ dlls/sane.ds/__install-lib__ dlls/sane.ds/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/sane.ds"
+test "x$enable_sane_ds" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sane.ds"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/sane.ds/%) dlls/sane.ds: dlls/sane.ds/Makefile \$(MAKEDEP)
 dlls/sane.ds/Makefile: dlls/sane.ds/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/sccbase dlls/sccbase/__install__ dlls/sccbase/__install-lib__ dlls/sccbase/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/sccbase"
-test "x$enable_sccbase" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/sccbase"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/sccbase/%) dlls/sccbase: dlls/sccbase/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sccbase dlls/sccbase/__install__ dlls/sccbase/__install-lib__ dlls/sccbase/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/sccbase"
+test "x$enable_sccbase" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sccbase"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/sccbase/%) dlls/sccbase: dlls/sccbase/Makefile \$(MAKEDEP)
 dlls/sccbase/Makefile: dlls/sccbase/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/schannel dlls/schannel/__install__ dlls/schannel/__install-lib__ dlls/schannel/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/schannel"
-test "x$enable_schannel" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/schannel"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/schannel/%) dlls/schannel: dlls/schannel/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/schannel dlls/schannel/__install__ dlls/schannel/__install-lib__ dlls/schannel/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/schannel"
+test "x$enable_schannel" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/schannel"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/schannel/%) dlls/schannel: dlls/schannel/Makefile \$(MAKEDEP)
 dlls/schannel/Makefile: dlls/schannel/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/schannel/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/schannel/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/schannel/tests: __builddeps__
 dlls/schannel/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	schannel_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-schannel_test.exe: \$(TOPOBJDIR)/dlls/schannel/tests/schannel_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "schannel_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "schannel_test.exe: \$(TOPOBJDIR)/dlls/schannel/tests/schannel_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/schannel/tests/schannel_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 schannel_test.rc:
 	echo \"schannel_test.exe TESTRES \\\"schannel_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 schannel_test.res: schannel_test.rc schannel_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/schannel/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/schannel/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/schannel/tests/%) dlls/schannel/tests: dlls/schannel/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/schannel/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/schannel/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/schannel/tests/%) dlls/schannel/tests: dlls/schannel/tests/Makefile \$(MAKEDEP)
 dlls/schannel/tests/Makefile: dlls/schannel/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/secur32/libsecur32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/secur32/libsecur32.$IMPLIBEXT dlls/secur32/libsecur32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/secur32/libsecur32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/secur32/libsecur32.$IMPLIBEXT dlls/secur32/libsecur32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/secur32/libsecur32.$IMPLIBEXT dlls/secur32/libsecur32.cross.a: dlls/secur32/secur32.spec dlls/secur32/Makefile
 	@cd dlls/secur32 && \$(MAKE) \`basename \$@\`
 dlls/secur32 dlls/secur32/__install__ dlls/secur32/__install-lib__ dlls/secur32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/secur32"
-test "x$enable_secur32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/secur32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/secur32/%) dlls/secur32: dlls/secur32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/secur32"
+test "x$enable_secur32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/secur32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/secur32/%) dlls/secur32: dlls/secur32/Makefile \$(MAKEDEP)
 dlls/secur32/Makefile: dlls/secur32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/secur32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/secur32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/secur32/tests: __builddeps__
 dlls/secur32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	secur32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-secur32_test.exe: \$(TOPOBJDIR)/dlls/secur32/tests/secur32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "secur32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "secur32_test.exe: \$(TOPOBJDIR)/dlls/secur32/tests/secur32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/secur32/tests/secur32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 secur32_test.rc:
 	echo \"secur32_test.exe TESTRES \\\"secur32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 secur32_test.res: secur32_test.rc secur32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/secur32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/secur32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/secur32/tests/%) dlls/secur32/tests: dlls/secur32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/secur32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/secur32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/secur32/tests/%) dlls/secur32/tests: dlls/secur32/tests/Makefile \$(MAKEDEP)
 dlls/secur32/tests/Makefile: dlls/secur32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/security dlls/security/__install__ dlls/security/__install-lib__ dlls/security/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/security"
-test "x$enable_security" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/security"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/security/%) dlls/security: dlls/security/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/security dlls/security/__install__ dlls/security/__install-lib__ dlls/security/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/security"
+test "x$enable_security" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/security"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/security/%) dlls/security: dlls/security/Makefile \$(MAKEDEP)
 dlls/security/Makefile: dlls/security/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/security/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/sensapi/libsensapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/sensapi/libsensapi.$IMPLIBEXT dlls/sensapi/libsensapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/sensapi/libsensapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sensapi/libsensapi.$IMPLIBEXT dlls/sensapi/libsensapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/sensapi/libsensapi.$IMPLIBEXT dlls/sensapi/libsensapi.cross.a: dlls/sensapi/sensapi.spec dlls/sensapi/Makefile
 	@cd dlls/sensapi && \$(MAKE) \`basename \$@\`
 dlls/sensapi dlls/sensapi/__install__ dlls/sensapi/__install-lib__ dlls/sensapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/sensapi"
-test "x$enable_sensapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/sensapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/sensapi/%) dlls/sensapi: dlls/sensapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/sensapi"
+test "x$enable_sensapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sensapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/sensapi/%) dlls/sensapi: dlls/sensapi/Makefile \$(MAKEDEP)
 dlls/sensapi/Makefile: dlls/sensapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/serialui/libserialui.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/serialui/libserialui.$IMPLIBEXT dlls/serialui/libserialui.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/serialui/libserialui.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/serialui/libserialui.$IMPLIBEXT dlls/serialui/libserialui.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/serialui/libserialui.$IMPLIBEXT dlls/serialui/libserialui.cross.a: dlls/serialui/serialui.spec dlls/serialui/Makefile
 	@cd dlls/serialui && \$(MAKE) \`basename \$@\`
 dlls/serialui dlls/serialui/__install__ dlls/serialui/__install-lib__ dlls/serialui/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/serialui"
-test "x$enable_serialui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/serialui"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/serialui/%) dlls/serialui: dlls/serialui/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/serialui"
+test "x$enable_serialui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/serialui"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/serialui/%) dlls/serialui: dlls/serialui/Makefile \$(MAKEDEP)
 dlls/serialui/Makefile: dlls/serialui/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/serialui/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/serialui/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/serialui/tests: __builddeps__
 dlls/serialui/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	serialui_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-serialui_test.exe: \$(TOPOBJDIR)/dlls/serialui/tests/serialui_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "serialui_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "serialui_test.exe: \$(TOPOBJDIR)/dlls/serialui/tests/serialui_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/serialui/tests/serialui_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 serialui_test.rc:
 	echo \"serialui_test.exe TESTRES \\\"serialui_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 serialui_test.res: serialui_test.rc serialui_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/serialui/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/serialui/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/serialui/tests/%) dlls/serialui/tests: dlls/serialui/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/serialui/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/serialui/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/serialui/tests/%) dlls/serialui/tests: dlls/serialui/tests/Makefile \$(MAKEDEP)
 dlls/serialui/tests/Makefile: dlls/serialui/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/setupapi/libsetupapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/setupapi/libsetupapi.$IMPLIBEXT dlls/setupapi/libsetupapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/setupapi/libsetupapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/setupapi/libsetupapi.$IMPLIBEXT dlls/setupapi/libsetupapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/setupapi/libsetupapi.$IMPLIBEXT dlls/setupapi/libsetupapi.cross.a: dlls/setupapi/setupapi.spec dlls/setupapi/Makefile
 	@cd dlls/setupapi && \$(MAKE) \`basename \$@\`
 dlls/setupapi dlls/setupapi/__install__ dlls/setupapi/__install-lib__ dlls/setupapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/setupapi"
-test "x$enable_setupapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/setupapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/setupapi/%) dlls/setupapi: dlls/setupapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/setupapi"
+test "x$enable_setupapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/setupapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/setupapi/%) dlls/setupapi: dlls/setupapi/Makefile \$(MAKEDEP)
 dlls/setupapi/Makefile: dlls/setupapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/setupapi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/setupapi/tests: __builddeps__
 dlls/setupapi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	setupapi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-setupapi_test.exe: \$(TOPOBJDIR)/dlls/setupapi/tests/setupapi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "setupapi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "setupapi_test.exe: \$(TOPOBJDIR)/dlls/setupapi/tests/setupapi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/setupapi/tests/setupapi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 setupapi_test.rc:
 	echo \"setupapi_test.exe TESTRES \\\"setupapi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 setupapi_test.res: setupapi_test.rc setupapi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/setupapi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/setupapi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/setupapi/tests/%) dlls/setupapi/tests: dlls/setupapi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/setupapi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/setupapi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/setupapi/tests/%) dlls/setupapi/tests: dlls/setupapi/tests/Makefile \$(MAKEDEP)
 dlls/setupapi/tests/Makefile: dlls/setupapi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/setupx.dll16 dlls/setupx.dll16/__install__ dlls/setupx.dll16/__install-lib__ dlls/setupx.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/setupx.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/setupx.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/setupx.dll16/%) dlls/setupx.dll16: dlls/setupx.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/setupx.dll16 dlls/setupx.dll16/__install__ dlls/setupx.dll16/__install-lib__ dlls/setupx.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/setupx.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/setupx.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/setupx.dll16/%) dlls/setupx.dll16: dlls/setupx.dll16/Makefile \$(MAKEDEP)
 dlls/setupx.dll16/Makefile: dlls/setupx.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/setupx.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/sfc/libsfc.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/sfc/libsfc.$IMPLIBEXT dlls/sfc/libsfc.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/sfc/libsfc.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sfc/libsfc.$IMPLIBEXT dlls/sfc/libsfc.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/sfc/libsfc.$IMPLIBEXT dlls/sfc/libsfc.cross.a: dlls/sfc/sfc.spec dlls/sfc/Makefile
 	@cd dlls/sfc && \$(MAKE) \`basename \$@\`
 dlls/sfc dlls/sfc/__install__ dlls/sfc/__install-lib__ dlls/sfc/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/sfc"
-test "x$enable_sfc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/sfc"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/sfc/%) dlls/sfc: dlls/sfc/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/sfc"
+test "x$enable_sfc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sfc"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/sfc/%) dlls/sfc: dlls/sfc/Makefile \$(MAKEDEP)
 dlls/sfc/Makefile: dlls/sfc/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/sfc/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/sfc_os/libsfc_os.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/sfc_os/libsfc_os.$IMPLIBEXT dlls/sfc_os/libsfc_os.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/sfc_os/libsfc_os.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sfc_os/libsfc_os.$IMPLIBEXT dlls/sfc_os/libsfc_os.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/sfc_os/libsfc_os.$IMPLIBEXT dlls/sfc_os/libsfc_os.cross.a: dlls/sfc_os/sfc_os.spec dlls/sfc_os/Makefile
 	@cd dlls/sfc_os && \$(MAKE) \`basename \$@\`
 dlls/sfc_os dlls/sfc_os/__install__ dlls/sfc_os/__install-lib__ dlls/sfc_os/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/sfc_os"
-test "x$enable_sfc_os" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/sfc_os"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/sfc_os/%) dlls/sfc_os: dlls/sfc_os/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/sfc_os"
+test "x$enable_sfc_os" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sfc_os"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/sfc_os/%) dlls/sfc_os: dlls/sfc_os/Makefile \$(MAKEDEP)
 dlls/sfc_os/Makefile: dlls/sfc_os/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/shdoclc dlls/shdoclc/__install__ dlls/shdoclc/__install-lib__ dlls/shdoclc/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/shdoclc"
-test "x$enable_shdoclc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/shdoclc"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/shdoclc/%) dlls/shdoclc: dlls/shdoclc/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shdoclc dlls/shdoclc/__install__ dlls/shdoclc/__install-lib__ dlls/shdoclc/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/shdoclc"
+test "x$enable_shdoclc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shdoclc"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/shdoclc/%) dlls/shdoclc: dlls/shdoclc/Makefile \$(MAKEDEP)
 dlls/shdoclc/Makefile: dlls/shdoclc/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/shdocvw/libshdocvw.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/shdocvw/libshdocvw.$IMPLIBEXT dlls/shdocvw/libshdocvw.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/shdocvw/libshdocvw.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shdocvw/libshdocvw.$IMPLIBEXT dlls/shdocvw/libshdocvw.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/shdocvw/libshdocvw.$IMPLIBEXT dlls/shdocvw/libshdocvw.cross.a: dlls/shdocvw/shdocvw.spec dlls/shdocvw/Makefile
 	@cd dlls/shdocvw && \$(MAKE) \`basename \$@\`
 dlls/shdocvw dlls/shdocvw/__install__ dlls/shdocvw/__install-lib__ dlls/shdocvw/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/shdocvw"
-test "x$enable_shdocvw" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/shdocvw"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/shdocvw/%) dlls/shdocvw: dlls/shdocvw/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/shdocvw"
+test "x$enable_shdocvw" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shdocvw"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/shdocvw/%) dlls/shdocvw: dlls/shdocvw/Makefile \$(MAKEDEP)
 dlls/shdocvw/Makefile: dlls/shdocvw/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/shdocvw/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shdocvw/tests: __builddeps__
 dlls/shdocvw/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	shdocvw_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-shdocvw_test.exe: \$(TOPOBJDIR)/dlls/shdocvw/tests/shdocvw_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "shdocvw_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "shdocvw_test.exe: \$(TOPOBJDIR)/dlls/shdocvw/tests/shdocvw_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/shdocvw/tests/shdocvw_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 shdocvw_test.rc:
 	echo \"shdocvw_test.exe TESTRES \\\"shdocvw_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 shdocvw_test.res: shdocvw_test.rc shdocvw_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/shdocvw/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/shdocvw/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/shdocvw/tests/%) dlls/shdocvw/tests: dlls/shdocvw/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/shdocvw/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/shdocvw/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/shdocvw/tests/%) dlls/shdocvw/tests: dlls/shdocvw/tests/Makefile \$(MAKEDEP)
 dlls/shdocvw/tests/Makefile: dlls/shdocvw/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/shell.dll16 dlls/shell.dll16/__install__ dlls/shell.dll16/__install-lib__ dlls/shell.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/shell.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/shell.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/shell.dll16/%) dlls/shell.dll16: dlls/shell.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shell.dll16 dlls/shell.dll16/__install__ dlls/shell.dll16/__install-lib__ dlls/shell.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/shell.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shell.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/shell.dll16/%) dlls/shell.dll16: dlls/shell.dll16/Makefile \$(MAKEDEP)
 dlls/shell.dll16/Makefile: dlls/shell.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/shell.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/shell32/libshell32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/shell32/libshell32.$IMPLIBEXT dlls/shell32/libshell32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/shell32/libshell32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shell32/libshell32.$IMPLIBEXT dlls/shell32/libshell32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/shell32/libshell32.$IMPLIBEXT dlls/shell32/libshell32.cross.a: dlls/shell32/shell32.spec dlls/shell32/Makefile
 	@cd dlls/shell32 && \$(MAKE) \`basename \$@\`
 dlls/shell32 dlls/shell32/__install__ dlls/shell32/__install-lib__ dlls/shell32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/shell32"
-test "x$enable_shell32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/shell32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/shell32/%) dlls/shell32: dlls/shell32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/shell32"
+test "x$enable_shell32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shell32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/shell32/%) dlls/shell32: dlls/shell32/Makefile \$(MAKEDEP)
 dlls/shell32/Makefile: dlls/shell32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/shell32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/shell32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shell32/tests: __builddeps__
 dlls/shell32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	shell32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-shell32_test.exe: \$(TOPOBJDIR)/dlls/shell32/tests/shell32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "shell32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "shell32_test.exe: \$(TOPOBJDIR)/dlls/shell32/tests/shell32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/shell32/tests/shell32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 shell32_test.rc:
 	echo \"shell32_test.exe TESTRES \\\"shell32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 shell32_test.res: shell32_test.rc shell32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/shell32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/shell32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/shell32/tests/%) dlls/shell32/tests: dlls/shell32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/shell32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/shell32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/shell32/tests/%) dlls/shell32/tests: dlls/shell32/tests/Makefile \$(MAKEDEP)
 dlls/shell32/tests/Makefile: dlls/shell32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/shfolder/libshfolder.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/shfolder/libshfolder.$IMPLIBEXT dlls/shfolder/libshfolder.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/shfolder/libshfolder.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shfolder/libshfolder.$IMPLIBEXT dlls/shfolder/libshfolder.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/shfolder/libshfolder.$IMPLIBEXT dlls/shfolder/libshfolder.cross.a: dlls/shfolder/shfolder.spec dlls/shfolder/Makefile
 	@cd dlls/shfolder && \$(MAKE) \`basename \$@\`
 dlls/shfolder dlls/shfolder/__install__ dlls/shfolder/__install-lib__ dlls/shfolder/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/shfolder"
-test "x$enable_shfolder" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/shfolder"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/shfolder/%) dlls/shfolder: dlls/shfolder/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/shfolder"
+test "x$enable_shfolder" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shfolder"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/shfolder/%) dlls/shfolder: dlls/shfolder/Makefile \$(MAKEDEP)
 dlls/shfolder/Makefile: dlls/shfolder/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/shlwapi/libshlwapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/shlwapi/libshlwapi.$IMPLIBEXT dlls/shlwapi/libshlwapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/shlwapi/libshlwapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shlwapi/libshlwapi.$IMPLIBEXT dlls/shlwapi/libshlwapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/shlwapi/libshlwapi.$IMPLIBEXT dlls/shlwapi/libshlwapi.cross.a: dlls/shlwapi/shlwapi.spec dlls/shlwapi/Makefile
 	@cd dlls/shlwapi && \$(MAKE) \`basename \$@\`
 dlls/shlwapi dlls/shlwapi/__install__ dlls/shlwapi/__install-lib__ dlls/shlwapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/shlwapi"
-test "x$enable_shlwapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/shlwapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/shlwapi/%) dlls/shlwapi: dlls/shlwapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/shlwapi"
+test "x$enable_shlwapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shlwapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/shlwapi/%) dlls/shlwapi: dlls/shlwapi/Makefile \$(MAKEDEP)
 dlls/shlwapi/Makefile: dlls/shlwapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/shlwapi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shlwapi/tests: __builddeps__
 dlls/shlwapi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	shlwapi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-shlwapi_test.exe: \$(TOPOBJDIR)/dlls/shlwapi/tests/shlwapi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "shlwapi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "shlwapi_test.exe: \$(TOPOBJDIR)/dlls/shlwapi/tests/shlwapi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/shlwapi/tests/shlwapi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 shlwapi_test.rc:
 	echo \"shlwapi_test.exe TESTRES \\\"shlwapi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 shlwapi_test.res: shlwapi_test.rc shlwapi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/shlwapi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/shlwapi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/shlwapi/tests/%) dlls/shlwapi/tests: dlls/shlwapi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/shlwapi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/shlwapi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/shlwapi/tests/%) dlls/shlwapi/tests: dlls/shlwapi/tests/Makefile \$(MAKEDEP)
 dlls/shlwapi/tests/Makefile: dlls/shlwapi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/slbcsp dlls/slbcsp/__install__ dlls/slbcsp/__install-lib__ dlls/slbcsp/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/slbcsp"
-test "x$enable_slbcsp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/slbcsp"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/slbcsp/%) dlls/slbcsp: dlls/slbcsp/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/slbcsp dlls/slbcsp/__install__ dlls/slbcsp/__install-lib__ dlls/slbcsp/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/slbcsp"
+test "x$enable_slbcsp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/slbcsp"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/slbcsp/%) dlls/slbcsp: dlls/slbcsp/Makefile \$(MAKEDEP)
 dlls/slbcsp/Makefile: dlls/slbcsp/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/slc/libslc.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/slc/libslc.$IMPLIBEXT dlls/slc/libslc.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/slc/libslc.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/slc/libslc.$IMPLIBEXT dlls/slc/libslc.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/slc/libslc.$IMPLIBEXT dlls/slc/libslc.cross.a: dlls/slc/slc.spec dlls/slc/Makefile
 	@cd dlls/slc && \$(MAKE) \`basename \$@\`
 dlls/slc dlls/slc/__install__ dlls/slc/__install-lib__ dlls/slc/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/slc"
-test "x$enable_slc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/slc"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/slc/%) dlls/slc: dlls/slc/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/slc"
+test "x$enable_slc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/slc"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/slc/%) dlls/slc: dlls/slc/Makefile \$(MAKEDEP)
 dlls/slc/Makefile: dlls/slc/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/slc/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/snmpapi/libsnmpapi.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/snmpapi/libsnmpapi.$IMPLIBEXT dlls/snmpapi/libsnmpapi.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/snmpapi/libsnmpapi.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/snmpapi/libsnmpapi.$IMPLIBEXT dlls/snmpapi/libsnmpapi.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/snmpapi/libsnmpapi.$IMPLIBEXT dlls/snmpapi/libsnmpapi.cross.a: dlls/snmpapi/snmpapi.spec dlls/snmpapi/Makefile
 	@cd dlls/snmpapi && \$(MAKE) \`basename \$@\`
 dlls/snmpapi dlls/snmpapi/__install__ dlls/snmpapi/__install-lib__ dlls/snmpapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/snmpapi"
-test "x$enable_snmpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/snmpapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/snmpapi/%) dlls/snmpapi: dlls/snmpapi/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/snmpapi"
+test "x$enable_snmpapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/snmpapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/snmpapi/%) dlls/snmpapi: dlls/snmpapi/Makefile \$(MAKEDEP)
 dlls/snmpapi/Makefile: dlls/snmpapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/snmpapi/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/snmpapi/tests: __builddeps__
 dlls/snmpapi/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	snmpapi_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-snmpapi_test.exe: \$(TOPOBJDIR)/dlls/snmpapi/tests/snmpapi_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "snmpapi_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "snmpapi_test.exe: \$(TOPOBJDIR)/dlls/snmpapi/tests/snmpapi_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/snmpapi/tests/snmpapi_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 snmpapi_test.rc:
 	echo \"snmpapi_test.exe TESTRES \\\"snmpapi_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 snmpapi_test.res: snmpapi_test.rc snmpapi_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/snmpapi/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/snmpapi/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/snmpapi/tests/%) dlls/snmpapi/tests: dlls/snmpapi/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/snmpapi/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/snmpapi/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/snmpapi/tests/%) dlls/snmpapi/tests: dlls/snmpapi/tests/Makefile \$(MAKEDEP)
 dlls/snmpapi/tests/Makefile: dlls/snmpapi/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/softpub dlls/softpub/__install__ dlls/softpub/__install-lib__ dlls/softpub/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/softpub"
-test "x$enable_softpub" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/softpub"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/softpub/%) dlls/softpub: dlls/softpub/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/softpub dlls/softpub/__install__ dlls/softpub/__install-lib__ dlls/softpub/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/softpub"
+test "x$enable_softpub" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/softpub"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/softpub/%) dlls/softpub: dlls/softpub/Makefile \$(MAKEDEP)
 dlls/softpub/Makefile: dlls/softpub/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/softpub/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/sound.drv16 dlls/sound.drv16/__install__ dlls/sound.drv16/__install-lib__ dlls/sound.drv16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/sound.drv16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/sound.drv16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/sound.drv16/%) dlls/sound.drv16: dlls/sound.drv16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sound.drv16 dlls/sound.drv16/__install__ dlls/sound.drv16/__install-lib__ dlls/sound.drv16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/sound.drv16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sound.drv16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/sound.drv16/%) dlls/sound.drv16: dlls/sound.drv16/Makefile \$(MAKEDEP)
 dlls/sound.drv16/Makefile: dlls/sound.drv16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/sound.drv16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/spoolss/libspoolss.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/spoolss/libspoolss.$IMPLIBEXT dlls/spoolss/libspoolss.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/spoolss/libspoolss.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/spoolss/libspoolss.$IMPLIBEXT dlls/spoolss/libspoolss.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/spoolss/libspoolss.$IMPLIBEXT dlls/spoolss/libspoolss.cross.a: dlls/spoolss/spoolss.spec dlls/spoolss/Makefile
 	@cd dlls/spoolss && \$(MAKE) \`basename \$@\`
 dlls/spoolss dlls/spoolss/__install__ dlls/spoolss/__install-lib__ dlls/spoolss/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/spoolss"
-test "x$enable_spoolss" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/spoolss"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/spoolss/%) dlls/spoolss: dlls/spoolss/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/spoolss"
+test "x$enable_spoolss" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/spoolss"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/spoolss/%) dlls/spoolss: dlls/spoolss/Makefile \$(MAKEDEP)
 dlls/spoolss/Makefile: dlls/spoolss/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/spoolss/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/spoolss/tests: __builddeps__
 dlls/spoolss/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	spoolss_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-spoolss_test.exe: \$(TOPOBJDIR)/dlls/spoolss/tests/spoolss_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "spoolss_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "spoolss_test.exe: \$(TOPOBJDIR)/dlls/spoolss/tests/spoolss_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/spoolss/tests/spoolss_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 spoolss_test.rc:
 	echo \"spoolss_test.exe TESTRES \\\"spoolss_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 spoolss_test.res: spoolss_test.rc spoolss_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/spoolss/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/spoolss/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/spoolss/tests/%) dlls/spoolss/tests: dlls/spoolss/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/spoolss/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/spoolss/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/spoolss/tests/%) dlls/spoolss/tests: dlls/spoolss/tests/Makefile \$(MAKEDEP)
 dlls/spoolss/tests/Makefile: dlls/spoolss/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/stdole2.tlb dlls/stdole2.tlb/__install__ dlls/stdole2.tlb/__install-lib__ dlls/stdole2.tlb/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/stdole2.tlb"
-test "x$enable_stdole2_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/stdole2.tlb"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/stdole2.tlb/%) dlls/stdole2.tlb: dlls/stdole2.tlb/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/stdole2.tlb dlls/stdole2.tlb/__install__ dlls/stdole2.tlb/__install-lib__ dlls/stdole2.tlb/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/stdole2.tlb"
+test "x$enable_stdole2_tlb" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/stdole2.tlb"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/stdole2.tlb/%) dlls/stdole2.tlb: dlls/stdole2.tlb/Makefile \$(MAKEDEP)
 dlls/stdole2.tlb/Makefile: dlls/stdole2.tlb/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/stdole32.tlb dlls/stdole32.tlb/__install__ dlls/stdole32.tlb/__install-lib__ dlls/stdole32.tlb/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/stdole32.tlb"
-test "x$enable_stdole32_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/stdole32.tlb"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/stdole32.tlb/%) dlls/stdole32.tlb: dlls/stdole32.tlb/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/stdole32.tlb dlls/stdole32.tlb/__install__ dlls/stdole32.tlb/__install-lib__ dlls/stdole32.tlb/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/stdole32.tlb"
+test "x$enable_stdole32_tlb" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/stdole32.tlb"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/stdole32.tlb/%) dlls/stdole32.tlb: dlls/stdole32.tlb/Makefile \$(MAKEDEP)
 dlls/stdole32.tlb/Makefile: dlls/stdole32.tlb/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/sti/libsti.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/sti/libsti.$IMPLIBEXT dlls/sti/libsti.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/sti/libsti.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sti/libsti.$IMPLIBEXT dlls/sti/libsti.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/sti/libsti.$IMPLIBEXT dlls/sti/libsti.cross.a: dlls/sti/sti.spec dlls/sti/Makefile
 	@cd dlls/sti && \$(MAKE) \`basename \$@\`
 dlls/sti dlls/sti/__install__ dlls/sti/__install-lib__ dlls/sti/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/sti"
-test "x$enable_sti" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/sti"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/sti/%) dlls/sti: dlls/sti/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/sti"
+test "x$enable_sti" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sti"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/sti/%) dlls/sti: dlls/sti/Makefile \$(MAKEDEP)
 dlls/sti/Makefile: dlls/sti/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/sti/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/sti/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sti/tests: __builddeps__
 dlls/sti/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	sti_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-sti_test.exe: \$(TOPOBJDIR)/dlls/sti/tests/sti_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "sti_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "sti_test.exe: \$(TOPOBJDIR)/dlls/sti/tests/sti_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/sti/tests/sti_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 sti_test.rc:
 	echo \"sti_test.exe TESTRES \\\"sti_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 sti_test.res: sti_test.rc sti_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/sti/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/sti/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/sti/tests/%) dlls/sti/tests: dlls/sti/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/sti/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/sti/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/sti/tests/%) dlls/sti/tests: dlls/sti/tests/Makefile \$(MAKEDEP)
 dlls/sti/tests/Makefile: dlls/sti/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/sti/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/storage.dll16 dlls/storage.dll16/__install__ dlls/storage.dll16/__install-lib__ dlls/storage.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/storage.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/storage.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/storage.dll16/%) dlls/storage.dll16: dlls/storage.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/storage.dll16 dlls/storage.dll16/__install__ dlls/storage.dll16/__install-lib__ dlls/storage.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/storage.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/storage.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/storage.dll16/%) dlls/storage.dll16: dlls/storage.dll16/Makefile \$(MAKEDEP)
 dlls/storage.dll16/Makefile: dlls/storage.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/storage.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/stress.dll16 dlls/stress.dll16/__install__ dlls/stress.dll16/__install-lib__ dlls/stress.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/stress.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/stress.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/stress.dll16/%) dlls/stress.dll16: dlls/stress.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/stress.dll16 dlls/stress.dll16/__install__ dlls/stress.dll16/__install-lib__ dlls/stress.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/stress.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/stress.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/stress.dll16/%) dlls/stress.dll16: dlls/stress.dll16/Makefile \$(MAKEDEP)
 dlls/stress.dll16/Makefile: dlls/stress.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/stress.dll16/Makefile"
 
-ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
-	dlls/strmiids/libstrmiids.a"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/strmiids: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_STATIC_LIBS "dlls/strmiids/libstrmiids.a"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/strmiids: tools/widl tools/winebuild tools/winegcc include
 dlls/strmiids/__install__ dlls/strmiids/__install-dev__: dlls/strmiids
 dlls/strmiids/libstrmiids.cross.a: dlls/strmiids/Makefile tools/widl tools/winebuild tools/winegcc include dummy
 	@cd dlls/strmiids && \$(MAKE) \`basename \$@\`"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/strmiids"
-test "x$enable_strmiids" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
-	dlls/strmiids"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/strmiids/%) dlls/strmiids: dlls/strmiids/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/strmiids"
+test "x$enable_strmiids" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/strmiids"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/strmiids/%) dlls/strmiids: dlls/strmiids/Makefile \$(MAKEDEP)
 dlls/strmiids/Makefile: dlls/strmiids/Makefile.in dlls/Makeimplib.rules config.status"
 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/svrapi dlls/svrapi/__install__ dlls/svrapi/__install-lib__ dlls/svrapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/svrapi"
-test "x$enable_svrapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/svrapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/svrapi/%) dlls/svrapi: dlls/svrapi/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/svrapi dlls/svrapi/__install__ dlls/svrapi/__install-lib__ dlls/svrapi/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/svrapi"
+test "x$enable_svrapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/svrapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/svrapi/%) dlls/svrapi: dlls/svrapi/Makefile \$(MAKEDEP)
 dlls/svrapi/Makefile: dlls/svrapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/sxs dlls/sxs/__install__ dlls/sxs/__install-lib__ dlls/sxs/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/sxs"
-test "x$enable_sxs" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/sxs"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/sxs/%) dlls/sxs: dlls/sxs/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sxs dlls/sxs/__install__ dlls/sxs/__install-lib__ dlls/sxs/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/sxs"
+test "x$enable_sxs" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sxs"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/sxs/%) dlls/sxs: dlls/sxs/Makefile \$(MAKEDEP)
 dlls/sxs/Makefile: dlls/sxs/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/sxs/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/system.drv16 dlls/system.drv16/__install__ dlls/system.drv16/__install-lib__ dlls/system.drv16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/system.drv16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/system.drv16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/system.drv16/%) dlls/system.drv16: dlls/system.drv16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/system.drv16 dlls/system.drv16/__install__ dlls/system.drv16/__install-lib__ dlls/system.drv16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/system.drv16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/system.drv16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/system.drv16/%) dlls/system.drv16: dlls/system.drv16/Makefile \$(MAKEDEP)
 dlls/system.drv16/Makefile: dlls/system.drv16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/system.drv16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/t2embed dlls/t2embed/__install__ dlls/t2embed/__install-lib__ dlls/t2embed/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/t2embed"
-test "x$enable_t2embed" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/t2embed"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/t2embed/%) dlls/t2embed: dlls/t2embed/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/t2embed dlls/t2embed/__install__ dlls/t2embed/__install-lib__ dlls/t2embed/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/t2embed"
+test "x$enable_t2embed" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/t2embed"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/t2embed/%) dlls/t2embed: dlls/t2embed/Makefile \$(MAKEDEP)
 dlls/t2embed/Makefile: dlls/t2embed/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/t2embed/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/tapi32/libtapi32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/tapi32/libtapi32.$IMPLIBEXT dlls/tapi32/libtapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/tapi32/libtapi32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/tapi32/libtapi32.$IMPLIBEXT dlls/tapi32/libtapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/tapi32/libtapi32.$IMPLIBEXT dlls/tapi32/libtapi32.cross.a: dlls/tapi32/tapi32.spec dlls/tapi32/Makefile
 	@cd dlls/tapi32 && \$(MAKE) \`basename \$@\`
 dlls/tapi32 dlls/tapi32/__install__ dlls/tapi32/__install-lib__ dlls/tapi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/tapi32"
-test "x$enable_tapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/tapi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/tapi32/%) dlls/tapi32: dlls/tapi32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/tapi32"
+test "x$enable_tapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/tapi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/tapi32/%) dlls/tapi32: dlls/tapi32/Makefile \$(MAKEDEP)
 dlls/tapi32/Makefile: dlls/tapi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/toolhelp.dll16 dlls/toolhelp.dll16/__install__ dlls/toolhelp.dll16/__install-lib__ dlls/toolhelp.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/toolhelp.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/toolhelp.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/toolhelp.dll16/%) dlls/toolhelp.dll16: dlls/toolhelp.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/toolhelp.dll16 dlls/toolhelp.dll16/__install__ dlls/toolhelp.dll16/__install-lib__ dlls/toolhelp.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/toolhelp.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/toolhelp.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/toolhelp.dll16/%) dlls/toolhelp.dll16: dlls/toolhelp.dll16/Makefile \$(MAKEDEP)
 dlls/toolhelp.dll16/Makefile: dlls/toolhelp.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/toolhelp.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/traffic dlls/traffic/__install__ dlls/traffic/__install-lib__ dlls/traffic/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/traffic"
-test "x$enable_traffic" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/traffic"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/traffic/%) dlls/traffic: dlls/traffic/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/traffic dlls/traffic/__install__ dlls/traffic/__install-lib__ dlls/traffic/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/traffic"
+test "x$enable_traffic" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/traffic"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/traffic/%) dlls/traffic: dlls/traffic/Makefile \$(MAKEDEP)
 dlls/traffic/Makefile: dlls/traffic/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/traffic/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/twain.dll16 dlls/twain.dll16/__install__ dlls/twain.dll16/__install-lib__ dlls/twain.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/twain.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/twain.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/twain.dll16/%) dlls/twain.dll16: dlls/twain.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/twain.dll16 dlls/twain.dll16/__install__ dlls/twain.dll16/__install-lib__ dlls/twain.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/twain.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/twain.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/twain.dll16/%) dlls/twain.dll16: dlls/twain.dll16/Makefile \$(MAKEDEP)
 dlls/twain.dll16/Makefile: dlls/twain.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/twain.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/twain_32 dlls/twain_32/__install__ dlls/twain_32/__install-lib__ dlls/twain_32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/twain_32"
-test "x$enable_twain_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/twain_32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/twain_32/%) dlls/twain_32: dlls/twain_32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/twain_32 dlls/twain_32/__install__ dlls/twain_32/__install-lib__ dlls/twain_32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/twain_32"
+test "x$enable_twain_32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/twain_32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/twain_32/%) dlls/twain_32: dlls/twain_32/Makefile \$(MAKEDEP)
 dlls/twain_32/Makefile: dlls/twain_32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/twain_32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/twain_32/tests: __builddeps__
 dlls/twain_32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	twain_32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-twain_32_test.exe: \$(TOPOBJDIR)/dlls/twain_32/tests/twain_32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "twain_32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "twain_32_test.exe: \$(TOPOBJDIR)/dlls/twain_32/tests/twain_32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/twain_32/tests/twain_32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 twain_32_test.rc:
 	echo \"twain_32_test.exe TESTRES \\\"twain_32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 twain_32_test.res: twain_32_test.rc twain_32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/twain_32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/twain_32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/twain_32/tests/%) dlls/twain_32/tests: dlls/twain_32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/twain_32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/twain_32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/twain_32/tests/%) dlls/twain_32/tests: dlls/twain_32/tests/Makefile \$(MAKEDEP)
 dlls/twain_32/tests/Makefile: dlls/twain_32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/twain_32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/typelib.dll16 dlls/typelib.dll16/__install__ dlls/typelib.dll16/__install-lib__ dlls/typelib.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/typelib.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/typelib.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/typelib.dll16/%) dlls/typelib.dll16: dlls/typelib.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/typelib.dll16 dlls/typelib.dll16/__install__ dlls/typelib.dll16/__install-lib__ dlls/typelib.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/typelib.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/typelib.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/typelib.dll16/%) dlls/typelib.dll16: dlls/typelib.dll16/Makefile \$(MAKEDEP)
 dlls/typelib.dll16/Makefile: dlls/typelib.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/typelib.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/unicows/libunicows.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/unicows/libunicows.$IMPLIBEXT dlls/unicows/libunicows.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/unicows/libunicows.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/unicows/libunicows.$IMPLIBEXT dlls/unicows/libunicows.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/unicows/libunicows.$IMPLIBEXT dlls/unicows/libunicows.cross.a: dlls/unicows/unicows.spec dlls/unicows/Makefile
 	@cd dlls/unicows && \$(MAKE) \`basename \$@\`
 dlls/unicows dlls/unicows/__install__ dlls/unicows/__install-lib__ dlls/unicows/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/unicows"
-test "x$enable_unicows" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/unicows"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/unicows/%) dlls/unicows: dlls/unicows/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/unicows"
+test "x$enable_unicows" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/unicows"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/unicows/%) dlls/unicows: dlls/unicows/Makefile \$(MAKEDEP)
 dlls/unicows/Makefile: dlls/unicows/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/unicows/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/updspapi dlls/updspapi/__install__ dlls/updspapi/__install-lib__ dlls/updspapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/updspapi"
-test "x$enable_updspapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/updspapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/updspapi/%) dlls/updspapi: dlls/updspapi/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/updspapi dlls/updspapi/__install__ dlls/updspapi/__install-lib__ dlls/updspapi/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/updspapi"
+test "x$enable_updspapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/updspapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/updspapi/%) dlls/updspapi: dlls/updspapi/Makefile \$(MAKEDEP)
 dlls/updspapi/Makefile: dlls/updspapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/updspapi/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/url/liburl.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/url/liburl.$IMPLIBEXT dlls/url/liburl.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/url/liburl.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/url/liburl.$IMPLIBEXT dlls/url/liburl.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/url/liburl.$IMPLIBEXT dlls/url/liburl.cross.a: dlls/url/url.spec dlls/url/Makefile
 	@cd dlls/url && \$(MAKE) \`basename \$@\`
 dlls/url dlls/url/__install__ dlls/url/__install-lib__ dlls/url/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/url"
-test "x$enable_url" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/url"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/url/%) dlls/url: dlls/url/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/url"
+test "x$enable_url" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/url"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/url/%) dlls/url: dlls/url/Makefile \$(MAKEDEP)
 dlls/url/Makefile: dlls/url/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/url/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/urlmon/liburlmon.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/urlmon/liburlmon.$IMPLIBEXT dlls/urlmon/liburlmon.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/urlmon/liburlmon.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/urlmon/liburlmon.$IMPLIBEXT dlls/urlmon/liburlmon.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/urlmon/liburlmon.$IMPLIBEXT dlls/urlmon/liburlmon.cross.a: dlls/urlmon/urlmon.spec dlls/urlmon/Makefile
 	@cd dlls/urlmon && \$(MAKE) \`basename \$@\`
 dlls/urlmon dlls/urlmon/__install__ dlls/urlmon/__install-lib__ dlls/urlmon/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/urlmon"
-test "x$enable_urlmon" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/urlmon"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/urlmon/%) dlls/urlmon: dlls/urlmon/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/urlmon"
+test "x$enable_urlmon" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/urlmon"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/urlmon/%) dlls/urlmon: dlls/urlmon/Makefile \$(MAKEDEP)
 dlls/urlmon/Makefile: dlls/urlmon/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/urlmon/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/urlmon/tests: __builddeps__
 dlls/urlmon/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	urlmon_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-urlmon_test.exe: \$(TOPOBJDIR)/dlls/urlmon/tests/urlmon_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "urlmon_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "urlmon_test.exe: \$(TOPOBJDIR)/dlls/urlmon/tests/urlmon_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/urlmon/tests/urlmon_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 urlmon_test.rc:
 	echo \"urlmon_test.exe TESTRES \\\"urlmon_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 urlmon_test.res: urlmon_test.rc urlmon_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/urlmon/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/urlmon/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/urlmon/tests/%) dlls/urlmon/tests: dlls/urlmon/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/urlmon/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/urlmon/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/urlmon/tests/%) dlls/urlmon/tests: dlls/urlmon/tests/Makefile \$(MAKEDEP)
 dlls/urlmon/tests/Makefile: dlls/urlmon/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/user.exe16 dlls/user.exe16/__install__ dlls/user.exe16/__install-lib__ dlls/user.exe16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/user.exe16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/user.exe16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/user.exe16/%) dlls/user.exe16: dlls/user.exe16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/user.exe16 dlls/user.exe16/__install__ dlls/user.exe16/__install-lib__ dlls/user.exe16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/user.exe16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/user.exe16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/user.exe16/%) dlls/user.exe16: dlls/user.exe16/Makefile \$(MAKEDEP)
 dlls/user.exe16/Makefile: dlls/user.exe16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/user.exe16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/user32/libuser32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/user32/libuser32.$IMPLIBEXT dlls/user32/libuser32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/user32/libuser32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/user32/libuser32.$IMPLIBEXT dlls/user32/libuser32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/user32/libuser32.$IMPLIBEXT dlls/user32/libuser32.cross.a: dlls/user32/user32.spec dlls/user32/Makefile
 	@cd dlls/user32 && \$(MAKE) \`basename \$@\`
 dlls/user32 dlls/user32/__install__ dlls/user32/__install-lib__ dlls/user32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/user32"
-test "x$enable_user32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/user32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/user32/%) dlls/user32: dlls/user32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/user32"
+test "x$enable_user32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/user32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/user32/%) dlls/user32: dlls/user32/Makefile \$(MAKEDEP)
 dlls/user32/Makefile: dlls/user32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/user32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/user32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/user32/tests: __builddeps__
 dlls/user32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	user32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-user32_test.exe: \$(TOPOBJDIR)/dlls/user32/tests/user32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "user32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "user32_test.exe: \$(TOPOBJDIR)/dlls/user32/tests/user32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/user32/tests/user32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 user32_test.rc:
 	echo \"user32_test.exe TESTRES \\\"user32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 user32_test.res: user32_test.rc user32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/user32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/user32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/user32/tests/%) dlls/user32/tests: dlls/user32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/user32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/user32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/user32/tests/%) dlls/user32/tests: dlls/user32/tests/Makefile \$(MAKEDEP)
 dlls/user32/tests/Makefile: dlls/user32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/userenv/libuserenv.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/userenv/libuserenv.$IMPLIBEXT dlls/userenv/libuserenv.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/userenv/libuserenv.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/userenv/libuserenv.$IMPLIBEXT dlls/userenv/libuserenv.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/userenv/libuserenv.$IMPLIBEXT dlls/userenv/libuserenv.cross.a: dlls/userenv/userenv.spec dlls/userenv/Makefile
 	@cd dlls/userenv && \$(MAKE) \`basename \$@\`
 dlls/userenv dlls/userenv/__install__ dlls/userenv/__install-lib__ dlls/userenv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/userenv"
-test "x$enable_userenv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/userenv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/userenv/%) dlls/userenv: dlls/userenv/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/userenv"
+test "x$enable_userenv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/userenv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/userenv/%) dlls/userenv: dlls/userenv/Makefile \$(MAKEDEP)
 dlls/userenv/Makefile: dlls/userenv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/userenv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/userenv/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/userenv/tests: __builddeps__
 dlls/userenv/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	userenv_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-userenv_test.exe: \$(TOPOBJDIR)/dlls/userenv/tests/userenv_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "userenv_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "userenv_test.exe: \$(TOPOBJDIR)/dlls/userenv/tests/userenv_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/userenv/tests/userenv_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 userenv_test.rc:
 	echo \"userenv_test.exe TESTRES \\\"userenv_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 userenv_test.res: userenv_test.rc userenv_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/userenv/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/userenv/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/userenv/tests/%) dlls/userenv/tests: dlls/userenv/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/userenv/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/userenv/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/userenv/tests/%) dlls/userenv/tests: dlls/userenv/tests/Makefile \$(MAKEDEP)
 dlls/userenv/tests/Makefile: dlls/userenv/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/usp10/libusp10.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/usp10/libusp10.$IMPLIBEXT dlls/usp10/libusp10.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/usp10/libusp10.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/usp10/libusp10.$IMPLIBEXT dlls/usp10/libusp10.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/usp10/libusp10.$IMPLIBEXT dlls/usp10/libusp10.cross.a: dlls/usp10/usp10.spec dlls/usp10/Makefile
 	@cd dlls/usp10 && \$(MAKE) \`basename \$@\`
 dlls/usp10 dlls/usp10/__install__ dlls/usp10/__install-lib__ dlls/usp10/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/usp10"
-test "x$enable_usp10" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/usp10"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/usp10/%) dlls/usp10: dlls/usp10/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/usp10"
+test "x$enable_usp10" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/usp10"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/usp10/%) dlls/usp10: dlls/usp10/Makefile \$(MAKEDEP)
 dlls/usp10/Makefile: dlls/usp10/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/usp10/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/usp10/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/usp10/tests: __builddeps__
 dlls/usp10/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	usp10_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-usp10_test.exe: \$(TOPOBJDIR)/dlls/usp10/tests/usp10_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "usp10_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "usp10_test.exe: \$(TOPOBJDIR)/dlls/usp10/tests/usp10_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/usp10/tests/usp10_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 usp10_test.rc:
 	echo \"usp10_test.exe TESTRES \\\"usp10_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 usp10_test.res: usp10_test.rc usp10_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/usp10/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/usp10/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/usp10/tests/%) dlls/usp10/tests: dlls/usp10/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/usp10/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/usp10/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/usp10/tests/%) dlls/usp10/tests: dlls/usp10/tests/Makefile \$(MAKEDEP)
 dlls/usp10/tests/Makefile: dlls/usp10/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
 
-ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
-	dlls/uuid/libuuid.a"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/uuid: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_STATIC_LIBS "dlls/uuid/libuuid.a"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/uuid: tools/widl tools/winebuild tools/winegcc include
 dlls/uuid/__install__ dlls/uuid/__install-dev__: dlls/uuid
 dlls/uuid/libuuid.cross.a: dlls/uuid/Makefile tools/widl tools/winebuild tools/winegcc include dummy
 	@cd dlls/uuid && \$(MAKE) \`basename \$@\`"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/uuid"
-test "x$enable_uuid" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
-	dlls/uuid"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/uuid/%) dlls/uuid: dlls/uuid/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/uuid"
+test "x$enable_uuid" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/uuid"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/uuid/%) dlls/uuid: dlls/uuid/Makefile \$(MAKEDEP)
 dlls/uuid/Makefile: dlls/uuid/Makefile.in dlls/Makeimplib.rules config.status"
 ac_config_files="$ac_config_files dlls/uuid/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/uxtheme/libuxtheme.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/uxtheme/libuxtheme.$IMPLIBEXT dlls/uxtheme/libuxtheme.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/uxtheme/libuxtheme.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/uxtheme/libuxtheme.$IMPLIBEXT dlls/uxtheme/libuxtheme.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/uxtheme/libuxtheme.$IMPLIBEXT dlls/uxtheme/libuxtheme.cross.a: dlls/uxtheme/uxtheme.spec dlls/uxtheme/Makefile
 	@cd dlls/uxtheme && \$(MAKE) \`basename \$@\`
 dlls/uxtheme dlls/uxtheme/__install__ dlls/uxtheme/__install-lib__ dlls/uxtheme/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/uxtheme"
-test "x$enable_uxtheme" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/uxtheme"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/uxtheme/%) dlls/uxtheme: dlls/uxtheme/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/uxtheme"
+test "x$enable_uxtheme" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/uxtheme"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/uxtheme/%) dlls/uxtheme: dlls/uxtheme/Makefile \$(MAKEDEP)
 dlls/uxtheme/Makefile: dlls/uxtheme/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/uxtheme/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/uxtheme/tests: __builddeps__
 dlls/uxtheme/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	uxtheme_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-uxtheme_test.exe: \$(TOPOBJDIR)/dlls/uxtheme/tests/uxtheme_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "uxtheme_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "uxtheme_test.exe: \$(TOPOBJDIR)/dlls/uxtheme/tests/uxtheme_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/uxtheme/tests/uxtheme_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 uxtheme_test.rc:
 	echo \"uxtheme_test.exe TESTRES \\\"uxtheme_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 uxtheme_test.res: uxtheme_test.rc uxtheme_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/uxtheme/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/uxtheme/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/uxtheme/tests/%) dlls/uxtheme/tests: dlls/uxtheme/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/uxtheme/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/uxtheme/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/uxtheme/tests/%) dlls/uxtheme/tests: dlls/uxtheme/tests/Makefile \$(MAKEDEP)
 dlls/uxtheme/tests/Makefile: dlls/uxtheme/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/vdhcp.vxd dlls/vdhcp.vxd/__install__ dlls/vdhcp.vxd/__install-lib__ dlls/vdhcp.vxd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/vdhcp.vxd"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/vdhcp.vxd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/vdhcp.vxd/%) dlls/vdhcp.vxd: dlls/vdhcp.vxd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vdhcp.vxd dlls/vdhcp.vxd/__install__ dlls/vdhcp.vxd/__install-lib__ dlls/vdhcp.vxd/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/vdhcp.vxd"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vdhcp.vxd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/vdhcp.vxd/%) dlls/vdhcp.vxd: dlls/vdhcp.vxd/Makefile \$(MAKEDEP)
 dlls/vdhcp.vxd/Makefile: dlls/vdhcp.vxd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/vdmdbg/libvdmdbg.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/vdmdbg/libvdmdbg.$IMPLIBEXT dlls/vdmdbg/libvdmdbg.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/vdmdbg/libvdmdbg.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vdmdbg/libvdmdbg.$IMPLIBEXT dlls/vdmdbg/libvdmdbg.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/vdmdbg/libvdmdbg.$IMPLIBEXT dlls/vdmdbg/libvdmdbg.cross.a: dlls/vdmdbg/vdmdbg.spec dlls/vdmdbg/Makefile
 	@cd dlls/vdmdbg && \$(MAKE) \`basename \$@\`
 dlls/vdmdbg dlls/vdmdbg/__install__ dlls/vdmdbg/__install-lib__ dlls/vdmdbg/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/vdmdbg"
-test "x$enable_vdmdbg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/vdmdbg"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/vdmdbg/%) dlls/vdmdbg: dlls/vdmdbg/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/vdmdbg"
+test "x$enable_vdmdbg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vdmdbg"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/vdmdbg/%) dlls/vdmdbg: dlls/vdmdbg/Makefile \$(MAKEDEP)
 dlls/vdmdbg/Makefile: dlls/vdmdbg/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ver.dll16 dlls/ver.dll16/__install__ dlls/ver.dll16/__install-lib__ dlls/ver.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ver.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ver.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ver.dll16/%) dlls/ver.dll16: dlls/ver.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ver.dll16 dlls/ver.dll16/__install__ dlls/ver.dll16/__install-lib__ dlls/ver.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/ver.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ver.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ver.dll16/%) dlls/ver.dll16: dlls/ver.dll16/Makefile \$(MAKEDEP)
 dlls/ver.dll16/Makefile: dlls/ver.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ver.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/version/libversion.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/version/libversion.$IMPLIBEXT dlls/version/libversion.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/version/libversion.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/version/libversion.$IMPLIBEXT dlls/version/libversion.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/version/libversion.$IMPLIBEXT dlls/version/libversion.cross.a: dlls/version/version.spec dlls/version/Makefile
 	@cd dlls/version && \$(MAKE) \`basename \$@\`
 dlls/version dlls/version/__install__ dlls/version/__install-lib__ dlls/version/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/version"
-test "x$enable_version" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/version"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/version/%) dlls/version: dlls/version/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/version"
+test "x$enable_version" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/version"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/version/%) dlls/version: dlls/version/Makefile \$(MAKEDEP)
 dlls/version/Makefile: dlls/version/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/version/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/version/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/version/tests: __builddeps__
 dlls/version/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	version_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-version_test.exe: \$(TOPOBJDIR)/dlls/version/tests/version_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "version_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "version_test.exe: \$(TOPOBJDIR)/dlls/version/tests/version_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/version/tests/version_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 version_test.rc:
 	echo \"version_test.exe TESTRES \\\"version_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 version_test.res: version_test.rc version_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/version/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/version/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/version/tests/%) dlls/version/tests: dlls/version/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/version/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/version/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/version/tests/%) dlls/version/tests: dlls/version/tests/Makefile \$(MAKEDEP)
 dlls/version/tests/Makefile: dlls/version/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/vmm.vxd dlls/vmm.vxd/__install__ dlls/vmm.vxd/__install-lib__ dlls/vmm.vxd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/vmm.vxd"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/vmm.vxd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/vmm.vxd/%) dlls/vmm.vxd: dlls/vmm.vxd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vmm.vxd dlls/vmm.vxd/__install__ dlls/vmm.vxd/__install-lib__ dlls/vmm.vxd/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/vmm.vxd"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vmm.vxd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/vmm.vxd/%) dlls/vmm.vxd: dlls/vmm.vxd/Makefile \$(MAKEDEP)
 dlls/vmm.vxd/Makefile: dlls/vmm.vxd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/vnbt.vxd dlls/vnbt.vxd/__install__ dlls/vnbt.vxd/__install-lib__ dlls/vnbt.vxd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/vnbt.vxd"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/vnbt.vxd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/vnbt.vxd/%) dlls/vnbt.vxd: dlls/vnbt.vxd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vnbt.vxd dlls/vnbt.vxd/__install__ dlls/vnbt.vxd/__install-lib__ dlls/vnbt.vxd/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/vnbt.vxd"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vnbt.vxd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/vnbt.vxd/%) dlls/vnbt.vxd: dlls/vnbt.vxd/Makefile \$(MAKEDEP)
 dlls/vnbt.vxd/Makefile: dlls/vnbt.vxd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/vnetbios.vxd dlls/vnetbios.vxd/__install__ dlls/vnetbios.vxd/__install-lib__ dlls/vnetbios.vxd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/vnetbios.vxd"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/vnetbios.vxd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/vnetbios.vxd/%) dlls/vnetbios.vxd: dlls/vnetbios.vxd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vnetbios.vxd dlls/vnetbios.vxd/__install__ dlls/vnetbios.vxd/__install-lib__ dlls/vnetbios.vxd/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/vnetbios.vxd"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vnetbios.vxd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/vnetbios.vxd/%) dlls/vnetbios.vxd: dlls/vnetbios.vxd/Makefile \$(MAKEDEP)
 dlls/vnetbios.vxd/Makefile: dlls/vnetbios.vxd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/vtdapi.vxd dlls/vtdapi.vxd/__install__ dlls/vtdapi.vxd/__install-lib__ dlls/vtdapi.vxd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/vtdapi.vxd"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/vtdapi.vxd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/vtdapi.vxd/%) dlls/vtdapi.vxd: dlls/vtdapi.vxd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vtdapi.vxd dlls/vtdapi.vxd/__install__ dlls/vtdapi.vxd/__install-lib__ dlls/vtdapi.vxd/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/vtdapi.vxd"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vtdapi.vxd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/vtdapi.vxd/%) dlls/vtdapi.vxd: dlls/vtdapi.vxd/Makefile \$(MAKEDEP)
 dlls/vtdapi.vxd/Makefile: dlls/vtdapi.vxd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/vwin32.vxd dlls/vwin32.vxd/__install__ dlls/vwin32.vxd/__install-lib__ dlls/vwin32.vxd/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/vwin32.vxd"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/vwin32.vxd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/vwin32.vxd/%) dlls/vwin32.vxd: dlls/vwin32.vxd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vwin32.vxd dlls/vwin32.vxd/__install__ dlls/vwin32.vxd/__install-lib__ dlls/vwin32.vxd/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/vwin32.vxd"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vwin32.vxd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/vwin32.vxd/%) dlls/vwin32.vxd: dlls/vwin32.vxd/Makefile \$(MAKEDEP)
 dlls/vwin32.vxd/Makefile: dlls/vwin32.vxd/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/w32skrnl dlls/w32skrnl/__install__ dlls/w32skrnl/__install-lib__ dlls/w32skrnl/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/w32skrnl"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/w32skrnl"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/w32skrnl/%) dlls/w32skrnl: dlls/w32skrnl/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/w32skrnl dlls/w32skrnl/__install__ dlls/w32skrnl/__install-lib__ dlls/w32skrnl/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/w32skrnl"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/w32skrnl"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/w32skrnl/%) dlls/w32skrnl: dlls/w32skrnl/Makefile \$(MAKEDEP)
 dlls/w32skrnl/Makefile: dlls/w32skrnl/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/w32sys.dll16 dlls/w32sys.dll16/__install__ dlls/w32sys.dll16/__install-lib__ dlls/w32sys.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/w32sys.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/w32sys.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/w32sys.dll16/%) dlls/w32sys.dll16: dlls/w32sys.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/w32sys.dll16 dlls/w32sys.dll16/__install__ dlls/w32sys.dll16/__install-lib__ dlls/w32sys.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/w32sys.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/w32sys.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/w32sys.dll16/%) dlls/w32sys.dll16: dlls/w32sys.dll16/Makefile \$(MAKEDEP)
 dlls/w32sys.dll16/Makefile: dlls/w32sys.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/w32sys.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wbemprox dlls/wbemprox/__install__ dlls/wbemprox/__install-lib__ dlls/wbemprox/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wbemprox"
-test "x$enable_wbemprox" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wbemprox"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wbemprox/%) dlls/wbemprox: dlls/wbemprox/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wbemprox dlls/wbemprox/__install__ dlls/wbemprox/__install-lib__ dlls/wbemprox/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wbemprox"
+test "x$enable_wbemprox" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wbemprox"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wbemprox/%) dlls/wbemprox: dlls/wbemprox/Makefile \$(MAKEDEP)
 dlls/wbemprox/Makefile: dlls/wbemprox/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wbemprox/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wiaservc dlls/wiaservc/__install__ dlls/wiaservc/__install-lib__ dlls/wiaservc/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wiaservc"
-test "x$enable_wiaservc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wiaservc"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wiaservc/%) dlls/wiaservc: dlls/wiaservc/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wiaservc dlls/wiaservc/__install__ dlls/wiaservc/__install-lib__ dlls/wiaservc/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wiaservc"
+test "x$enable_wiaservc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wiaservc"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wiaservc/%) dlls/wiaservc: dlls/wiaservc/Makefile \$(MAKEDEP)
 dlls/wiaservc/Makefile: dlls/wiaservc/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wiaservc/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/win32s16.dll16 dlls/win32s16.dll16/__install__ dlls/win32s16.dll16/__install-lib__ dlls/win32s16.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/win32s16.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/win32s16.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/win32s16.dll16/%) dlls/win32s16.dll16: dlls/win32s16.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/win32s16.dll16 dlls/win32s16.dll16/__install__ dlls/win32s16.dll16/__install-lib__ dlls/win32s16.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/win32s16.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/win32s16.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/win32s16.dll16/%) dlls/win32s16.dll16: dlls/win32s16.dll16/Makefile \$(MAKEDEP)
 dlls/win32s16.dll16/Makefile: dlls/win32s16.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/win32s16.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/win87em.dll16 dlls/win87em.dll16/__install__ dlls/win87em.dll16/__install-lib__ dlls/win87em.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/win87em.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/win87em.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/win87em.dll16/%) dlls/win87em.dll16: dlls/win87em.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/win87em.dll16 dlls/win87em.dll16/__install__ dlls/win87em.dll16/__install-lib__ dlls/win87em.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/win87em.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/win87em.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/win87em.dll16/%) dlls/win87em.dll16: dlls/win87em.dll16/Makefile \$(MAKEDEP)
 dlls/win87em.dll16/Makefile: dlls/win87em.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/win87em.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winaspi.dll16 dlls/winaspi.dll16/__install__ dlls/winaspi.dll16/__install-lib__ dlls/winaspi.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winaspi.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winaspi.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winaspi.dll16/%) dlls/winaspi.dll16: dlls/winaspi.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winaspi.dll16 dlls/winaspi.dll16/__install__ dlls/winaspi.dll16/__install-lib__ dlls/winaspi.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winaspi.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winaspi.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winaspi.dll16/%) dlls/winaspi.dll16: dlls/winaspi.dll16/Makefile \$(MAKEDEP)
 dlls/winaspi.dll16/Makefile: dlls/winaspi.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winaspi.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/windebug.dll16 dlls/windebug.dll16/__install__ dlls/windebug.dll16/__install-lib__ dlls/windebug.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/windebug.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/windebug.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/windebug.dll16/%) dlls/windebug.dll16: dlls/windebug.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/windebug.dll16 dlls/windebug.dll16/__install__ dlls/windebug.dll16/__install-lib__ dlls/windebug.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/windebug.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/windebug.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/windebug.dll16/%) dlls/windebug.dll16: dlls/windebug.dll16/Makefile \$(MAKEDEP)
 dlls/windebug.dll16/Makefile: dlls/windebug.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/windebug.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/windowscodecs/libwindowscodecs.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/windowscodecs/libwindowscodecs.$IMPLIBEXT dlls/windowscodecs/libwindowscodecs.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/windowscodecs/libwindowscodecs.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/windowscodecs/libwindowscodecs.$IMPLIBEXT dlls/windowscodecs/libwindowscodecs.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/windowscodecs/libwindowscodecs.$IMPLIBEXT dlls/windowscodecs/libwindowscodecs.cross.a: dlls/windowscodecs/windowscodecs.spec dlls/windowscodecs/Makefile
 	@cd dlls/windowscodecs && \$(MAKE) \`basename \$@\`
 dlls/windowscodecs dlls/windowscodecs/__install__ dlls/windowscodecs/__install-lib__ dlls/windowscodecs/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/windowscodecs"
-test "x$enable_windowscodecs" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/windowscodecs"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/windowscodecs/%) dlls/windowscodecs: dlls/windowscodecs/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/windowscodecs"
+test "x$enable_windowscodecs" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/windowscodecs"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/windowscodecs/%) dlls/windowscodecs: dlls/windowscodecs/Makefile \$(MAKEDEP)
 dlls/windowscodecs/Makefile: dlls/windowscodecs/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/windowscodecs/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/windowscodecs/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/windowscodecs/tests: __builddeps__
 dlls/windowscodecs/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	windowscodecs_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-windowscodecs_test.exe: \$(TOPOBJDIR)/dlls/windowscodecs/tests/windowscodecs_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "windowscodecs_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "windowscodecs_test.exe: \$(TOPOBJDIR)/dlls/windowscodecs/tests/windowscodecs_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/windowscodecs/tests/windowscodecs_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 windowscodecs_test.rc:
 	echo \"windowscodecs_test.exe TESTRES \\\"windowscodecs_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 windowscodecs_test.res: windowscodecs_test.rc windowscodecs_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/windowscodecs/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/windowscodecs/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/windowscodecs/tests/%) dlls/windowscodecs/tests: dlls/windowscodecs/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/windowscodecs/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/windowscodecs/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/windowscodecs/tests/%) dlls/windowscodecs/tests: dlls/windowscodecs/tests/Makefile \$(MAKEDEP)
 dlls/windowscodecs/tests/Makefile: dlls/windowscodecs/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/windowscodecs/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winealsa.drv dlls/winealsa.drv/__install__ dlls/winealsa.drv/__install-lib__ dlls/winealsa.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winealsa.drv"
-test "x$enable_winealsa_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winealsa.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winealsa.drv/%) dlls/winealsa.drv: dlls/winealsa.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winealsa.drv dlls/winealsa.drv/__install__ dlls/winealsa.drv/__install-lib__ dlls/winealsa.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winealsa.drv"
+test "x$enable_winealsa_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winealsa.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winealsa.drv/%) dlls/winealsa.drv: dlls/winealsa.drv/Makefile \$(MAKEDEP)
 dlls/winealsa.drv/Makefile: dlls/winealsa.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wineaudioio.drv dlls/wineaudioio.drv/__install__ dlls/wineaudioio.drv/__install-lib__ dlls/wineaudioio.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wineaudioio.drv"
-test "x$enable_wineaudioio_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wineaudioio.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wineaudioio.drv/%) dlls/wineaudioio.drv: dlls/wineaudioio.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineaudioio.drv dlls/wineaudioio.drv/__install__ dlls/wineaudioio.drv/__install-lib__ dlls/wineaudioio.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wineaudioio.drv"
+test "x$enable_wineaudioio_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineaudioio.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wineaudioio.drv/%) dlls/wineaudioio.drv: dlls/wineaudioio.drv/Makefile \$(MAKEDEP)
 dlls/wineaudioio.drv/Makefile: dlls/wineaudioio.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winecoreaudio.drv dlls/winecoreaudio.drv/__install__ dlls/winecoreaudio.drv/__install-lib__ dlls/winecoreaudio.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winecoreaudio.drv"
-test "x$enable_winecoreaudio_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winecoreaudio.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winecoreaudio.drv/%) dlls/winecoreaudio.drv: dlls/winecoreaudio.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winecoreaudio.drv dlls/winecoreaudio.drv/__install__ dlls/winecoreaudio.drv/__install-lib__ dlls/winecoreaudio.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winecoreaudio.drv"
+test "x$enable_winecoreaudio_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winecoreaudio.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winecoreaudio.drv/%) dlls/winecoreaudio.drv: dlls/winecoreaudio.drv/Makefile \$(MAKEDEP)
 dlls/winecoreaudio.drv/Makefile: dlls/winecoreaudio.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
 
-ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
-	dlls/winecrt0/libwinecrt0.a"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winecrt0: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_STATIC_LIBS "dlls/winecrt0/libwinecrt0.a"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winecrt0: tools/widl tools/winebuild tools/winegcc include
 dlls/winecrt0/__install__ dlls/winecrt0/__install-dev__: dlls/winecrt0
 dlls/winecrt0/libwinecrt0.cross.a: dlls/winecrt0/Makefile tools/widl tools/winebuild tools/winegcc include dummy
 	@cd dlls/winecrt0 && \$(MAKE) \`basename \$@\`"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winecrt0"
-test "x$enable_winecrt0" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
-	dlls/winecrt0"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winecrt0/%) dlls/winecrt0: dlls/winecrt0/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/winecrt0"
+test "x$enable_winecrt0" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/winecrt0"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winecrt0/%) dlls/winecrt0: dlls/winecrt0/Makefile \$(MAKEDEP)
 dlls/winecrt0/Makefile: dlls/winecrt0/Makefile.in dlls/Makeimplib.rules config.status"
 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/wined3d/libwined3d.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wined3d/libwined3d.$IMPLIBEXT dlls/wined3d/libwined3d.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/wined3d/libwined3d.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wined3d/libwined3d.$IMPLIBEXT dlls/wined3d/libwined3d.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/wined3d/libwined3d.$IMPLIBEXT dlls/wined3d/libwined3d.cross.a: dlls/wined3d/wined3d.spec dlls/wined3d/Makefile
 	@cd dlls/wined3d && \$(MAKE) \`basename \$@\`
 dlls/wined3d dlls/wined3d/__install__ dlls/wined3d/__install-lib__ dlls/wined3d/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wined3d"
-test "x$enable_wined3d" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wined3d"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wined3d/%) dlls/wined3d: dlls/wined3d/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wined3d"
+test "x$enable_wined3d" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wined3d"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wined3d/%) dlls/wined3d: dlls/wined3d/Makefile \$(MAKEDEP)
 dlls/wined3d/Makefile: dlls/wined3d/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wineesd.drv dlls/wineesd.drv/__install__ dlls/wineesd.drv/__install-lib__ dlls/wineesd.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wineesd.drv"
-test "x$enable_wineesd_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wineesd.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wineesd.drv/%) dlls/wineesd.drv: dlls/wineesd.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineesd.drv dlls/wineesd.drv/__install__ dlls/wineesd.drv/__install-lib__ dlls/wineesd.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wineesd.drv"
+test "x$enable_wineesd_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineesd.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wineesd.drv/%) dlls/wineesd.drv: dlls/wineesd.drv/Makefile \$(MAKEDEP)
 dlls/wineesd.drv/Makefile: dlls/wineesd.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winejack.drv dlls/winejack.drv/__install__ dlls/winejack.drv/__install-lib__ dlls/winejack.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winejack.drv"
-test "x$enable_winejack_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winejack.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winejack.drv/%) dlls/winejack.drv: dlls/winejack.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winejack.drv dlls/winejack.drv/__install__ dlls/winejack.drv/__install-lib__ dlls/winejack.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winejack.drv"
+test "x$enable_winejack_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winejack.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winejack.drv/%) dlls/winejack.drv: dlls/winejack.drv/Makefile \$(MAKEDEP)
 dlls/winejack.drv/Makefile: dlls/winejack.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winejoystick.drv dlls/winejoystick.drv/__install__ dlls/winejoystick.drv/__install-lib__ dlls/winejoystick.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winejoystick.drv"
-test "x$enable_winejoystick_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winejoystick.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winejoystick.drv/%) dlls/winejoystick.drv: dlls/winejoystick.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winejoystick.drv dlls/winejoystick.drv/__install__ dlls/winejoystick.drv/__install-lib__ dlls/winejoystick.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winejoystick.drv"
+test "x$enable_winejoystick_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winejoystick.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winejoystick.drv/%) dlls/winejoystick.drv: dlls/winejoystick.drv/Makefile \$(MAKEDEP)
 dlls/winejoystick.drv/Makefile: dlls/winejoystick.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winemapi dlls/winemapi/__install__ dlls/winemapi/__install-lib__ dlls/winemapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winemapi"
-test "x$enable_winemapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winemapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winemapi/%) dlls/winemapi: dlls/winemapi/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winemapi dlls/winemapi/__install__ dlls/winemapi/__install-lib__ dlls/winemapi/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winemapi"
+test "x$enable_winemapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winemapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winemapi/%) dlls/winemapi: dlls/winemapi/Makefile \$(MAKEDEP)
 dlls/winemapi/Makefile: dlls/winemapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winemapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winemp3.acm dlls/winemp3.acm/__install__ dlls/winemp3.acm/__install-lib__ dlls/winemp3.acm/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winemp3.acm"
-test "x$enable_winemp3_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winemp3.acm"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winemp3.acm/%) dlls/winemp3.acm: dlls/winemp3.acm/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winemp3.acm dlls/winemp3.acm/__install__ dlls/winemp3.acm/__install-lib__ dlls/winemp3.acm/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winemp3.acm"
+test "x$enable_winemp3_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winemp3.acm"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winemp3.acm/%) dlls/winemp3.acm: dlls/winemp3.acm/Makefile \$(MAKEDEP)
 dlls/winemp3.acm/Makefile: dlls/winemp3.acm/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winenas.drv dlls/winenas.drv/__install__ dlls/winenas.drv/__install-lib__ dlls/winenas.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winenas.drv"
-test "x$enable_winenas_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winenas.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winenas.drv/%) dlls/winenas.drv: dlls/winenas.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winenas.drv dlls/winenas.drv/__install__ dlls/winenas.drv/__install-lib__ dlls/winenas.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winenas.drv"
+test "x$enable_winenas_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winenas.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winenas.drv/%) dlls/winenas.drv: dlls/winenas.drv/Makefile \$(MAKEDEP)
 dlls/winenas.drv/Makefile: dlls/winenas.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wineoss.drv dlls/wineoss.drv/__install__ dlls/wineoss.drv/__install-lib__ dlls/wineoss.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wineoss.drv"
-test "x$enable_wineoss_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wineoss.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wineoss.drv/%) dlls/wineoss.drv: dlls/wineoss.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineoss.drv dlls/wineoss.drv/__install__ dlls/wineoss.drv/__install-lib__ dlls/wineoss.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wineoss.drv"
+test "x$enable_wineoss_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineoss.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wineoss.drv/%) dlls/wineoss.drv: dlls/wineoss.drv/Makefile \$(MAKEDEP)
 dlls/wineoss.drv/Makefile: dlls/wineoss.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wineps.drv dlls/wineps.drv/__install__ dlls/wineps.drv/__install-lib__ dlls/wineps.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wineps.drv"
-test "x$enable_wineps_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wineps.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wineps.drv/%) dlls/wineps.drv: dlls/wineps.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineps.drv dlls/wineps.drv/__install__ dlls/wineps.drv/__install-lib__ dlls/wineps.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wineps.drv"
+test "x$enable_wineps_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineps.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wineps.drv/%) dlls/wineps.drv: dlls/wineps.drv/Makefile \$(MAKEDEP)
 dlls/wineps.drv/Makefile: dlls/wineps.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wineps16.drv16 dlls/wineps16.drv16/__install__ dlls/wineps16.drv16/__install-lib__ dlls/wineps16.drv16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wineps16.drv16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wineps16.drv16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wineps16.drv16/%) dlls/wineps16.drv16: dlls/wineps16.drv16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineps16.drv16 dlls/wineps16.drv16/__install__ dlls/wineps16.drv16/__install-lib__ dlls/wineps16.drv16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wineps16.drv16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineps16.drv16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wineps16.drv16/%) dlls/wineps16.drv16: dlls/wineps16.drv16/Makefile \$(MAKEDEP)
 dlls/wineps16.drv16/Makefile: dlls/wineps16.drv16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wineps16.drv16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winequartz.drv dlls/winequartz.drv/__install__ dlls/winequartz.drv/__install-lib__ dlls/winequartz.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winequartz.drv"
-test "x$enable_winequartz_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winequartz.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winequartz.drv/%) dlls/winequartz.drv: dlls/winequartz.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winequartz.drv dlls/winequartz.drv/__install__ dlls/winequartz.drv/__install-lib__ dlls/winequartz.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winequartz.drv"
+test "x$enable_winequartz_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winequartz.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winequartz.drv/%) dlls/winequartz.drv: dlls/winequartz.drv/Makefile \$(MAKEDEP)
 dlls/winequartz.drv/Makefile: dlls/winequartz.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winex11.drv dlls/winex11.drv/__install__ dlls/winex11.drv/__install-lib__ dlls/winex11.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winex11.drv"
-test "x$enable_winex11_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winex11.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winex11.drv/%) dlls/winex11.drv: dlls/winex11.drv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winex11.drv dlls/winex11.drv/__install__ dlls/winex11.drv/__install-lib__ dlls/winex11.drv/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winex11.drv"
+test "x$enable_winex11_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winex11.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winex11.drv/%) dlls/winex11.drv: dlls/winex11.drv/Makefile \$(MAKEDEP)
 dlls/winex11.drv/Makefile: dlls/winex11.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wing.dll16 dlls/wing.dll16/__install__ dlls/wing.dll16/__install-lib__ dlls/wing.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wing.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wing.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wing.dll16/%) dlls/wing.dll16: dlls/wing.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wing.dll16 dlls/wing.dll16/__install__ dlls/wing.dll16/__install-lib__ dlls/wing.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wing.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wing.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wing.dll16/%) dlls/wing.dll16: dlls/wing.dll16/Makefile \$(MAKEDEP)
 dlls/wing.dll16/Makefile: dlls/wing.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wing.dll16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wing32 dlls/wing32/__install__ dlls/wing32/__install-lib__ dlls/wing32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wing32"
-test "x$enable_wing32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wing32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wing32/%) dlls/wing32: dlls/wing32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wing32 dlls/wing32/__install__ dlls/wing32/__install-lib__ dlls/wing32/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wing32"
+test "x$enable_wing32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wing32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wing32/%) dlls/wing32: dlls/wing32/Makefile \$(MAKEDEP)
 dlls/wing32/Makefile: dlls/wing32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wing32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/winhttp/libwinhttp.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winhttp/libwinhttp.$IMPLIBEXT dlls/winhttp/libwinhttp.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/winhttp/libwinhttp.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winhttp/libwinhttp.$IMPLIBEXT dlls/winhttp/libwinhttp.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/winhttp/libwinhttp.$IMPLIBEXT dlls/winhttp/libwinhttp.cross.a: dlls/winhttp/winhttp.spec dlls/winhttp/Makefile
 	@cd dlls/winhttp && \$(MAKE) \`basename \$@\`
 dlls/winhttp dlls/winhttp/__install__ dlls/winhttp/__install-lib__ dlls/winhttp/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winhttp"
-test "x$enable_winhttp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winhttp"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winhttp/%) dlls/winhttp: dlls/winhttp/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/winhttp"
+test "x$enable_winhttp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winhttp"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winhttp/%) dlls/winhttp: dlls/winhttp/Makefile \$(MAKEDEP)
 dlls/winhttp/Makefile: dlls/winhttp/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winhttp/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winhttp/tests: __builddeps__
 dlls/winhttp/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	winhttp_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-winhttp_test.exe: \$(TOPOBJDIR)/dlls/winhttp/tests/winhttp_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "winhttp_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "winhttp_test.exe: \$(TOPOBJDIR)/dlls/winhttp/tests/winhttp_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/winhttp/tests/winhttp_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 winhttp_test.rc:
 	echo \"winhttp_test.exe TESTRES \\\"winhttp_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 winhttp_test.res: winhttp_test.rc winhttp_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winhttp/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/winhttp/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winhttp/tests/%) dlls/winhttp/tests: dlls/winhttp/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/winhttp/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/winhttp/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winhttp/tests/%) dlls/winhttp/tests: dlls/winhttp/tests/Makefile \$(MAKEDEP)
 dlls/winhttp/tests/Makefile: dlls/winhttp/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/winhttp/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/wininet/libwininet.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wininet/libwininet.$IMPLIBEXT dlls/wininet/libwininet.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/wininet/libwininet.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wininet/libwininet.$IMPLIBEXT dlls/wininet/libwininet.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/wininet/libwininet.$IMPLIBEXT dlls/wininet/libwininet.cross.a: dlls/wininet/wininet.spec dlls/wininet/Makefile
 	@cd dlls/wininet && \$(MAKE) \`basename \$@\`
 dlls/wininet dlls/wininet/__install__ dlls/wininet/__install-lib__ dlls/wininet/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wininet"
-test "x$enable_wininet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wininet"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wininet/%) dlls/wininet: dlls/wininet/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wininet"
+test "x$enable_wininet" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wininet"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wininet/%) dlls/wininet: dlls/wininet/Makefile \$(MAKEDEP)
 dlls/wininet/Makefile: dlls/wininet/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wininet/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wininet/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wininet/tests: __builddeps__
 dlls/wininet/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	wininet_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-wininet_test.exe: \$(TOPOBJDIR)/dlls/wininet/tests/wininet_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "wininet_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "wininet_test.exe: \$(TOPOBJDIR)/dlls/wininet/tests/wininet_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/wininet/tests/wininet_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 wininet_test.rc:
 	echo \"wininet_test.exe TESTRES \\\"wininet_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 wininet_test.res: wininet_test.rc wininet_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wininet/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/wininet/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wininet/tests/%) dlls/wininet/tests: dlls/wininet/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wininet/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/wininet/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wininet/tests/%) dlls/wininet/tests: dlls/wininet/tests/Makefile \$(MAKEDEP)
 dlls/wininet/tests/Makefile: dlls/wininet/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/winmm/libwinmm.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winmm/libwinmm.$IMPLIBEXT dlls/winmm/libwinmm.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/winmm/libwinmm.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winmm/libwinmm.$IMPLIBEXT dlls/winmm/libwinmm.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/winmm/libwinmm.$IMPLIBEXT dlls/winmm/libwinmm.cross.a: dlls/winmm/winmm.spec dlls/winmm/Makefile
 	@cd dlls/winmm && \$(MAKE) \`basename \$@\`
 dlls/winmm dlls/winmm/__install__ dlls/winmm/__install-lib__ dlls/winmm/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winmm"
-test "x$enable_winmm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winmm"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winmm/%) dlls/winmm: dlls/winmm/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/winmm"
+test "x$enable_winmm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winmm"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winmm/%) dlls/winmm: dlls/winmm/Makefile \$(MAKEDEP)
 dlls/winmm/Makefile: dlls/winmm/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winmm/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winmm/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winmm/tests: __builddeps__
 dlls/winmm/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	winmm_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-winmm_test.exe: \$(TOPOBJDIR)/dlls/winmm/tests/winmm_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "winmm_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "winmm_test.exe: \$(TOPOBJDIR)/dlls/winmm/tests/winmm_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/winmm/tests/winmm_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 winmm_test.rc:
 	echo \"winmm_test.exe TESTRES \\\"winmm_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 winmm_test.res: winmm_test.rc winmm_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winmm/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/winmm/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winmm/tests/%) dlls/winmm/tests: dlls/winmm/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/winmm/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/winmm/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winmm/tests/%) dlls/winmm/tests: dlls/winmm/tests/Makefile \$(MAKEDEP)
 dlls/winmm/tests/Makefile: dlls/winmm/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winnls.dll16 dlls/winnls.dll16/__install__ dlls/winnls.dll16/__install-lib__ dlls/winnls.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winnls.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winnls.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winnls.dll16/%) dlls/winnls.dll16: dlls/winnls.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winnls.dll16 dlls/winnls.dll16/__install__ dlls/winnls.dll16/__install-lib__ dlls/winnls.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winnls.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winnls.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winnls.dll16/%) dlls/winnls.dll16: dlls/winnls.dll16/Makefile \$(MAKEDEP)
 dlls/winnls.dll16/Makefile: dlls/winnls.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winnls.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/winnls32/libwinnls32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winnls32/libwinnls32.$IMPLIBEXT dlls/winnls32/libwinnls32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/winnls32/libwinnls32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winnls32/libwinnls32.$IMPLIBEXT dlls/winnls32/libwinnls32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/winnls32/libwinnls32.$IMPLIBEXT dlls/winnls32/libwinnls32.cross.a: dlls/winnls32/winnls32.spec dlls/winnls32/Makefile
 	@cd dlls/winnls32 && \$(MAKE) \`basename \$@\`
 dlls/winnls32 dlls/winnls32/__install__ dlls/winnls32/__install-lib__ dlls/winnls32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winnls32"
-test "x$enable_winnls32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winnls32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winnls32/%) dlls/winnls32: dlls/winnls32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/winnls32"
+test "x$enable_winnls32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winnls32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winnls32/%) dlls/winnls32: dlls/winnls32/Makefile \$(MAKEDEP)
 dlls/winnls32/Makefile: dlls/winnls32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/winscard/libwinscard.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winscard/libwinscard.$IMPLIBEXT dlls/winscard/libwinscard.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/winscard/libwinscard.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winscard/libwinscard.$IMPLIBEXT dlls/winscard/libwinscard.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/winscard/libwinscard.$IMPLIBEXT dlls/winscard/libwinscard.cross.a: dlls/winscard/winscard.spec dlls/winscard/Makefile
 	@cd dlls/winscard && \$(MAKE) \`basename \$@\`
 dlls/winscard dlls/winscard/__install__ dlls/winscard/__install-lib__ dlls/winscard/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winscard"
-test "x$enable_winscard" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winscard"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winscard/%) dlls/winscard: dlls/winscard/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/winscard"
+test "x$enable_winscard" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winscard"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winscard/%) dlls/winscard: dlls/winscard/Makefile \$(MAKEDEP)
 dlls/winscard/Makefile: dlls/winscard/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winscard/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winsock.dll16 dlls/winsock.dll16/__install__ dlls/winsock.dll16/__install-lib__ dlls/winsock.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winsock.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winsock.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winsock.dll16/%) dlls/winsock.dll16: dlls/winsock.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winsock.dll16 dlls/winsock.dll16/__install__ dlls/winsock.dll16/__install-lib__ dlls/winsock.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/winsock.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winsock.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winsock.dll16/%) dlls/winsock.dll16: dlls/winsock.dll16/Makefile \$(MAKEDEP)
 dlls/winsock.dll16/Makefile: dlls/winsock.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winsock.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/winspool.drv/libwinspool.$IMPLIBEXT \\
-	dlls/libwinspool.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winspool.drv/libwinspool.$IMPLIBEXT dlls/winspool.drv/libwinspool.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/winspool.drv/libwinspool.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/libwinspool.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winspool.drv/libwinspool.$IMPLIBEXT dlls/winspool.drv/libwinspool.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/libwinspool.$IMPLIBEXT: dlls/winspool.drv/libwinspool.$IMPLIBEXT
 	\$(RM) \$@ && \$(LN_S) winspool.drv/libwinspool.$IMPLIBEXT \$@
 dlls/libwinspool.cross.a: dlls/winspool.drv/libwinspool.cross.a
@@ -20234,325 +18118,221 @@
 dlls/winspool.drv/libwinspool.$IMPLIBEXT dlls/winspool.drv/libwinspool.cross.a: dlls/winspool.drv/winspool.drv.spec dlls/winspool.drv/Makefile
 	@cd dlls/winspool.drv && \$(MAKE) \`basename \$@\`
 dlls/winspool.drv dlls/winspool.drv/__install__ dlls/winspool.drv/__install-lib__ dlls/winspool.drv/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winspool.drv"
-test "x$enable_winspool_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/winspool.drv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winspool.drv/%) dlls/winspool.drv: dlls/winspool.drv/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/winspool.drv"
+test "x$enable_winspool_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winspool.drv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winspool.drv/%) dlls/winspool.drv: dlls/winspool.drv/Makefile \$(MAKEDEP)
 dlls/winspool.drv/Makefile: dlls/winspool.drv/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/winspool.drv/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winspool.drv/tests: __builddeps__
 dlls/winspool.drv/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	winspool.drv_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-winspool.drv_test.exe: \$(TOPOBJDIR)/dlls/winspool.drv/tests/winspool.drv_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "winspool.drv_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "winspool.drv_test.exe: \$(TOPOBJDIR)/dlls/winspool.drv/tests/winspool.drv_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/winspool.drv/tests/winspool.drv_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 winspool.drv_test.rc:
 	echo \"winspool.drv_test.exe TESTRES \\\"winspool.drv_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 winspool.drv_test.res: winspool.drv_test.rc winspool.drv_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/winspool.drv/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/winspool.drv/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/winspool.drv/tests/%) dlls/winspool.drv/tests: dlls/winspool.drv/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/winspool.drv/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/winspool.drv/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/winspool.drv/tests/%) dlls/winspool.drv/tests: dlls/winspool.drv/tests/Makefile \$(MAKEDEP)
 dlls/winspool.drv/tests/Makefile: dlls/winspool.drv/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wintab.dll16 dlls/wintab.dll16/__install__ dlls/wintab.dll16/__install-lib__ dlls/wintab.dll16/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wintab.dll16"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wintab.dll16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wintab.dll16/%) dlls/wintab.dll16: dlls/wintab.dll16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wintab.dll16 dlls/wintab.dll16/__install__ dlls/wintab.dll16/__install-lib__ dlls/wintab.dll16/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wintab.dll16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wintab.dll16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wintab.dll16/%) dlls/wintab.dll16: dlls/wintab.dll16/Makefile \$(MAKEDEP)
 dlls/wintab.dll16/Makefile: dlls/wintab.dll16/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wintab.dll16/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/wintab32/libwintab32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wintab32/libwintab32.$IMPLIBEXT dlls/wintab32/libwintab32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/wintab32/libwintab32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wintab32/libwintab32.$IMPLIBEXT dlls/wintab32/libwintab32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/wintab32/libwintab32.$IMPLIBEXT dlls/wintab32/libwintab32.cross.a: dlls/wintab32/wintab32.spec dlls/wintab32/Makefile
 	@cd dlls/wintab32 && \$(MAKE) \`basename \$@\`
 dlls/wintab32 dlls/wintab32/__install__ dlls/wintab32/__install-lib__ dlls/wintab32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wintab32"
-test "x$enable_wintab32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wintab32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wintab32/%) dlls/wintab32: dlls/wintab32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wintab32"
+test "x$enable_wintab32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wintab32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wintab32/%) dlls/wintab32: dlls/wintab32/Makefile \$(MAKEDEP)
 dlls/wintab32/Makefile: dlls/wintab32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wintab32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wintab32/tests: __builddeps__
 dlls/wintab32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	wintab32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-wintab32_test.exe: \$(TOPOBJDIR)/dlls/wintab32/tests/wintab32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "wintab32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "wintab32_test.exe: \$(TOPOBJDIR)/dlls/wintab32/tests/wintab32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/wintab32/tests/wintab32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 wintab32_test.rc:
 	echo \"wintab32_test.exe TESTRES \\\"wintab32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 wintab32_test.res: wintab32_test.rc wintab32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wintab32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/wintab32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wintab32/tests/%) dlls/wintab32/tests: dlls/wintab32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wintab32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/wintab32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wintab32/tests/%) dlls/wintab32/tests: dlls/wintab32/tests/Makefile \$(MAKEDEP)
 dlls/wintab32/tests/Makefile: dlls/wintab32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/wintab32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/wintrust/libwintrust.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wintrust/libwintrust.$IMPLIBEXT dlls/wintrust/libwintrust.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/wintrust/libwintrust.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wintrust/libwintrust.$IMPLIBEXT dlls/wintrust/libwintrust.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/wintrust/libwintrust.$IMPLIBEXT dlls/wintrust/libwintrust.cross.a: dlls/wintrust/wintrust.spec dlls/wintrust/Makefile
 	@cd dlls/wintrust && \$(MAKE) \`basename \$@\`
 dlls/wintrust dlls/wintrust/__install__ dlls/wintrust/__install-lib__ dlls/wintrust/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wintrust"
-test "x$enable_wintrust" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wintrust"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wintrust/%) dlls/wintrust: dlls/wintrust/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wintrust"
+test "x$enable_wintrust" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wintrust"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wintrust/%) dlls/wintrust: dlls/wintrust/Makefile \$(MAKEDEP)
 dlls/wintrust/Makefile: dlls/wintrust/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wintrust/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wintrust/tests: __builddeps__
 dlls/wintrust/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	wintrust_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-wintrust_test.exe: \$(TOPOBJDIR)/dlls/wintrust/tests/wintrust_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "wintrust_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "wintrust_test.exe: \$(TOPOBJDIR)/dlls/wintrust/tests/wintrust_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/wintrust/tests/wintrust_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 wintrust_test.rc:
 	echo \"wintrust_test.exe TESTRES \\\"wintrust_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 wintrust_test.res: wintrust_test.rc wintrust_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wintrust/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/wintrust/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wintrust/tests/%) dlls/wintrust/tests: dlls/wintrust/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wintrust/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/wintrust/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wintrust/tests/%) dlls/wintrust/tests: dlls/wintrust/tests/Makefile \$(MAKEDEP)
 dlls/wintrust/tests/Makefile: dlls/wintrust/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/wldap32/libwldap32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wldap32/libwldap32.$IMPLIBEXT dlls/wldap32/libwldap32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/wldap32/libwldap32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wldap32/libwldap32.$IMPLIBEXT dlls/wldap32/libwldap32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/wldap32/libwldap32.$IMPLIBEXT dlls/wldap32/libwldap32.cross.a: dlls/wldap32/wldap32.spec dlls/wldap32/Makefile
 	@cd dlls/wldap32 && \$(MAKE) \`basename \$@\`
 dlls/wldap32 dlls/wldap32/__install__ dlls/wldap32/__install-lib__ dlls/wldap32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wldap32"
-test "x$enable_wldap32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wldap32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wldap32/%) dlls/wldap32: dlls/wldap32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wldap32"
+test "x$enable_wldap32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wldap32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wldap32/%) dlls/wldap32: dlls/wldap32/Makefile \$(MAKEDEP)
 dlls/wldap32/Makefile: dlls/wldap32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wldap32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wldap32/tests: __builddeps__
 dlls/wldap32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	wldap32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-wldap32_test.exe: \$(TOPOBJDIR)/dlls/wldap32/tests/wldap32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "wldap32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "wldap32_test.exe: \$(TOPOBJDIR)/dlls/wldap32/tests/wldap32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/wldap32/tests/wldap32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 wldap32_test.rc:
 	echo \"wldap32_test.exe TESTRES \\\"wldap32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 wldap32_test.res: wldap32_test.rc wldap32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wldap32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/wldap32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wldap32/tests/%) dlls/wldap32/tests: dlls/wldap32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wldap32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/wldap32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wldap32/tests/%) dlls/wldap32/tests: dlls/wldap32/tests/Makefile \$(MAKEDEP)
 dlls/wldap32/tests/Makefile: dlls/wldap32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/wldap32/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wmi dlls/wmi/__install__ dlls/wmi/__install-lib__ dlls/wmi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wmi"
-test "x$enable_wmi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wmi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wmi/%) dlls/wmi: dlls/wmi/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wmi dlls/wmi/__install__ dlls/wmi/__install-lib__ dlls/wmi/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wmi"
+test "x$enable_wmi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wmi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wmi/%) dlls/wmi: dlls/wmi/Makefile \$(MAKEDEP)
 dlls/wmi/Makefile: dlls/wmi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wmi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wmiutils dlls/wmiutils/__install__ dlls/wmiutils/__install-lib__ dlls/wmiutils/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wmiutils"
-test "x$enable_wmiutils" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wmiutils"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wmiutils/%) dlls/wmiutils: dlls/wmiutils/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wmiutils dlls/wmiutils/__install__ dlls/wmiutils/__install-lib__ dlls/wmiutils/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wmiutils"
+test "x$enable_wmiutils" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wmiutils"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wmiutils/%) dlls/wmiutils: dlls/wmiutils/Makefile \$(MAKEDEP)
 dlls/wmiutils/Makefile: dlls/wmiutils/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wmiutils/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/wnaspi32/libwnaspi32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wnaspi32/libwnaspi32.$IMPLIBEXT dlls/wnaspi32/libwnaspi32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/wnaspi32/libwnaspi32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wnaspi32/libwnaspi32.$IMPLIBEXT dlls/wnaspi32/libwnaspi32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/wnaspi32/libwnaspi32.$IMPLIBEXT dlls/wnaspi32/libwnaspi32.cross.a: dlls/wnaspi32/wnaspi32.spec dlls/wnaspi32/Makefile
 	@cd dlls/wnaspi32 && \$(MAKE) \`basename \$@\`
 dlls/wnaspi32 dlls/wnaspi32/__install__ dlls/wnaspi32/__install-lib__ dlls/wnaspi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wnaspi32"
-test "x$enable_wnaspi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wnaspi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wnaspi32/%) dlls/wnaspi32: dlls/wnaspi32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wnaspi32"
+test "x$enable_wnaspi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wnaspi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wnaspi32/%) dlls/wnaspi32: dlls/wnaspi32/Makefile \$(MAKEDEP)
 dlls/wnaspi32/Makefile: dlls/wnaspi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
 
-test "x$enable_win16" = xno || ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/wow32/libwow32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wow32/libwow32.$IMPLIBEXT dlls/wow32/libwow32.cross.a: tools/widl tools/winebuild tools/winegcc include
+test "x$enable_win16" != xno && wine_fn_append_file ALL_IMPORT_LIBS "dlls/wow32/libwow32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wow32/libwow32.$IMPLIBEXT dlls/wow32/libwow32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/wow32/libwow32.$IMPLIBEXT dlls/wow32/libwow32.cross.a: dlls/wow32/wow32.spec dlls/wow32/Makefile
 	@cd dlls/wow32 && \$(MAKE) \`basename \$@\`
 dlls/wow32 dlls/wow32/__install__ dlls/wow32/__install-lib__ dlls/wow32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wow32"
-test "x$enable_win16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wow32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wow32/%) dlls/wow32: dlls/wow32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wow32"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wow32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wow32/%) dlls/wow32: dlls/wow32/Makefile \$(MAKEDEP)
 dlls/wow32/Makefile: dlls/wow32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wow32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/ws2_32/libws2_32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ws2_32/libws2_32.$IMPLIBEXT dlls/ws2_32/libws2_32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/ws2_32/libws2_32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ws2_32/libws2_32.$IMPLIBEXT dlls/ws2_32/libws2_32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/ws2_32/libws2_32.$IMPLIBEXT dlls/ws2_32/libws2_32.cross.a: dlls/ws2_32/ws2_32.spec dlls/ws2_32/Makefile
 	@cd dlls/ws2_32 && \$(MAKE) \`basename \$@\`
 dlls/ws2_32 dlls/ws2_32/__install__ dlls/ws2_32/__install-lib__ dlls/ws2_32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ws2_32"
-test "x$enable_ws2_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/ws2_32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ws2_32/%) dlls/ws2_32: dlls/ws2_32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ws2_32"
+test "x$enable_ws2_32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ws2_32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ws2_32/%) dlls/ws2_32: dlls/ws2_32/Makefile \$(MAKEDEP)
 dlls/ws2_32/Makefile: dlls/ws2_32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/ws2_32/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ws2_32/tests: __builddeps__
 dlls/ws2_32/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	ws2_32_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-ws2_32_test.exe: \$(TOPOBJDIR)/dlls/ws2_32/tests/ws2_32_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "ws2_32_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "ws2_32_test.exe: \$(TOPOBJDIR)/dlls/ws2_32/tests/ws2_32_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/ws2_32/tests/ws2_32_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 ws2_32_test.rc:
 	echo \"ws2_32_test.exe TESTRES \\\"ws2_32_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 ws2_32_test.res: ws2_32_test.rc ws2_32_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/ws2_32/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/ws2_32/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/ws2_32/tests/%) dlls/ws2_32/tests: dlls/ws2_32/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/ws2_32/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ws2_32/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/ws2_32/tests/%) dlls/ws2_32/tests: dlls/ws2_32/tests/Makefile \$(MAKEDEP)
 dlls/ws2_32/tests/Makefile: dlls/ws2_32/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/wsock32/libwsock32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wsock32/libwsock32.$IMPLIBEXT dlls/wsock32/libwsock32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/wsock32/libwsock32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wsock32/libwsock32.$IMPLIBEXT dlls/wsock32/libwsock32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/wsock32/libwsock32.$IMPLIBEXT dlls/wsock32/libwsock32.cross.a: dlls/wsock32/wsock32.spec dlls/wsock32/Makefile
 	@cd dlls/wsock32 && \$(MAKE) \`basename \$@\`
 dlls/wsock32 dlls/wsock32/__install__ dlls/wsock32/__install-lib__ dlls/wsock32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wsock32"
-test "x$enable_wsock32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wsock32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wsock32/%) dlls/wsock32: dlls/wsock32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wsock32"
+test "x$enable_wsock32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wsock32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wsock32/%) dlls/wsock32: dlls/wsock32/Makefile \$(MAKEDEP)
 dlls/wsock32/Makefile: dlls/wsock32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/wtsapi32/libwtsapi32.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wtsapi32/libwtsapi32.$IMPLIBEXT dlls/wtsapi32/libwtsapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/wtsapi32/libwtsapi32.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wtsapi32/libwtsapi32.$IMPLIBEXT dlls/wtsapi32/libwtsapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/wtsapi32/libwtsapi32.$IMPLIBEXT dlls/wtsapi32/libwtsapi32.cross.a: dlls/wtsapi32/wtsapi32.spec dlls/wtsapi32/Makefile
 	@cd dlls/wtsapi32 && \$(MAKE) \`basename \$@\`
 dlls/wtsapi32 dlls/wtsapi32/__install__ dlls/wtsapi32/__install-lib__ dlls/wtsapi32/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wtsapi32"
-test "x$enable_wtsapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wtsapi32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wtsapi32/%) dlls/wtsapi32: dlls/wtsapi32/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/wtsapi32"
+test "x$enable_wtsapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wtsapi32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wtsapi32/%) dlls/wtsapi32: dlls/wtsapi32/Makefile \$(MAKEDEP)
 dlls/wtsapi32/Makefile: dlls/wtsapi32/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wuapi dlls/wuapi/__install__ dlls/wuapi/__install-lib__ dlls/wuapi/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wuapi"
-test "x$enable_wuapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wuapi"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wuapi/%) dlls/wuapi: dlls/wuapi/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wuapi dlls/wuapi/__install__ dlls/wuapi/__install-lib__ dlls/wuapi/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wuapi"
+test "x$enable_wuapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wuapi"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wuapi/%) dlls/wuapi: dlls/wuapi/Makefile \$(MAKEDEP)
 dlls/wuapi/Makefile: dlls/wuapi/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wuapi/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/wuaueng dlls/wuaueng/__install__ dlls/wuaueng/__install-lib__ dlls/wuaueng/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/wuaueng"
-test "x$enable_wuaueng" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/wuaueng"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/wuaueng/%) dlls/wuaueng: dlls/wuaueng/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wuaueng dlls/wuaueng/__install__ dlls/wuaueng/__install-lib__ dlls/wuaueng/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/wuaueng"
+test "x$enable_wuaueng" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wuaueng"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/wuaueng/%) dlls/wuaueng: dlls/wuaueng/Makefile \$(MAKEDEP)
 dlls/wuaueng/Makefile: dlls/wuaueng/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/wuaueng/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/xinput1_1 dlls/xinput1_1/__install__ dlls/xinput1_1/__install-lib__ dlls/xinput1_1/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/xinput1_1"
-test "x$enable_xinput1_1" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/xinput1_1"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/xinput1_1/%) dlls/xinput1_1: dlls/xinput1_1/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xinput1_1 dlls/xinput1_1/__install__ dlls/xinput1_1/__install-lib__ dlls/xinput1_1/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/xinput1_1"
+test "x$enable_xinput1_1" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xinput1_1"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/xinput1_1/%) dlls/xinput1_1: dlls/xinput1_1/Makefile \$(MAKEDEP)
 dlls/xinput1_1/Makefile: dlls/xinput1_1/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/xinput1_1/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/xinput1_2 dlls/xinput1_2/__install__ dlls/xinput1_2/__install-lib__ dlls/xinput1_2/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/xinput1_2"
-test "x$enable_xinput1_2" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/xinput1_2"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/xinput1_2/%) dlls/xinput1_2: dlls/xinput1_2/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xinput1_2 dlls/xinput1_2/__install__ dlls/xinput1_2/__install-lib__ dlls/xinput1_2/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/xinput1_2"
+test "x$enable_xinput1_2" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xinput1_2"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/xinput1_2/%) dlls/xinput1_2: dlls/xinput1_2/Makefile \$(MAKEDEP)
 dlls/xinput1_2/Makefile: dlls/xinput1_2/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/xinput1_2/Makefile"
 
-ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
-	dlls/xinput1_3/libxinput.$IMPLIBEXT \\
-	dlls/libxinput.$IMPLIBEXT"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/xinput1_3/libxinput.$IMPLIBEXT dlls/xinput1_3/libxinput.cross.a: tools/widl tools/winebuild tools/winegcc include
+wine_fn_append_file ALL_IMPORT_LIBS "dlls/xinput1_3/libxinput.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/libxinput.$IMPLIBEXT"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xinput1_3/libxinput.$IMPLIBEXT dlls/xinput1_3/libxinput.cross.a: tools/widl tools/winebuild tools/winegcc include
 dlls/libxinput.$IMPLIBEXT: dlls/xinput1_3/libxinput.$IMPLIBEXT
 	\$(RM) \$@ && \$(LN_S) xinput1_3/libxinput.$IMPLIBEXT \$@
 dlls/libxinput.cross.a: dlls/xinput1_3/libxinput.cross.a
@@ -20562,891 +18342,539 @@
 dlls/xinput1_3/libxinput.$IMPLIBEXT dlls/xinput1_3/libxinput.cross.a: dlls/xinput1_3/xinput1_3.spec dlls/xinput1_3/Makefile
 	@cd dlls/xinput1_3 && \$(MAKE) \`basename \$@\`
 dlls/xinput1_3 dlls/xinput1_3/__install__ dlls/xinput1_3/__install-lib__ dlls/xinput1_3/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/xinput1_3"
-test "x$enable_xinput1_3" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/xinput1_3"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/xinput1_3/%) dlls/xinput1_3: dlls/xinput1_3/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/xinput1_3"
+test "x$enable_xinput1_3" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xinput1_3"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/xinput1_3/%) dlls/xinput1_3: dlls/xinput1_3/Makefile \$(MAKEDEP)
 dlls/xinput1_3/Makefile: dlls/xinput1_3/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/xinput1_3/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/xinput1_3/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xinput1_3/tests: __builddeps__
 dlls/xinput1_3/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	xinput1_3_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-xinput1_3_test.exe: \$(TOPOBJDIR)/dlls/xinput1_3/tests/xinput1_3_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "xinput1_3_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "xinput1_3_test.exe: \$(TOPOBJDIR)/dlls/xinput1_3/tests/xinput1_3_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/xinput1_3/tests/xinput1_3_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 xinput1_3_test.rc:
 	echo \"xinput1_3_test.exe TESTRES \\\"xinput1_3_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 xinput1_3_test.res: xinput1_3_test.rc xinput1_3_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/xinput1_3/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/xinput1_3/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/xinput1_3/tests/%) dlls/xinput1_3/tests: dlls/xinput1_3/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/xinput1_3/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/xinput1_3/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/xinput1_3/tests/%) dlls/xinput1_3/tests: dlls/xinput1_3/tests/Makefile \$(MAKEDEP)
 dlls/xinput1_3/tests/Makefile: dlls/xinput1_3/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/xinput1_3/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/xinput9_1_0 dlls/xinput9_1_0/__install__ dlls/xinput9_1_0/__install-lib__ dlls/xinput9_1_0/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/xinput9_1_0"
-test "x$enable_xinput9_1_0" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/xinput9_1_0"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/xinput9_1_0/%) dlls/xinput9_1_0: dlls/xinput9_1_0/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xinput9_1_0 dlls/xinput9_1_0/__install__ dlls/xinput9_1_0/__install-lib__ dlls/xinput9_1_0/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/xinput9_1_0"
+test "x$enable_xinput9_1_0" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xinput9_1_0"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/xinput9_1_0/%) dlls/xinput9_1_0: dlls/xinput9_1_0/Makefile \$(MAKEDEP)
 dlls/xinput9_1_0/Makefile: dlls/xinput9_1_0/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/xinput9_1_0/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/xmllite dlls/xmllite/__install__ dlls/xmllite/__install-lib__ dlls/xmllite/__install-dev__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/xmllite"
-test "x$enable_xmllite" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
-	dlls/xmllite"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/xmllite/%) dlls/xmllite: dlls/xmllite/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xmllite dlls/xmllite/__install__ dlls/xmllite/__install-lib__ dlls/xmllite/__install-dev__: __builddeps__"
+wine_fn_append_file ALL_DIRS "dlls/xmllite"
+test "x$enable_xmllite" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xmllite"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/xmllite/%) dlls/xmllite: dlls/xmllite/Makefile \$(MAKEDEP)
 dlls/xmllite/Makefile: dlls/xmllite/Makefile.in dlls/Makedll.rules config.status"
 ac_config_files="$ac_config_files dlls/xmllite/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-dlls/xmllite/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xmllite/tests: __builddeps__
 dlls/xmllite/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	xmllite_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-xmllite_test.exe: \$(TOPOBJDIR)/dlls/xmllite/tests/xmllite_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "xmllite_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "xmllite_test.exe: \$(TOPOBJDIR)/dlls/xmllite/tests/xmllite_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/dlls/xmllite/tests/xmllite_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 xmllite_test.rc:
 	echo \"xmllite_test.exe TESTRES \\\"xmllite_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 xmllite_test.res: xmllite_test.rc xmllite_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	dlls/xmllite/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	dlls/xmllite/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=dlls/xmllite/tests/%) dlls/xmllite/tests: dlls/xmllite/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "dlls/xmllite/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/xmllite/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=dlls/xmllite/tests/%) dlls/xmllite/tests: dlls/xmllite/tests/Makefile \$(MAKEDEP)
 dlls/xmllite/tests/Makefile: dlls/xmllite/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/xmllite/tests/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	documentation"
-test "x$enable_documentation" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
-	documentation"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=documentation/%) documentation: documentation/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "documentation"
+test "x$enable_documentation" != xno && wine_fn_append_file ALL_TOP_DIRS "documentation"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=documentation/%) documentation: documentation/Makefile \$(MAKEDEP)
 documentation/Makefile: documentation/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files documentation/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	fonts"
-test "x$enable_fonts" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
-	fonts"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=fonts/%) fonts: fonts/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "fonts"
+test "x$enable_fonts" != xno && wine_fn_append_file ALL_TOP_DIRS "fonts"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=fonts/%) fonts: fonts/Makefile \$(MAKEDEP)
 fonts/Makefile: fonts/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files fonts/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	include"
-test "x$enable_include" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
-	include"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=include/%) include: include/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "include"
+test "x$enable_include" != xno && wine_fn_append_file ALL_TOP_DIRS "include"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=include/%) include: include/Makefile \$(MAKEDEP)
 include/Makefile: include/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files include/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	libs/port"
+wine_fn_append_file ALL_DIRS "libs/port"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=libs/port/%) libs/port: libs/port/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=libs/port/%) libs/port: libs/port/Makefile \$(MAKEDEP)
 libs/port/Makefile: libs/port/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files libs/port/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	libs/wine"
+wine_fn_append_file ALL_DIRS "libs/wine"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=libs/wine/%) libs/wine: libs/wine/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=libs/wine/%) libs/wine: libs/wine/Makefile \$(MAKEDEP)
 libs/wine/Makefile: libs/wine/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files libs/wine/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	libs/wpp"
+wine_fn_append_file ALL_DIRS "libs/wpp"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=libs/wpp/%) libs/wpp: libs/wpp/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=libs/wpp/%) libs/wpp: libs/wpp/Makefile \$(MAKEDEP)
 libs/wpp/Makefile: libs/wpp/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files libs/wpp/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	loader"
-test "x$enable_loader" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
-	loader"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=loader/%) loader: loader/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "loader"
+test "x$enable_loader" != xno && wine_fn_append_file ALL_TOP_DIRS "loader"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=loader/%) loader: loader/Makefile \$(MAKEDEP)
 loader/Makefile: loader/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files loader/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	programs"
-test "x$enable_programs" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
-	programs"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/%) programs: programs/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "programs"
+test "x$enable_programs" != xno && wine_fn_append_file ALL_TOP_DIRS "programs"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/%) programs: programs/Makefile \$(MAKEDEP)
 programs/Makefile: programs/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files programs/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/cacls programs/cacls/__install__ programs/cacls/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/cacls"
-test "x$enable_cacls" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/cacls" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/cacls"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/cacls/%) programs/cacls: programs/cacls/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/cacls programs/cacls/__install__ programs/cacls/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/cacls"
+test "x$enable_cacls" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/cacls" && wine_fn_append_file ALL_INSTALL_DIRS "programs/cacls"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/cacls/%) programs/cacls: programs/cacls/Makefile \$(MAKEDEP)
 programs/cacls/Makefile: programs/cacls/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/cacls/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/clock programs/clock/__install__ programs/clock/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/clock"
-test "x$enable_clock" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/clock" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/clock"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/clock/%) programs/clock: programs/clock/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/clock programs/clock/__install__ programs/clock/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/clock"
+test "x$enable_clock" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/clock" && wine_fn_append_file ALL_INSTALL_DIRS "programs/clock"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/clock/%) programs/clock: programs/clock/Makefile \$(MAKEDEP)
 programs/clock/Makefile: programs/clock/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/clock/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/cmd programs/cmd/__install__ programs/cmd/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/cmd"
-test "x$enable_cmd" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/cmd" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/cmd"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/cmd/%) programs/cmd: programs/cmd/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/cmd programs/cmd/__install__ programs/cmd/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/cmd"
+test "x$enable_cmd" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/cmd" && wine_fn_append_file ALL_INSTALL_DIRS "programs/cmd"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/cmd/%) programs/cmd: programs/cmd/Makefile \$(MAKEDEP)
 programs/cmd/Makefile: programs/cmd/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/cmd/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/cmd/tests: __builddeps__
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/cmd/tests: __builddeps__
 programs/cmd/tests/__crosstest__: __buildcrossdeps__"
-ALL_TEST_BINARIES="$ALL_TEST_BINARIES \\
-	cmd.exe_test.exe"
-ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
-cmd.exe_test.exe: \$(TOPOBJDIR)/programs/cmd/tests/cmd.exe_test.exe$DLLEXT
+wine_fn_append_file ALL_TEST_BINARIES "cmd.exe_test.exe"
+wine_fn_append_rule ALL_WINETEST_DEPENDS "cmd.exe_test.exe: \$(TOPOBJDIR)/programs/cmd/tests/cmd.exe_test.exe$DLLEXT
 	cp \$(TOPOBJDIR)/programs/cmd/tests/cmd.exe_test.exe$DLLEXT \$@ && \$(STRIP) \$@
 cmd.exe_test.rc:
 	echo \"cmd.exe_test.exe TESTRES \\\"cmd.exe_test.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
 cmd.exe_test.res: cmd.exe_test.rc cmd.exe_test.exe"
-ALL_DIRS="$ALL_DIRS \\
-	programs/cmd/tests"
-test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
-	programs/cmd/tests"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/cmd/tests/%) programs/cmd/tests: programs/cmd/tests/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "programs/cmd/tests"
+test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "programs/cmd/tests"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/cmd/tests/%) programs/cmd/tests: programs/cmd/tests/Makefile \$(MAKEDEP)
 programs/cmd/tests/Makefile: programs/cmd/tests/Makefile.in Maketest.rules config.status"
 ac_config_files="$ac_config_files programs/cmd/tests/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/cmdlgtst programs/cmdlgtst/__install__ programs/cmdlgtst/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/cmdlgtst"
-test "x$enable_cmdlgtst" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/cmdlgtst"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/cmdlgtst/%) programs/cmdlgtst: programs/cmdlgtst/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/cmdlgtst programs/cmdlgtst/__install__ programs/cmdlgtst/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/cmdlgtst"
+test "x$enable_cmdlgtst" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/cmdlgtst"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/cmdlgtst/%) programs/cmdlgtst: programs/cmdlgtst/Makefile \$(MAKEDEP)
 programs/cmdlgtst/Makefile: programs/cmdlgtst/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/control programs/control/__install__ programs/control/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/control"
-test "x$enable_control" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/control" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/control"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/control/%) programs/control: programs/control/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/control programs/control/__install__ programs/control/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/control"
+test "x$enable_control" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/control" && wine_fn_append_file ALL_INSTALL_DIRS "programs/control"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/control/%) programs/control: programs/control/Makefile \$(MAKEDEP)
 programs/control/Makefile: programs/control/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/control/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/dxdiag programs/dxdiag/__install__ programs/dxdiag/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/dxdiag"
-test "x$enable_dxdiag" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/dxdiag" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/dxdiag"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/dxdiag/%) programs/dxdiag: programs/dxdiag/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/dxdiag programs/dxdiag/__install__ programs/dxdiag/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/dxdiag"
+test "x$enable_dxdiag" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/dxdiag" && wine_fn_append_file ALL_INSTALL_DIRS "programs/dxdiag"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/dxdiag/%) programs/dxdiag: programs/dxdiag/Makefile \$(MAKEDEP)
 programs/dxdiag/Makefile: programs/dxdiag/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/dxdiag/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/eject programs/eject/__install__ programs/eject/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/eject"
-test "x$enable_eject" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/eject" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/eject"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/eject/%) programs/eject: programs/eject/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/eject programs/eject/__install__ programs/eject/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/eject"
+test "x$enable_eject" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/eject" && wine_fn_append_file ALL_INSTALL_DIRS "programs/eject"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/eject/%) programs/eject: programs/eject/Makefile \$(MAKEDEP)
 programs/eject/Makefile: programs/eject/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/eject/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/expand programs/expand/__install__ programs/expand/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/expand"
-test "x$enable_expand" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/expand" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/expand"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/expand/%) programs/expand: programs/expand/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/expand programs/expand/__install__ programs/expand/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/expand"
+test "x$enable_expand" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/expand" && wine_fn_append_file ALL_INSTALL_DIRS "programs/expand"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/expand/%) programs/expand: programs/expand/Makefile \$(MAKEDEP)
 programs/expand/Makefile: programs/expand/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/expand/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/explorer programs/explorer/__install__ programs/explorer/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/explorer"
-test "x$enable_explorer" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/explorer" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/explorer"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/explorer/%) programs/explorer: programs/explorer/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/explorer programs/explorer/__install__ programs/explorer/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/explorer"
+test "x$enable_explorer" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/explorer" && wine_fn_append_file ALL_INSTALL_DIRS "programs/explorer"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/explorer/%) programs/explorer: programs/explorer/Makefile \$(MAKEDEP)
 programs/explorer/Makefile: programs/explorer/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/explorer/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/extrac32 programs/extrac32/__install__ programs/extrac32/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/extrac32"
-test "x$enable_extrac32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/extrac32" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/extrac32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/extrac32/%) programs/extrac32: programs/extrac32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/extrac32 programs/extrac32/__install__ programs/extrac32/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/extrac32"
+test "x$enable_extrac32" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/extrac32" && wine_fn_append_file ALL_INSTALL_DIRS "programs/extrac32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/extrac32/%) programs/extrac32: programs/extrac32/Makefile \$(MAKEDEP)
 programs/extrac32/Makefile: programs/extrac32/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/extrac32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/hh programs/hh/__install__ programs/hh/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/hh"
-test "x$enable_hh" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/hh" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/hh"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/hh/%) programs/hh: programs/hh/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/hh programs/hh/__install__ programs/hh/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/hh"
+test "x$enable_hh" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/hh" && wine_fn_append_file ALL_INSTALL_DIRS "programs/hh"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/hh/%) programs/hh: programs/hh/Makefile \$(MAKEDEP)
 programs/hh/Makefile: programs/hh/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/hh/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/icinfo programs/icinfo/__install__ programs/icinfo/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/icinfo"
-test "x$enable_icinfo" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/icinfo" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/icinfo"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/icinfo/%) programs/icinfo: programs/icinfo/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/icinfo programs/icinfo/__install__ programs/icinfo/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/icinfo"
+test "x$enable_icinfo" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/icinfo" && wine_fn_append_file ALL_INSTALL_DIRS "programs/icinfo"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/icinfo/%) programs/icinfo: programs/icinfo/Makefile \$(MAKEDEP)
 programs/icinfo/Makefile: programs/icinfo/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/icinfo/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/iexplore programs/iexplore/__install__ programs/iexplore/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/iexplore"
-test "x$enable_iexplore" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/iexplore" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/iexplore"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/iexplore/%) programs/iexplore: programs/iexplore/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/iexplore programs/iexplore/__install__ programs/iexplore/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/iexplore"
+test "x$enable_iexplore" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/iexplore" && wine_fn_append_file ALL_INSTALL_DIRS "programs/iexplore"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/iexplore/%) programs/iexplore: programs/iexplore/Makefile \$(MAKEDEP)
 programs/iexplore/Makefile: programs/iexplore/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/iexplore/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/lodctr programs/lodctr/__install__ programs/lodctr/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/lodctr"
-test "x$enable_lodctr" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/lodctr" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/lodctr"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/lodctr/%) programs/lodctr: programs/lodctr/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/lodctr programs/lodctr/__install__ programs/lodctr/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/lodctr"
+test "x$enable_lodctr" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/lodctr" && wine_fn_append_file ALL_INSTALL_DIRS "programs/lodctr"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/lodctr/%) programs/lodctr: programs/lodctr/Makefile \$(MAKEDEP)
 programs/lodctr/Makefile: programs/lodctr/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/lodctr/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/mshta programs/mshta/__install__ programs/mshta/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/mshta"
-test "x$enable_mshta" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/mshta" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/mshta"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/mshta/%) programs/mshta: programs/mshta/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/mshta programs/mshta/__install__ programs/mshta/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/mshta"
+test "x$enable_mshta" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/mshta" && wine_fn_append_file ALL_INSTALL_DIRS "programs/mshta"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/mshta/%) programs/mshta: programs/mshta/Makefile \$(MAKEDEP)
 programs/mshta/Makefile: programs/mshta/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/mshta/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/msiexec programs/msiexec/__install__ programs/msiexec/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/msiexec"
-test "x$enable_msiexec" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/msiexec" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/msiexec" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/msiexec"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/msiexec/%) programs/msiexec: programs/msiexec/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/msiexec programs/msiexec/__install__ programs/msiexec/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/msiexec"
+test "x$enable_msiexec" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/msiexec" && wine_fn_append_file ALL_INSTALL_DIRS "programs/msiexec" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/msiexec"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/msiexec/%) programs/msiexec: programs/msiexec/Makefile \$(MAKEDEP)
 programs/msiexec/Makefile: programs/msiexec/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/msiexec/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/net programs/net/__install__ programs/net/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/net"
-test "x$enable_net" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/net" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/net"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/net/%) programs/net: programs/net/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/net programs/net/__install__ programs/net/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/net"
+test "x$enable_net" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/net" && wine_fn_append_file ALL_INSTALL_DIRS "programs/net"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/net/%) programs/net: programs/net/Makefile \$(MAKEDEP)
 programs/net/Makefile: programs/net/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/net/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/notepad programs/notepad/__install__ programs/notepad/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/notepad"
-test "x$enable_notepad" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/notepad" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/notepad" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/notepad"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/notepad/%) programs/notepad: programs/notepad/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/notepad programs/notepad/__install__ programs/notepad/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/notepad"
+test "x$enable_notepad" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/notepad" && wine_fn_append_file ALL_INSTALL_DIRS "programs/notepad" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/notepad"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/notepad/%) programs/notepad: programs/notepad/Makefile \$(MAKEDEP)
 programs/notepad/Makefile: programs/notepad/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/notepad/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/oleview programs/oleview/__install__ programs/oleview/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/oleview"
-test "x$enable_oleview" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/oleview" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/oleview"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/oleview/%) programs/oleview: programs/oleview/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/oleview programs/oleview/__install__ programs/oleview/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/oleview"
+test "x$enable_oleview" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/oleview" && wine_fn_append_file ALL_INSTALL_DIRS "programs/oleview"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/oleview/%) programs/oleview: programs/oleview/Makefile \$(MAKEDEP)
 programs/oleview/Makefile: programs/oleview/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/oleview/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/progman programs/progman/__install__ programs/progman/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/progman"
-test "x$enable_progman" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/progman" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/progman"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/progman/%) programs/progman: programs/progman/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/progman programs/progman/__install__ programs/progman/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/progman"
+test "x$enable_progman" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/progman" && wine_fn_append_file ALL_INSTALL_DIRS "programs/progman"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/progman/%) programs/progman: programs/progman/Makefile \$(MAKEDEP)
 programs/progman/Makefile: programs/progman/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/progman/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/reg programs/reg/__install__ programs/reg/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/reg"
-test "x$enable_reg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/reg" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/reg"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/reg/%) programs/reg: programs/reg/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/reg programs/reg/__install__ programs/reg/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/reg"
+test "x$enable_reg" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/reg" && wine_fn_append_file ALL_INSTALL_DIRS "programs/reg"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/reg/%) programs/reg: programs/reg/Makefile \$(MAKEDEP)
 programs/reg/Makefile: programs/reg/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/reg/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/regedit programs/regedit/__install__ programs/regedit/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/regedit"
-test "x$enable_regedit" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/regedit" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/regedit" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/regedit"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/regedit/%) programs/regedit: programs/regedit/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/regedit programs/regedit/__install__ programs/regedit/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/regedit"
+test "x$enable_regedit" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/regedit" && wine_fn_append_file ALL_INSTALL_DIRS "programs/regedit" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/regedit"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/regedit/%) programs/regedit: programs/regedit/Makefile \$(MAKEDEP)
 programs/regedit/Makefile: programs/regedit/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/regedit/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/regsvr32 programs/regsvr32/__install__ programs/regsvr32/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/regsvr32"
-test "x$enable_regsvr32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/regsvr32" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/regsvr32" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/regsvr32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/regsvr32/%) programs/regsvr32: programs/regsvr32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/regsvr32 programs/regsvr32/__install__ programs/regsvr32/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/regsvr32"
+test "x$enable_regsvr32" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/regsvr32" && wine_fn_append_file ALL_INSTALL_DIRS "programs/regsvr32" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/regsvr32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/regsvr32/%) programs/regsvr32: programs/regsvr32/Makefile \$(MAKEDEP)
 programs/regsvr32/Makefile: programs/regsvr32/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/rpcss programs/rpcss/__install__ programs/rpcss/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/rpcss"
-test "x$enable_rpcss" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/rpcss" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/rpcss"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/rpcss/%) programs/rpcss: programs/rpcss/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/rpcss programs/rpcss/__install__ programs/rpcss/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/rpcss"
+test "x$enable_rpcss" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/rpcss" && wine_fn_append_file ALL_INSTALL_DIRS "programs/rpcss"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/rpcss/%) programs/rpcss: programs/rpcss/Makefile \$(MAKEDEP)
 programs/rpcss/Makefile: programs/rpcss/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/rpcss/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/rundll32 programs/rundll32/__install__ programs/rundll32/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/rundll32"
-test "x$enable_rundll32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/rundll32" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/rundll32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/rundll32/%) programs/rundll32: programs/rundll32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/rundll32 programs/rundll32/__install__ programs/rundll32/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/rundll32"
+test "x$enable_rundll32" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/rundll32" && wine_fn_append_file ALL_INSTALL_DIRS "programs/rundll32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/rundll32/%) programs/rundll32: programs/rundll32/Makefile \$(MAKEDEP)
 programs/rundll32/Makefile: programs/rundll32/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/rundll32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/secedit programs/secedit/__install__ programs/secedit/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/secedit"
-test "x$enable_secedit" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/secedit" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/secedit"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/secedit/%) programs/secedit: programs/secedit/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/secedit programs/secedit/__install__ programs/secedit/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/secedit"
+test "x$enable_secedit" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/secedit" && wine_fn_append_file ALL_INSTALL_DIRS "programs/secedit"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/secedit/%) programs/secedit: programs/secedit/Makefile \$(MAKEDEP)
 programs/secedit/Makefile: programs/secedit/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/secedit/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/services programs/services/__install__ programs/services/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/services"
-test "x$enable_services" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/services" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/services"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/services/%) programs/services: programs/services/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/services programs/services/__install__ programs/services/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/services"
+test "x$enable_services" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/services" && wine_fn_append_file ALL_INSTALL_DIRS "programs/services"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/services/%) programs/services: programs/services/Makefile \$(MAKEDEP)
 programs/services/Makefile: programs/services/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/services/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/spoolsv programs/spoolsv/__install__ programs/spoolsv/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/spoolsv"
-test "x$enable_spoolsv" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/spoolsv" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/spoolsv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/spoolsv/%) programs/spoolsv: programs/spoolsv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/spoolsv programs/spoolsv/__install__ programs/spoolsv/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/spoolsv"
+test "x$enable_spoolsv" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/spoolsv" && wine_fn_append_file ALL_INSTALL_DIRS "programs/spoolsv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/spoolsv/%) programs/spoolsv: programs/spoolsv/Makefile \$(MAKEDEP)
 programs/spoolsv/Makefile: programs/spoolsv/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/start programs/start/__install__ programs/start/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/start"
-test "x$enable_start" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/start" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/start"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/start/%) programs/start: programs/start/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/start programs/start/__install__ programs/start/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/start"
+test "x$enable_start" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/start" && wine_fn_append_file ALL_INSTALL_DIRS "programs/start"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/start/%) programs/start: programs/start/Makefile \$(MAKEDEP)
 programs/start/Makefile: programs/start/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/start/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/svchost programs/svchost/__install__ programs/svchost/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/svchost"
-test "x$enable_svchost" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/svchost" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/svchost"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/svchost/%) programs/svchost: programs/svchost/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/svchost programs/svchost/__install__ programs/svchost/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/svchost"
+test "x$enable_svchost" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/svchost" && wine_fn_append_file ALL_INSTALL_DIRS "programs/svchost"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/svchost/%) programs/svchost: programs/svchost/Makefile \$(MAKEDEP)
 programs/svchost/Makefile: programs/svchost/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/svchost/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/taskmgr programs/taskmgr/__install__ programs/taskmgr/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/taskmgr"
-test "x$enable_taskmgr" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/taskmgr" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/taskmgr"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/taskmgr/%) programs/taskmgr: programs/taskmgr/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/taskmgr programs/taskmgr/__install__ programs/taskmgr/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/taskmgr"
+test "x$enable_taskmgr" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/taskmgr" && wine_fn_append_file ALL_INSTALL_DIRS "programs/taskmgr"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/taskmgr/%) programs/taskmgr: programs/taskmgr/Makefile \$(MAKEDEP)
 programs/taskmgr/Makefile: programs/taskmgr/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/termsv programs/termsv/__install__ programs/termsv/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/termsv"
-test "x$enable_termsv" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/termsv" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/termsv"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/termsv/%) programs/termsv: programs/termsv/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/termsv programs/termsv/__install__ programs/termsv/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/termsv"
+test "x$enable_termsv" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/termsv" && wine_fn_append_file ALL_INSTALL_DIRS "programs/termsv"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/termsv/%) programs/termsv: programs/termsv/Makefile \$(MAKEDEP)
 programs/termsv/Makefile: programs/termsv/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/termsv/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/uninstaller programs/uninstaller/__install__ programs/uninstaller/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/uninstaller"
-test "x$enable_uninstaller" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/uninstaller" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/uninstaller"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/uninstaller/%) programs/uninstaller: programs/uninstaller/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/uninstaller programs/uninstaller/__install__ programs/uninstaller/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/uninstaller"
+test "x$enable_uninstaller" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/uninstaller" && wine_fn_append_file ALL_INSTALL_DIRS "programs/uninstaller"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/uninstaller/%) programs/uninstaller: programs/uninstaller/Makefile \$(MAKEDEP)
 programs/uninstaller/Makefile: programs/uninstaller/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/unlodctr programs/unlodctr/__install__ programs/unlodctr/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/unlodctr"
-test "x$enable_unlodctr" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/unlodctr" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/unlodctr"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/unlodctr/%) programs/unlodctr: programs/unlodctr/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/unlodctr programs/unlodctr/__install__ programs/unlodctr/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/unlodctr"
+test "x$enable_unlodctr" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/unlodctr" && wine_fn_append_file ALL_INSTALL_DIRS "programs/unlodctr"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/unlodctr/%) programs/unlodctr: programs/unlodctr/Makefile \$(MAKEDEP)
 programs/unlodctr/Makefile: programs/unlodctr/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/unlodctr/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/view programs/view/__install__ programs/view/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/view"
-test "x$enable_view" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/view"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/view/%) programs/view: programs/view/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/view programs/view/__install__ programs/view/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/view"
+test "x$enable_view" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/view"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/view/%) programs/view: programs/view/Makefile \$(MAKEDEP)
 programs/view/Makefile: programs/view/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/view/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/wineboot programs/wineboot/__install__ programs/wineboot/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/wineboot"
-test "x$enable_wineboot" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/wineboot" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/wineboot" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/wineboot"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/wineboot/%) programs/wineboot: programs/wineboot/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/wineboot programs/wineboot/__install__ programs/wineboot/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/wineboot"
+test "x$enable_wineboot" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/wineboot" && wine_fn_append_file ALL_INSTALL_DIRS "programs/wineboot" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/wineboot"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/wineboot/%) programs/wineboot: programs/wineboot/Makefile \$(MAKEDEP)
 programs/wineboot/Makefile: programs/wineboot/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/wineboot/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winebrowser programs/winebrowser/__install__ programs/winebrowser/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winebrowser"
-test "x$enable_winebrowser" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winebrowser" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winebrowser"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winebrowser/%) programs/winebrowser: programs/winebrowser/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winebrowser programs/winebrowser/__install__ programs/winebrowser/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winebrowser"
+test "x$enable_winebrowser" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winebrowser" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winebrowser"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winebrowser/%) programs/winebrowser: programs/winebrowser/Makefile \$(MAKEDEP)
 programs/winebrowser/Makefile: programs/winebrowser/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winecfg programs/winecfg/__install__ programs/winecfg/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winecfg"
-test "x$enable_winecfg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winecfg" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winecfg" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/winecfg"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winecfg/%) programs/winecfg: programs/winecfg/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winecfg programs/winecfg/__install__ programs/winecfg/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winecfg"
+test "x$enable_winecfg" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winecfg" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winecfg" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winecfg"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winecfg/%) programs/winecfg: programs/winecfg/Makefile \$(MAKEDEP)
 programs/winecfg/Makefile: programs/winecfg/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winecfg/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/wineconsole programs/wineconsole/__install__ programs/wineconsole/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/wineconsole"
-test "x$enable_wineconsole" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/wineconsole" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/wineconsole" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/wineconsole"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/wineconsole/%) programs/wineconsole: programs/wineconsole/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/wineconsole programs/wineconsole/__install__ programs/wineconsole/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/wineconsole"
+test "x$enable_wineconsole" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/wineconsole" && wine_fn_append_file ALL_INSTALL_DIRS "programs/wineconsole" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/wineconsole"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/wineconsole/%) programs/wineconsole: programs/wineconsole/Makefile \$(MAKEDEP)
 programs/wineconsole/Makefile: programs/wineconsole/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winedbg programs/winedbg/__install__ programs/winedbg/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winedbg"
-test "x$enable_winedbg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winedbg" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winedbg" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/winedbg"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winedbg/%) programs/winedbg: programs/winedbg/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winedbg programs/winedbg/__install__ programs/winedbg/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winedbg"
+test "x$enable_winedbg" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winedbg" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winedbg" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winedbg"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winedbg/%) programs/winedbg: programs/winedbg/Makefile \$(MAKEDEP)
 programs/winedbg/Makefile: programs/winedbg/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winedbg/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winedevice programs/winedevice/__install__ programs/winedevice/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winedevice"
-test "x$enable_winedevice" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winedevice" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winedevice"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winedevice/%) programs/winedevice: programs/winedevice/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winedevice programs/winedevice/__install__ programs/winedevice/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winedevice"
+test "x$enable_winedevice" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winedevice" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winedevice"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winedevice/%) programs/winedevice: programs/winedevice/Makefile \$(MAKEDEP)
 programs/winedevice/Makefile: programs/winedevice/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winedevice/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winefile programs/winefile/__install__ programs/winefile/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winefile"
-test "x$enable_winefile" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winefile" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winefile" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/winefile"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winefile/%) programs/winefile: programs/winefile/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winefile programs/winefile/__install__ programs/winefile/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winefile"
+test "x$enable_winefile" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winefile" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winefile" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winefile"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winefile/%) programs/winefile: programs/winefile/Makefile \$(MAKEDEP)
 programs/winefile/Makefile: programs/winefile/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winefile/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winemenubuilder programs/winemenubuilder/__install__ programs/winemenubuilder/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winemenubuilder"
-test "x$enable_winemenubuilder" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winemenubuilder" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winemenubuilder"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winemenubuilder/%) programs/winemenubuilder: programs/winemenubuilder/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winemenubuilder programs/winemenubuilder/__install__ programs/winemenubuilder/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winemenubuilder"
+test "x$enable_winemenubuilder" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winemenubuilder" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winemenubuilder"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winemenubuilder/%) programs/winemenubuilder: programs/winemenubuilder/Makefile \$(MAKEDEP)
 programs/winemenubuilder/Makefile: programs/winemenubuilder/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winemine programs/winemine/__install__ programs/winemine/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winemine"
-test "x$enable_winemine" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winemine" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winemine" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/winemine"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winemine/%) programs/winemine: programs/winemine/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winemine programs/winemine/__install__ programs/winemine/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winemine"
+test "x$enable_winemine" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winemine" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winemine" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winemine"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winemine/%) programs/winemine: programs/winemine/Makefile \$(MAKEDEP)
 programs/winemine/Makefile: programs/winemine/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winemine/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winepath programs/winepath/__install__ programs/winepath/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winepath"
-test "x$enable_winepath" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winepath" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winepath" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
-	programs/winepath"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winepath/%) programs/winepath: programs/winepath/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winepath programs/winepath/__install__ programs/winepath/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winepath"
+test "x$enable_winepath" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winepath" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winepath" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winepath"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winepath/%) programs/winepath: programs/winepath/Makefile \$(MAKEDEP)
 programs/winepath/Makefile: programs/winepath/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winepath/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winetest programs/winetest/__install__ programs/winetest/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winetest"
-test "x$enable_winetest" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winetest"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winetest/%) programs/winetest: programs/winetest/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winetest programs/winetest/__install__ programs/winetest/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winetest"
+test "x$enable_winetest" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winetest"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winetest/%) programs/winetest: programs/winetest/Makefile \$(MAKEDEP)
 programs/winetest/Makefile: programs/winetest/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winetest/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winevdm programs/winevdm/__install__ programs/winevdm/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winevdm"
-test "x$enable_win16" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winevdm" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winevdm"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winevdm/%) programs/winevdm: programs/winevdm/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winevdm programs/winevdm/__install__ programs/winevdm/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winevdm"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winevdm" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winevdm"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winevdm/%) programs/winevdm: programs/winevdm/Makefile \$(MAKEDEP)
 programs/winevdm/Makefile: programs/winevdm/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winevdm/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winhelp.exe16 programs/winhelp.exe16/__install__ programs/winhelp.exe16/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winhelp.exe16"
-test "x$enable_win16" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winhelp.exe16" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winhelp.exe16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winhelp.exe16/%) programs/winhelp.exe16: programs/winhelp.exe16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winhelp.exe16 programs/winhelp.exe16/__install__ programs/winhelp.exe16/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winhelp.exe16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winhelp.exe16" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winhelp.exe16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winhelp.exe16/%) programs/winhelp.exe16: programs/winhelp.exe16/Makefile \$(MAKEDEP)
 programs/winhelp.exe16/Makefile: programs/winhelp.exe16/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winhelp.exe16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winhlp32 programs/winhlp32/__install__ programs/winhlp32/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winhlp32"
-test "x$enable_winhlp32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winhlp32" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winhlp32"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winhlp32/%) programs/winhlp32: programs/winhlp32/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winhlp32 programs/winhlp32/__install__ programs/winhlp32/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winhlp32"
+test "x$enable_winhlp32" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winhlp32" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winhlp32"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winhlp32/%) programs/winhlp32: programs/winhlp32/Makefile \$(MAKEDEP)
 programs/winhlp32/Makefile: programs/winhlp32/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winoldap.mod16 programs/winoldap.mod16/__install__ programs/winoldap.mod16/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winoldap.mod16"
-test "x$enable_win16" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winoldap.mod16" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winoldap.mod16"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winoldap.mod16/%) programs/winoldap.mod16: programs/winoldap.mod16/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winoldap.mod16 programs/winoldap.mod16/__install__ programs/winoldap.mod16/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winoldap.mod16"
+test "x$enable_win16" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winoldap.mod16" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winoldap.mod16"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winoldap.mod16/%) programs/winoldap.mod16: programs/winoldap.mod16/Makefile \$(MAKEDEP)
 programs/winoldap.mod16/Makefile: programs/winoldap.mod16/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winoldap.mod16/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/winver programs/winver/__install__ programs/winver/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/winver"
-test "x$enable_winver" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/winver" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/winver"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/winver/%) programs/winver: programs/winver/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winver programs/winver/__install__ programs/winver/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/winver"
+test "x$enable_winver" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winver" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winver"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/winver/%) programs/winver: programs/winver/Makefile \$(MAKEDEP)
 programs/winver/Makefile: programs/winver/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/winver/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/wordpad programs/wordpad/__install__ programs/wordpad/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/wordpad"
-test "x$enable_wordpad" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/wordpad" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/wordpad"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/wordpad/%) programs/wordpad: programs/wordpad/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/wordpad programs/wordpad/__install__ programs/wordpad/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/wordpad"
+test "x$enable_wordpad" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/wordpad" && wine_fn_append_file ALL_INSTALL_DIRS "programs/wordpad"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/wordpad/%) programs/wordpad: programs/wordpad/Makefile \$(MAKEDEP)
 programs/wordpad/Makefile: programs/wordpad/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/wordpad/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/write programs/write/__install__ programs/write/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/write"
-test "x$enable_write" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/write" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/write"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/write/%) programs/write: programs/write/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/write programs/write/__install__ programs/write/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/write"
+test "x$enable_write" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/write" && wine_fn_append_file ALL_INSTALL_DIRS "programs/write"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/write/%) programs/write: programs/write/Makefile \$(MAKEDEP)
 programs/write/Makefile: programs/write/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/write/Makefile"
 
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-programs/xcopy programs/xcopy/__install__ programs/xcopy/__install-lib__: __builddeps__"
-ALL_DIRS="$ALL_DIRS \\
-	programs/xcopy"
-test "x$enable_xcopy" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
-	programs/xcopy" && ALL_INSTALL_DIRS="$ALL_INSTALL_DIRS \\
-	programs/xcopy"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=programs/xcopy/%) programs/xcopy: programs/xcopy/Makefile \$(MAKEDEP)
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/xcopy programs/xcopy/__install__ programs/xcopy/__install-lib__: __builddeps__"
+wine_fn_append_file ALL_DIRS "programs/xcopy"
+test "x$enable_xcopy" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/xcopy" && wine_fn_append_file ALL_INSTALL_DIRS "programs/xcopy"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=programs/xcopy/%) programs/xcopy: programs/xcopy/Makefile \$(MAKEDEP)
 programs/xcopy/Makefile: programs/xcopy/Makefile.in programs/Makeprog.rules config.status"
 ac_config_files="$ac_config_files programs/xcopy/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	server"
-test "x$enable_server" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
-	server"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=server/%) server: server/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "server"
+test "x$enable_server" != xno && wine_fn_append_file ALL_TOP_DIRS "server"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=server/%) server: server/Makefile \$(MAKEDEP)
 server/Makefile: server/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files server/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	tools"
-test "x$enable_tools" != xno && ALL_TOOL_DIRS="$ALL_TOOL_DIRS \\
-	tools"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=tools/%) tools: tools/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "tools"
+test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=tools/%) tools: tools/Makefile \$(MAKEDEP)
 tools/Makefile: tools/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files tools/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	tools/widl"
-test "x$enable_tools" != xno && ALL_TOOL_DIRS="$ALL_TOOL_DIRS \\
-	tools/widl"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=tools/widl/%) tools/widl: tools/widl/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "tools/widl"
+test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/widl"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=tools/widl/%) tools/widl: tools/widl/Makefile \$(MAKEDEP)
 tools/widl/Makefile: tools/widl/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files tools/widl/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	tools/winebuild"
-test "x$enable_tools" != xno && ALL_TOOL_DIRS="$ALL_TOOL_DIRS \\
-	tools/winebuild"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=tools/winebuild/%) tools/winebuild: tools/winebuild/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "tools/winebuild"
+test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/winebuild"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=tools/winebuild/%) tools/winebuild: tools/winebuild/Makefile \$(MAKEDEP)
 tools/winebuild/Makefile: tools/winebuild/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files tools/winebuild/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	tools/winedump"
-test "x$enable_tools" != xno && ALL_TOOL_DIRS="$ALL_TOOL_DIRS \\
-	tools/winedump"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=tools/winedump/%) tools/winedump: tools/winedump/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "tools/winedump"
+test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/winedump"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=tools/winedump/%) tools/winedump: tools/winedump/Makefile \$(MAKEDEP)
 tools/winedump/Makefile: tools/winedump/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files tools/winedump/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	tools/winegcc"
-test "x$enable_tools" != xno && ALL_TOOL_DIRS="$ALL_TOOL_DIRS \\
-	tools/winegcc"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=tools/winegcc/%) tools/winegcc: tools/winegcc/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "tools/winegcc"
+test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/winegcc"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=tools/winegcc/%) tools/winegcc: tools/winegcc/Makefile \$(MAKEDEP)
 tools/winegcc/Makefile: tools/winegcc/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files tools/winegcc/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	tools/wmc"
-test "x$enable_tools" != xno && ALL_TOOL_DIRS="$ALL_TOOL_DIRS \\
-	tools/wmc"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=tools/wmc/%) tools/wmc: tools/wmc/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "tools/wmc"
+test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/wmc"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=tools/wmc/%) tools/wmc: tools/wmc/Makefile \$(MAKEDEP)
 tools/wmc/Makefile: tools/wmc/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files tools/wmc/Makefile"
 
-ALL_DIRS="$ALL_DIRS \\
-	tools/wrc"
-test "x$enable_tools" != xno && ALL_TOOL_DIRS="$ALL_TOOL_DIRS \\
-	tools/wrc"
-ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
-\$(RECURSE_TARGETS:%=tools/wrc/%) tools/wrc: tools/wrc/Makefile \$(MAKEDEP)
+wine_fn_append_file ALL_DIRS "tools/wrc"
+test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/wrc"
+wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(RECURSE_TARGETS:%=tools/wrc/%) tools/wrc: tools/wrc/Makefile \$(MAKEDEP)
 tools/wrc/Makefile: tools/wrc/Makefile.in Make.rules config.status"
 ac_config_files="$ac_config_files tools/wrc/Makefile"