mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:53:45 +00:00
makefiles: Generate rules to build makedep.
This commit is contained in:
parent
0fb9e616bc
commit
7c0aa6fd8c
16
configure
vendored
16
configure
vendored
|
@ -23100,7 +23100,6 @@ test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
|
|||
|
||||
if test "x$enable_tools" != xno
|
||||
then
|
||||
as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
|
||||
ac_config_commands="$ac_config_commands tools/makedep"
|
||||
|
||||
fi
|
||||
|
@ -23142,18 +23141,6 @@ include/stamp-h.in: configure.ac aclocal.m4
|
|||
@echo timestamp > \$@"
|
||||
fi
|
||||
|
||||
if test "x$enable_tools" != xno
|
||||
then
|
||||
as_fn_append wine_rules "
|
||||
tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
|
||||
@./config.status tools/makedep
|
||||
Makefile: tools/makedep$ac_exeext"
|
||||
else
|
||||
as_fn_append wine_rules "
|
||||
\$(MAKEDEP):
|
||||
@echo \"You need to run make in $toolsdir first\" && false"
|
||||
fi
|
||||
|
||||
|
||||
if test -n "$with_wine64"
|
||||
then
|
||||
|
@ -23905,7 +23892,8 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|||
wine_fn_output_makedep ()
|
||||
{
|
||||
as_dir=tools; as_fn_mkdir_p
|
||||
$CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
|
||||
$CC -c -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep.o ${wine_srcdir}tools/makedep.c
|
||||
$CC -o tools/makedep$ac_exeext tools/makedep.o $LDFLAGS
|
||||
}
|
||||
wine_fn_output_makefile ()
|
||||
{
|
||||
|
|
16
configure.ac
16
configure.ac
|
@ -3586,12 +3586,12 @@ test "$wine_binary" = wine || WINE_IGNORE_FILE(loader/wine)
|
|||
|
||||
if test "x$enable_tools" != xno
|
||||
then
|
||||
WINE_IGNORE_FILE(tools/makedep$ac_exeext)
|
||||
AC_CONFIG_COMMANDS([tools/makedep],[wine_fn_output_makedep || AS_EXIT],
|
||||
[wine_fn_output_makedep ()
|
||||
{
|
||||
AS_MKDIR_P(tools)
|
||||
$CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
|
||||
$CC -c -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep.o ${wine_srcdir}tools/makedep.c
|
||||
$CC -o tools/makedep$ac_exeext tools/makedep.o $LDFLAGS
|
||||
}])
|
||||
fi
|
||||
|
||||
|
@ -3655,18 +3655,6 @@ include/stamp-h.in: configure.ac aclocal.m4
|
|||
@echo timestamp > \$[@]])
|
||||
fi
|
||||
|
||||
if test "x$enable_tools" != xno
|
||||
then
|
||||
WINE_APPEND_RULE(
|
||||
[tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
|
||||
@./config.status tools/makedep
|
||||
Makefile: tools/makedep$ac_exeext])
|
||||
else
|
||||
WINE_APPEND_RULE(
|
||||
[\$(MAKEDEP):
|
||||
@echo \"You need to run make in $toolsdir first\" && false])
|
||||
fi
|
||||
|
||||
dnl Rules for wineloader
|
||||
|
||||
if test -n "$with_wine64"
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
PROGRAMS = \
|
||||
makedep \
|
||||
make_xftmpl
|
||||
|
||||
SOURCES = \
|
||||
makedep.c \
|
||||
make_xftmpl.c \
|
||||
wineapploader.in
|
||||
|
||||
makedep_OBJS = makedep.o
|
||||
make_xftmpl_OBJS = make_xftmpl.o
|
||||
|
|
Loading…
Reference in a new issue