Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
9c98f691
Commit
9c98f691
authored
Oct 22, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Build the pot files with a separate pass from the top-level makefile.
parent
29c16f62
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
62 deletions
+54
-62
Make.rules.in
Make.rules.in
+0
-2
aclocal.m4
aclocal.m4
+27
-30
configure
configure
+27
-30
No files found.
Make.rules.in
View file @
9c98f691
...
...
@@ -180,8 +180,6 @@ install install-lib install-dev uninstall::
# Rules for resources
all: @MAINTAINER_MODE@ $(PO_SRCS:%=rsrc.pot) $(MC_SRCS:%=msg.pot)
rsrc.pot: $(WRC)
$(LDPATH) $(WRC) $(RCFLAGS) -O pot -o $@ $(PO_SRCS)
...
...
aclocal.m4
View file @
9c98f691
...
...
@@ -199,6 +199,31 @@ $ac_dir/__depend__: $ac_makedep dummy
@./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
}
wine_fn_pot_rules ()
{
ac_dir=$[1]
ac_flags=$[2]
test "x$enable_maintainer_mode" = xyes || return
if wine_fn_has_flag mc $ac_flags
then
wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir/msg.pot: $ac_dir/Makefile dummy
@cd $ac_dir && \$(MAKE) msg.pot
$ac_dir/msg.pot: tools/wmc include"
fi
if wine_fn_has_flag po $ac_flags
then
wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
@cd $ac_dir && \$(MAKE) rsrc.pot
$ac_dir/srsrc.pot: tools/wrc include"
fi
}
wine_fn_config_makefile ()
{
ac_dir=$[1]
...
...
@@ -322,21 +347,7 @@ $ac_dir/__uninstall__::
fi
fi
if test "x$enable_maintainer_mode" = xyes
then
if wine_fn_has_flag mc $ac_flags
then
wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir/msg.pot: $ac_dir"
fi
if wine_fn_has_flag po $ac_flags
then
wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir/rsrc.pot: $ac_dir"
fi
fi])
wine_fn_pot_rules $ac_dir $ac_flags])
if wine_fn_has_flag staticimplib $ac_flags
then
...
...
@@ -432,21 +443,7 @@ wine_fn_config_program ()
AS_VAR_IF([$ac_enable],[no],,[wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir: __builddeps__"
if test "x$enable_maintainer_mode" = xyes
then
if wine_fn_has_flag mc $ac_flags
then
wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir/msg.pot: $ac_dir"
fi
if wine_fn_has_flag po $ac_flags
then
wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir/rsrc.pot: $ac_dir"
fi
fi
wine_fn_pot_rules $ac_dir $ac_flags
wine_fn_has_flag install $ac_flags || return
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
...
...
configure
View file @
9c98f691
...
...
@@ -14224,6 +14224,31 @@ $ac_dir/__depend__: $ac_makedep dummy
@./config.status --file
$ac_dir
/Makefile:
$ac_input
&& cd
$ac_dir
&&
\$
(MAKE) depend"
}
wine_fn_pot_rules
()
{
ac_dir
=
$1
ac_flags
=
$2
test
"x
$enable_maintainer_mode
"
=
xyes
||
return
if
wine_fn_has_flag mc
$ac_flags
then
wine_fn_append_file ALL_POT_FILES
$ac_dir
/msg.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
/msg.pot:
$ac_dir
/Makefile dummy
@cd
$ac_dir
&&
\$
(MAKE) msg.pot
$ac_dir
/msg.pot: tools/wmc include"
fi
if
wine_fn_has_flag po
$ac_flags
then
wine_fn_append_file ALL_POT_FILES
$ac_dir
/rsrc.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
/rsrc.pot:
$ac_dir
/Makefile dummy
@cd
$ac_dir
&&
\$
(MAKE) rsrc.pot
$ac_dir
/srsrc.pot: tools/wrc include"
fi
}
wine_fn_config_makefile
()
{
ac_dir
=
$1
...
...
@@ -14348,21 +14373,7 @@ $ac_dir/__uninstall__::
fi
fi
if
test
"x
$enable_maintainer_mode
"
=
xyes
then
if
wine_fn_has_flag mc
$ac_flags
then
wine_fn_append_file ALL_POT_FILES
$ac_dir
/msg.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
/msg.pot:
$ac_dir
"
fi
if
wine_fn_has_flag po
$ac_flags
then
wine_fn_append_file ALL_POT_FILES
$ac_dir
/rsrc.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
/rsrc.pot:
$ac_dir
"
fi
fi
wine_fn_pot_rules
$ac_dir
$ac_flags
fi
if
wine_fn_has_flag staticimplib
$ac_flags
...
...
@@ -14462,21 +14473,7 @@ else
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
: __builddeps__"
if
test
"x
$enable_maintainer_mode
"
=
xyes
then
if
wine_fn_has_flag mc
$ac_flags
then
wine_fn_append_file ALL_POT_FILES
$ac_dir
/msg.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
/msg.pot:
$ac_dir
"
fi
if
wine_fn_has_flag po
$ac_flags
then
wine_fn_append_file ALL_POT_FILES
$ac_dir
/rsrc.pot
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
/rsrc.pot:
$ac_dir
"
fi
fi
wine_fn_pot_rules
$ac_dir
$ac_flags
wine_fn_has_flag
install
$ac_flags
||
return
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment