makefiles: Output all the program rules explicitly for each module.
This commit is contained in:
parent
44cff7e9ec
commit
d7b387d376
14
Makefile.in
14
Makefile.in
|
@ -29,8 +29,6 @@ MODULE = none
|
||||||
|
|
||||||
ALL_DIRS = @ALL_DIRS@
|
ALL_DIRS = @ALL_DIRS@
|
||||||
ALL_DLL_DIRS = @ALL_DLL_DIRS@
|
ALL_DLL_DIRS = @ALL_DLL_DIRS@
|
||||||
ALL_INSTALL_DIRS = @ALL_INSTALL_DIRS@
|
|
||||||
ALL_PROGRAM_DIRS = @ALL_PROGRAM_DIRS@
|
|
||||||
ALL_STATICLIB_DIRS = @ALL_STATICLIB_DIRS@
|
ALL_STATICLIB_DIRS = @ALL_STATICLIB_DIRS@
|
||||||
ALL_TOOL_DIRS = @ALL_TOOL_DIRS@
|
ALL_TOOL_DIRS = @ALL_TOOL_DIRS@
|
||||||
ALL_TOP_DIRS = @ALL_TOP_DIRS@
|
ALL_TOP_DIRS = @ALL_TOP_DIRS@
|
||||||
|
@ -41,8 +39,7 @@ BUILDSUBDIRS = \
|
||||||
$(ALL_TOOL_DIRS) \
|
$(ALL_TOOL_DIRS) \
|
||||||
$(ALL_TOP_DIRS) \
|
$(ALL_TOP_DIRS) \
|
||||||
$(ALL_STATICLIB_DIRS) \
|
$(ALL_STATICLIB_DIRS) \
|
||||||
$(ALL_DLL_DIRS) \
|
$(ALL_DLL_DIRS)
|
||||||
$(ALL_PROGRAM_DIRS)
|
|
||||||
|
|
||||||
# Sub-directories to run make install/uninstall into
|
# Sub-directories to run make install/uninstall into
|
||||||
INSTALLSUBDIRS = \
|
INSTALLSUBDIRS = \
|
||||||
|
@ -50,8 +47,7 @@ INSTALLSUBDIRS = \
|
||||||
$(ALL_TOOL_DIRS) \
|
$(ALL_TOOL_DIRS) \
|
||||||
$(ALL_TOP_DIRS) \
|
$(ALL_TOP_DIRS) \
|
||||||
$(ALL_STATICLIB_DIRS) \
|
$(ALL_STATICLIB_DIRS) \
|
||||||
$(ALL_DLL_DIRS) \
|
$(ALL_DLL_DIRS)
|
||||||
$(ALL_INSTALL_DIRS)
|
|
||||||
|
|
||||||
# Sub-directories that don't have a makefile
|
# Sub-directories that don't have a makefile
|
||||||
EXTRASUBDIRS = dlls libs
|
EXTRASUBDIRS = dlls libs
|
||||||
|
@ -135,9 +131,6 @@ uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__) dummy
|
||||||
.PHONY: $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__uninstall__) \
|
.PHONY: $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__uninstall__) \
|
||||||
$(INSTALLSUBDIRS:%=%/__install-lib__) $(INSTALLSUBDIRS:%=%/__install-dev__)
|
$(INSTALLSUBDIRS:%=%/__install-lib__) $(INSTALLSUBDIRS:%=%/__install-dev__)
|
||||||
|
|
||||||
uninstall::
|
|
||||||
-rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
|
|
||||||
|
|
||||||
# Rules for auto documentation
|
# Rules for auto documentation
|
||||||
|
|
||||||
DOCSUBDIRS = $(ALL_DLL_DIRS)
|
DOCSUBDIRS = $(ALL_DLL_DIRS)
|
||||||
|
@ -214,3 +207,6 @@ tags ctags:
|
||||||
.MAKEFILEDEPS:
|
.MAKEFILEDEPS:
|
||||||
|
|
||||||
@ALL_MAKEFILE_DEPENDS@
|
@ALL_MAKEFILE_DEPENDS@
|
||||||
|
|
||||||
|
uninstall::
|
||||||
|
-rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
|
||||||
|
|
|
@ -151,9 +151,7 @@ AC_SUBST(ALL_TOP_DIRS,"")
|
||||||
AC_SUBST(ALL_DLL_DIRS,"")
|
AC_SUBST(ALL_DLL_DIRS,"")
|
||||||
AC_SUBST(ALL_TOOL_DIRS,"")
|
AC_SUBST(ALL_TOOL_DIRS,"")
|
||||||
AC_SUBST(ALL_STATICLIB_DIRS,"")
|
AC_SUBST(ALL_STATICLIB_DIRS,"")
|
||||||
AC_SUBST(ALL_INSTALL_DIRS,"")
|
|
||||||
AC_SUBST(ALL_TEST_BINARIES,"")
|
AC_SUBST(ALL_TEST_BINARIES,"")
|
||||||
AC_SUBST(ALL_PROGRAM_DIRS,"")
|
|
||||||
AC_SUBST(ALL_PROGRAM_BIN_INSTALL_DIRS,"")
|
AC_SUBST(ALL_PROGRAM_BIN_INSTALL_DIRS,"")
|
||||||
|
|
||||||
wine_fn_append_file ()
|
wine_fn_append_file ()
|
||||||
|
@ -258,16 +256,22 @@ wine_fn_config_program ()
|
||||||
ac_install=$[3]
|
ac_install=$[3]
|
||||||
wine_fn_append_file ALL_DIRS programs/$ac_dir
|
wine_fn_append_file ALL_DIRS programs/$ac_dir
|
||||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||||
"programs/$ac_dir programs/$ac_dir/__install__ programs/$ac_dir/__install-lib__: __builddeps__ programs/$ac_dir/Makefile
|
"programs/$ac_dir/__clean__: programs/$ac_dir/Makefile
|
||||||
programs/$ac_dir/__clean__ programs/$ac_dir/__install-dev__ programs/$ac_dir/__uninstall__ programs/$ac_dir: programs/$ac_dir/Makefile
|
|
||||||
programs/$ac_dir/Makefile programs/$ac_dir/__depend__: programs/$ac_dir/Makefile.in config.status programs/Makeprog.rules \$(MAKEDEP)
|
programs/$ac_dir/Makefile programs/$ac_dir/__depend__: programs/$ac_dir/Makefile.in config.status programs/Makeprog.rules \$(MAKEDEP)
|
||||||
@./config.status --file programs/$ac_dir/Makefile && cd programs/$ac_dir && \$(MAKE) depend"
|
@./config.status --file programs/$ac_dir/Makefile && cd programs/$ac_dir && \$(MAKE) depend"
|
||||||
AS_VAR_IF([$ac_enable],[no],,[wine_fn_append_file ALL_PROGRAM_DIRS programs/$ac_dir
|
|
||||||
case $ac_install in
|
AS_VAR_IF([$ac_enable],[no],,[wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||||
installbin) wine_fn_append_file ALL_INSTALL_DIRS programs/$ac_dir
|
"all: programs/$ac_dir
|
||||||
wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS programs/$ac_dir ;;
|
programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__"
|
||||||
install) wine_fn_append_file ALL_INSTALL_DIRS programs/$ac_dir ;;
|
if test -n "$ac_install"
|
||||||
esac])
|
then
|
||||||
|
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||||
|
"install install-lib:: programs/$ac_dir/Makefile __builddeps__
|
||||||
|
@cd programs/$ac_dir && \$(MAKE) install
|
||||||
|
uninstall:: programs/$ac_dir/Makefile
|
||||||
|
@cd programs/$ac_dir && \$(MAKE) uninstall"
|
||||||
|
test "$ac_install" != installbin || wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS programs/$ac_dir
|
||||||
|
fi])
|
||||||
}
|
}
|
||||||
|
|
||||||
wine_fn_config_test ()
|
wine_fn_config_test ()
|
||||||
|
|
|
@ -597,9 +597,7 @@ ac_includes_default="\
|
||||||
ac_subst_vars='LTLIBOBJS
|
ac_subst_vars='LTLIBOBJS
|
||||||
LIBOBJS
|
LIBOBJS
|
||||||
ALL_PROGRAM_BIN_INSTALL_DIRS
|
ALL_PROGRAM_BIN_INSTALL_DIRS
|
||||||
ALL_PROGRAM_DIRS
|
|
||||||
ALL_TEST_BINARIES
|
ALL_TEST_BINARIES
|
||||||
ALL_INSTALL_DIRS
|
|
||||||
ALL_STATICLIB_DIRS
|
ALL_STATICLIB_DIRS
|
||||||
ALL_TOOL_DIRS
|
ALL_TOOL_DIRS
|
||||||
ALL_DLL_DIRS
|
ALL_DLL_DIRS
|
||||||
|
@ -13871,12 +13869,8 @@ ALL_TOOL_DIRS=""
|
||||||
|
|
||||||
ALL_STATICLIB_DIRS=""
|
ALL_STATICLIB_DIRS=""
|
||||||
|
|
||||||
ALL_INSTALL_DIRS=""
|
|
||||||
|
|
||||||
ALL_TEST_BINARIES=""
|
ALL_TEST_BINARIES=""
|
||||||
|
|
||||||
ALL_PROGRAM_DIRS=""
|
|
||||||
|
|
||||||
ALL_PROGRAM_BIN_INSTALL_DIRS=""
|
ALL_PROGRAM_BIN_INSTALL_DIRS=""
|
||||||
|
|
||||||
|
|
||||||
|
@ -13989,20 +13983,26 @@ wine_fn_config_program ()
|
||||||
ac_install=$3
|
ac_install=$3
|
||||||
wine_fn_append_file ALL_DIRS programs/$ac_dir
|
wine_fn_append_file ALL_DIRS programs/$ac_dir
|
||||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||||
"programs/$ac_dir programs/$ac_dir/__install__ programs/$ac_dir/__install-lib__: __builddeps__ programs/$ac_dir/Makefile
|
"programs/$ac_dir/__clean__: programs/$ac_dir/Makefile
|
||||||
programs/$ac_dir/__clean__ programs/$ac_dir/__install-dev__ programs/$ac_dir/__uninstall__ programs/$ac_dir: programs/$ac_dir/Makefile
|
|
||||||
programs/$ac_dir/Makefile programs/$ac_dir/__depend__: programs/$ac_dir/Makefile.in config.status programs/Makeprog.rules \$(MAKEDEP)
|
programs/$ac_dir/Makefile programs/$ac_dir/__depend__: programs/$ac_dir/Makefile.in config.status programs/Makeprog.rules \$(MAKEDEP)
|
||||||
@./config.status --file programs/$ac_dir/Makefile && cd programs/$ac_dir && \$(MAKE) depend"
|
@./config.status --file programs/$ac_dir/Makefile && cd programs/$ac_dir && \$(MAKE) depend"
|
||||||
|
|
||||||
eval as_val=\$$ac_enable
|
eval as_val=\$$ac_enable
|
||||||
if test "x$as_val" = x""no; then :
|
if test "x$as_val" = x""no; then :
|
||||||
|
|
||||||
else
|
else
|
||||||
wine_fn_append_file ALL_PROGRAM_DIRS programs/$ac_dir
|
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||||
case $ac_install in
|
"all: programs/$ac_dir
|
||||||
installbin) wine_fn_append_file ALL_INSTALL_DIRS programs/$ac_dir
|
programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__"
|
||||||
wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS programs/$ac_dir ;;
|
if test -n "$ac_install"
|
||||||
install) wine_fn_append_file ALL_INSTALL_DIRS programs/$ac_dir ;;
|
then
|
||||||
esac
|
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||||
|
"install install-lib:: programs/$ac_dir/Makefile __builddeps__
|
||||||
|
@cd programs/$ac_dir && \$(MAKE) install
|
||||||
|
uninstall:: programs/$ac_dir/Makefile
|
||||||
|
@cd programs/$ac_dir && \$(MAKE) uninstall"
|
||||||
|
test "$ac_install" != installbin || wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS programs/$ac_dir
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue