mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
makefiles: Explicitly specify source directory in spec file dependencies.
This commit is contained in:
parent
be2c66d504
commit
180bc4b878
@ -69,10 +69,10 @@ $(IMPORTLIB:%=lib%.def.a): $(IMPLIB_SRCS:.c=.o)
|
||||
$(RANLIB) $@
|
||||
|
||||
$(IMPORTLIB:%=lib%.a): $(MAINSPEC) $(IMPLIB_SRCS:.c=.o)
|
||||
$(WINEBUILD) $(TARGETFLAGS) -w --implib -o $@ --export $(srcdir)/$(MAINSPEC) $(IMPLIB_SRCS:.c=.o)
|
||||
$(WINEBUILD) $(TARGETFLAGS) -w --implib -o $@ --export $(MAINSPEC) $(IMPLIB_SRCS:.c=.o)
|
||||
|
||||
$(IMPORTLIB:%=lib%.cross.a): $(MAINSPEC) $(IMPLIB_SRCS:.c=.cross.o)
|
||||
$(WINEBUILD) $(CROSSTARGET:%=-b %) -w --implib -o $@ --export $(srcdir)/$(MAINSPEC) $(IMPLIB_SRCS:.c=.cross.o)
|
||||
$(WINEBUILD) $(CROSSTARGET:%=-b %) -w --implib -o $@ --export $(MAINSPEC) $(IMPLIB_SRCS:.c=.cross.o)
|
||||
|
||||
# Rules for dependencies
|
||||
|
||||
|
8
aclocal.m4
vendored
8
aclocal.m4
vendored
@ -432,7 +432,7 @@ $ac_dir/uninstall::
|
||||
wine_fn_append_rule \
|
||||
"__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
|
||||
$ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
|
||||
$ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
$ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
\$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$[@] --export $srcdir/$ac_dir/$ac_name.spec
|
||||
$ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
|
||||
@cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
|
||||
@ -465,9 +465,9 @@ $ac_file.cross.a: $ac_dir/Makefile dummy
|
||||
then
|
||||
wine_fn_append_rule \
|
||||
"__builddeps__: $ac_file.$IMPLIBEXT
|
||||
$ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
$ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
\$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$[@] --export $srcdir/$ac_dir/$ac_name.spec
|
||||
$ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
$ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
\$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$[@] --export $srcdir/$ac_dir/$ac_name.spec
|
||||
.PHONY: $ac_dir/install-dev $ac_dir/uninstall
|
||||
$ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
|
||||
@ -480,7 +480,7 @@ __uninstall__: $ac_dir/uninstall"
|
||||
then
|
||||
wine_fn_append_rule \
|
||||
"__builddeps__: $ac_file.cross.a
|
||||
$ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
$ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
\$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$[@] --export $srcdir/$ac_dir/$ac_name.spec"
|
||||
fi
|
||||
|
||||
|
12
configure
vendored
12
configure
vendored
@ -16137,9 +16137,9 @@ fi
|
||||
|
||||
MAKE_DLL_RULES="
|
||||
DLLFLAGS = $DLLFLAGS
|
||||
MAINSPEC = \$(MODULE:%.dll=%).spec
|
||||
MAINSPEC = \$(srcdir)/\$(MODULE:%.dll=%).spec
|
||||
IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
|
||||
MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
|
||||
MODULEFLAGS = -shared \$(MAINSPEC) \$(EXTRADLLFLAGS)
|
||||
|
||||
all: $deps
|
||||
|
||||
@ -16439,7 +16439,7 @@ fi
|
||||
wine_fn_append_rule \
|
||||
"__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
|
||||
$ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
|
||||
$ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
$ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
\$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
|
||||
$ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
|
||||
@cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
|
||||
@ -16472,9 +16472,9 @@ $ac_file.cross.a: $ac_dir/Makefile dummy
|
||||
then
|
||||
wine_fn_append_rule \
|
||||
"__builddeps__: $ac_file.$IMPLIBEXT
|
||||
$ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
$ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
\$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
|
||||
$ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
$ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
\$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
|
||||
.PHONY: $ac_dir/install-dev $ac_dir/uninstall
|
||||
$ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
|
||||
@ -16487,7 +16487,7 @@ __uninstall__: $ac_dir/uninstall"
|
||||
then
|
||||
wine_fn_append_rule \
|
||||
"__builddeps__: $ac_file.cross.a
|
||||
$ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
$ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
|
||||
\$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
|
||||
fi
|
||||
|
||||
|
@ -2610,9 +2610,9 @@ fi
|
||||
|
||||
AC_SUBST(MAKE_DLL_RULES,"
|
||||
DLLFLAGS = $DLLFLAGS
|
||||
MAINSPEC = \$(MODULE:%.dll=%).spec
|
||||
MAINSPEC = \$(srcdir)/\$(MODULE:%.dll=%).spec
|
||||
IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
|
||||
MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
|
||||
MODULEFLAGS = -shared \$(MAINSPEC) \$(EXTRADLLFLAGS)
|
||||
|
||||
all: $deps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user