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
7f8412f2
Commit
7f8412f2
authored
Nov 11, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Generate explicit rules for building mo files.
parent
fe946f25
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
5 deletions
+19
-5
Make.rules.in
Make.rules.in
+2
-5
configure
configure
+8
-0
configure.ac
configure.ac
+9
-0
No files found.
Make.rules.in
View file @
7f8412f2
...
...
@@ -20,7 +20,7 @@ RCFLAGS = --nostdinc $(PORCFLAGS) $(TARGETFLAGS) $(INCLUDES) $(DEFS) $(EXTR
IDL_GEN_C_SRCS = $(IDL_C_SRCS:.idl=_c.c) $(IDL_I_SRCS:.idl=_i.c) \
$(IDL_P_SRCS:.idl=_p.c) $(IDL_S_SRCS:.idl=_s.c)
CLEAN_FILES = *.o *.a *.so *.
mo *.
res *.fake *.ok *.tab.[ch] *.yy.c
CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
CLEAN_TARGETS = $(MODULE) $(IMPORTLIB:%=lib%.@IMPLIBEXT@) $(XTEMPLATE_SRCS:.x=.h) \
$(TESTMODULE) $(TESTMODULE_STRIPPED) $(CROSSTESTMODULE)
...
...
@@ -32,7 +32,7 @@ ALLCROSSCFLAGS = $(INCLUDES) $(DEFS) -DWINE_CROSSTEST $(CPPFLAGS) $(CFLAGS)
# Implicit rules
.SUFFIXES: .ok .man.in .man
.po .mo
@MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
.SUFFIXES: .ok .man.in .man @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
.c.ok:
$(RUNTEST) $(RUNTESTFLAGS) $< && touch $@
...
...
@@ -49,9 +49,6 @@ ALLCROSSCFLAGS = $(INCLUDES) $(DEFS) -DWINE_CROSSTEST $(CPPFLAGS) $(CFLAGS)
.svg.bmp:
CONVERT="$(CONVERT)" ICOTOOL="$(ICOTOOL)" RSVG="$(RSVG)" $(BUILDIMAGE) $< $@
.po.mo:
$(MSGFMT) -o $@ $<
# Rules for main module
$(MODULE) $(MODULE:%=%.so) $(MODULE:%=%.fake): $(MAINSPEC) $(OBJS) Makefile.in
...
...
configure
View file @
7f8412f2
...
...
@@ -17428,6 +17428,14 @@ then
wine_fn_append_rule
"__builddeps__:
\$
(ALL_MO_FILES)
clean::
\$
(RM)
\$
(ALL_MO_FILES)"
posrc
=
"po"
test
"
$srcdir
"
=
.
||
posrc
=
"
$srcdir
/po"
for
i
in
$LINGUAS
do
wine_fn_append_rule
"po/
$i
.mo:
$posrc
/
$i
.po
\$
(MSGFMT) -o
\$
@
$posrc
/
$i
.po"
done
else
LINGUAS
=
fi
...
...
configure.ac
View file @
7f8412f2
...
...
@@ -3489,6 +3489,15 @@ then
[__builddeps__: \$(ALL_MO_FILES)
clean::
\$(RM) \$(ALL_MO_FILES)])
posrc="po"
test "$srcdir" = . || posrc="$srcdir/po"
for i in $LINGUAS
do
WINE_APPEND_RULE(
[po/$i.mo: $posrc/$i.po
\$(MSGFMT) -o \$@ $posrc/$i.po])
done
else
LINGUAS=
fi
...
...
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