Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
9771ad8c
Commit
9771ad8c
authored
Jan 18, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Generate .res files directly from message files.
parent
ecd144b4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
26 deletions
+8
-26
.gitignore
.gitignore
+0
-16
Make.rules.in
Make.rules.in
+7
-8
make_makefiles
tools/make_makefiles
+0
-1
makedep.c
tools/makedep.c
+1
-1
No files found.
.gitignore
View file @
9771ad8c
...
...
@@ -57,22 +57,6 @@ dlls/jscript/jscript_classes.h
dlls/jscript/jsglobal.tlb
dlls/jscript/parser.tab.c
dlls/jscript/parser.tab.h
dlls/kernel32/nls/winerr_dan.mc.rc
dlls/kernel32/nls/winerr_deu.mc.rc
dlls/kernel32/nls/winerr_enu.mc.rc
dlls/kernel32/nls/winerr_fra.mc.rc
dlls/kernel32/nls/winerr_ita.mc.rc
dlls/kernel32/nls/winerr_jpn.mc.rc
dlls/kernel32/nls/winerr_kor.mc.rc
dlls/kernel32/nls/winerr_lth.mc.rc
dlls/kernel32/nls/winerr_nld.mc.rc
dlls/kernel32/nls/winerr_nor.mc.rc
dlls/kernel32/nls/winerr_plk.mc.rc
dlls/kernel32/nls/winerr_ptb.mc.rc
dlls/kernel32/nls/winerr_ptg.mc.rc
dlls/kernel32/nls/winerr_rus.mc.rc
dlls/kernel32/nls/winerr_sve.mc.rc
dlls/kernel32/nls/winerr_ukr.mc.rc
dlls/libd3dcompiler.def
dlls/libd3dx9.def
dlls/libkernel.def
...
...
Make.rules.in
View file @
9771ad8c
...
...
@@ -26,11 +26,10 @@ IDL_GEN_HEADERS = $(IDL_H_SRCS:.idl=.h) $(IDL_C_SRCS:.idl=.h) $(IDL_I_SRCS:.idl=
CLEAN_FILES = *.o *.a *.so *.ln *.res *.fake *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej *.flc core
CLEAN_TARGETS = $(IDL_GEN_C_SRCS) $(IDL_GEN_HEADERS) $(IDL_TLB_SRCS:.idl=.tlb) $(IDL_P_SRCS:%=dlldata.c) \
$(BISON_SRCS:.y=.tab.c) $(BISON_SRCS:.y=.tab.h) $(LEX_SRCS:.l=.yy.c) \
$(MC_SRCS:.mc=.mc.rc) $(PO_SRCS:%=rsrc.pot)
$(BISON_SRCS:.y=.tab.c) $(BISON_SRCS:.y=.tab.h) $(LEX_SRCS:.l=.yy.c) $(PO_SRCS:%=rsrc.pot)
OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(IDL_GEN_C_SRCS:.c=.o) \
$(IDL_R_SRCS:.idl=_r.res) $(RC_SRCS:.rc=.res) $(MC_SRCS:.mc=.
mc.
res) $(EXTRA_OBJS)
$(IDL_R_SRCS:.idl=_r.res) $(RC_SRCS:.rc=.res) $(MC_SRCS:.mc=.res) $(EXTRA_OBJS)
CROSSOBJS = $(OBJS:.o=.cross.o)
LINTS = $(C_SRCS:.c=.ln)
...
...
@@ -42,7 +41,7 @@ filter: dummy
# Implicit rules
.SUFFIXES: .mc .rc .
mc.rc .
res .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c _r.res .cross.o @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
.SUFFIXES: .mc .rc .res .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c _r.res .cross.o @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
.c.o:
$(CC) -c $(ALLCFLAGS) -o $@ $<
...
...
@@ -59,8 +58,8 @@ filter: dummy
.l.yy.c:
$(FLEX) $(LEXFLAGS) -o$@ $<
.mc.
mc.rc
:
$(LDPATH) $(WMC) -
i -U -H /dev/null
-o $@ $<
.mc.
res
:
$(LDPATH) $(WMC) -
U -O res
-o $@ $<
.rc.res:
$(LDPATH) $(WRC) $(RCFLAGS) -o $@ $<
...
...
@@ -182,8 +181,8 @@ all: @MAINTAINER_MODE@ $(PO_SRCS:%=rsrc.pot)
rsrc.pot: $(WRC)
$(LDPATH) $(WRC) $(RCFLAGS) -O pot -o $@ $(PO_SRCS)
$(MC_SRCS:.mc=.
mc.rc
): $(WMC)
$(RC_SRCS:.rc=.res)
$(MC_SRCS:.mc=.mc.res)
: $(WRC)
$(MC_SRCS:.mc=.
res
): $(WMC)
$(RC_SRCS:.rc=.res): $(WRC)
$(PO_SRCS:.rc=.res): $(ALL_PO_FILES)
# Misc. rules
...
...
tools/make_makefiles
View file @
9771ad8c
...
...
@@ -109,7 +109,6 @@ my @ignore_srcs = (
[
'BISON_SRCS'
,
'\.y'
,
'.tab.c'
],
[
'BISON_SRCS'
,
'\.y'
,
'.tab.h'
],
[
'LEX_SRCS'
,
'\.l'
,
'.yy.c'
],
[
'MC_SRCS'
,
'\.mc'
,
'.mc.rc'
],
[
'IDL_TLB_SRCS'
,
'\.idl'
,
'.tlb'
],
[
'IDL_H_SRCS'
,
'\.idl'
,
'.h'
],
[
'IDL_C_SRCS'
,
'\.idl'
,
'.h'
],
...
...
tools/makedep.c
View file @
9771ad8c
...
...
@@ -858,7 +858,7 @@ static int output_src( FILE *file, INCL_FILE *pFile, int *column )
}
else
if
(
!
strcmp
(
ext
,
"mc"
))
/* message file */
{
*
column
+=
fprintf
(
file
,
"%s.
mc.rc
: %s"
,
obj
,
pFile
->
filename
);
*
column
+=
fprintf
(
file
,
"%s.
res
: %s"
,
obj
,
pFile
->
filename
);
}
else
if
(
!
strcmp
(
ext
,
"idl"
))
/* IDL file */
{
...
...
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