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
d7afa575
Commit
d7afa575
authored
Dec 24, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedep: Generate a common rule for all objects of a given idl source.
parent
9e307f26
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
makedep.c
tools/makedep.c
+12
-11
No files found.
tools/makedep.c
View file @
d7afa575
...
...
@@ -66,17 +66,16 @@ static const struct
{
unsigned
int
flag
;
const
char
*
ext
;
const
char
*
widl_arg
;
}
idl_outputs
[]
=
{
{
FLAG_IDL_TYPELIB
,
".tlb"
,
"$(TARGETFLAGS) $(IDLFLAGS) -t"
},
{
FLAG_IDL_REGTYPELIB
,
"_t.res"
,
"$(TARGETFLAGS) $(IDLFLAGS) -t"
},
{
FLAG_IDL_CLIENT
,
"_c.c"
,
"$(IDLFLAGS) -c"
},
{
FLAG_IDL_IDENT
,
"_i.c"
,
"$(IDLFLAGS) -u"
},
{
FLAG_IDL_PROXY
,
"_p.c"
,
"$(IDLFLAGS) -p"
},
{
FLAG_IDL_SERVER
,
"_s.c"
,
"$(IDLFLAGS) -s"
},
{
FLAG_IDL_REGISTER
,
"_r.res"
,
"$(IDLFLAGS) -r"
},
{
FLAG_IDL_HEADER
,
".h"
,
"$(IDLFLAGS) -h"
},
{
FLAG_IDL_TYPELIB
,
".tlb"
},
{
FLAG_IDL_REGTYPELIB
,
"_t.res"
},
{
FLAG_IDL_CLIENT
,
"_c.c"
},
{
FLAG_IDL_IDENT
,
"_i.c"
},
{
FLAG_IDL_PROXY
,
"_p.c"
},
{
FLAG_IDL_SERVER
,
"_s.c"
},
{
FLAG_IDL_REGISTER
,
"_r.res"
},
{
FLAG_IDL_HEADER
,
".h"
}
};
static
struct
list
sources
=
LIST_INIT
(
sources
);
...
...
@@ -1468,14 +1467,16 @@ static struct strarray output_sources(void)
for
(
i
=
0
;
i
<
sizeof
(
idl_outputs
)
/
sizeof
(
idl_outputs
[
0
]);
i
++
)
{
if
(
!
(
source
->
flags
&
idl_outputs
[
i
].
flag
))
continue
;
output
(
"%s%s: $(WIDL)
\n
"
,
obj
,
idl_outputs
[
i
].
ext
);
output
(
"
\t
$(WIDL) $(includes) %s -o $@ %s
\n
"
,
idl_outputs
[
i
].
widl_arg
,
source
->
filename
);
dest
=
strmake
(
"%s%s"
,
obj
,
idl_outputs
[
i
].
ext
);
strarray_add
(
&
clean_files
,
dest
);
strarray_add
(
&
targets
,
dest
);
}
column
=
0
;
output_filenames
(
&
targets
,
&
column
);
output
(
": $(WIDL)
\n
"
);
output
(
"
\t
$(WIDL) $(includes) $(TARGETFLAGS) $(IDLFLAGS) -o $@ %s
\n
"
,
source
->
filename
);
column
=
0
;
output_filenames
(
&
targets
,
&
column
);
column
+=
output
(
": %s"
,
sourcedep
);
}
else
if
(
!
strcmp
(
ext
,
"in"
))
/* .in file or man page */
...
...
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