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
52e19da5
Commit
52e19da5
authored
Dec 11, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedep: Generate rules for .x template files.
parent
166ad969
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
Make.rules.in
Make.rules.in
+2
-2
Makefile.in
include/Makefile.in
+0
-3
makedep.c
tools/makedep.c
+9
-4
No files found.
Make.rules.in
View file @
52e19da5
...
...
@@ -20,7 +20,7 @@ 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 *.res *.fake *.ok *.tab.[ch] *.yy.c
CLEAN_TARGETS = $(MODULE) $(IMPORTLIB:%=lib%.@IMPLIBEXT@)
$(XTEMPLATE_SRCS:.x=.h)
\
CLEAN_TARGETS = $(MODULE) $(IMPORTLIB:%=lib%.@IMPLIBEXT@) \
$(TESTMODULE) $(TESTMODULE_STRIPPED) $(CROSSTESTMODULE)
OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(IDL_GEN_C_SRCS:.c=.o) $(OBJC_SRCS:.m=.o) \
...
...
@@ -78,7 +78,7 @@ $(IMPORTLIB:%=lib%.cross.a): $(MAINSPEC) $(IMPLIB_SRCS:.c=.cross.o)
DEPEND_SRCS = $(C_SRCS) $(OBJC_SRCS) $(RC_SRCS) $(MC_SRCS) \
$(IDL_H_SRCS) $(IDL_C_SRCS) $(IDL_I_SRCS) $(IDL_P_SRCS) $(IDL_S_SRCS) $(IDL_R_SRCS) $(IDL_TLB_SRCS) \
$(BISON_SRCS) $(LEX_SRCS) $(EXTRA_OBJS) $(MANPAGES)
$(BISON_SRCS) $(LEX_SRCS) $(
XTEMPLATE_SRCS) $(
EXTRA_OBJS) $(MANPAGES)
depend: dummy
$(MAKEDEP) $(MAKEDEPFLAGS) -C$(srcdir) -S$(top_srcdir) -T$(top_builddir) $(PARENTSRC:%=-P%) $(EXTRAINCL) $(DEPEND_SRCS)
...
...
include/Makefile.in
View file @
52e19da5
...
...
@@ -642,9 +642,6 @@ OBJDIR_INCLUDES = $(PUBLIC_IDL_H_SRCS:.idl=.h) $(XTEMPLATE_SRCS:.x=.h)
all
:
$(IDL_H_SRCS:.idl=.h) $(IDL_TLB_SRCS:.idl=.tlb) $(XTEMPLATE_SRCS:.x=.h)
rmxftmpl.h
:
rmxftmpl.x $(MAKEXFTMPL)
$(MAKEXFTMPL)
-H
-o
$@
$(srcdir)
/rmxftmpl.x
install install-dev
::
$(OBJDIR_INCLUDES) $(INSTALLDIRS)
for
f
in
$(SRCDIR_INCLUDES)
;
do case
$$
f
in
\
wine/
*
)
$(INSTALL_DATA)
$(srcdir)
/
$$
f
$(DESTDIR)$(includedir)
/
`
expr
$$
f :
'wine/\(.*\)'
`
;;
\
...
...
tools/makedep.c
View file @
52e19da5
...
...
@@ -990,8 +990,7 @@ static void parse_file( struct incl_file *source, int src )
FILE
*
file
;
/* don't try to open certain types of files */
if
(
strendswith
(
source
->
name
,
".tlb"
)
||
strendswith
(
source
->
name
,
".x"
))
if
(
strendswith
(
source
->
name
,
".tlb"
))
{
source
->
filename
=
xstrdup
(
source
->
name
);
return
;
...
...
@@ -1067,8 +1066,7 @@ static struct incl_file *add_src_file( const char *name )
if
(
strendswith
(
file
->
name
,
".tlb"
)
||
strendswith
(
file
->
name
,
".res"
)
||
strendswith
(
file
->
name
,
".pot"
)
||
strendswith
(
file
->
name
,
".x"
))
strendswith
(
file
->
name
,
".pot"
))
{
file
->
filename
=
xstrdup
(
file
->
name
);
return
file
;
...
...
@@ -1207,6 +1205,13 @@ static void output_sources(void)
column
+=
output
(
"%s.tab.o:"
,
obj
);
free
(
header
);
}
else
if
(
!
strcmp
(
ext
,
"x"
))
/* template file */
{
output
(
"%s.h: $(MAKEXFTMPL) %s
\n
"
,
obj
,
source
->
filename
);
output
(
"
\t
$(MAKEXFTMPL) -H -o $@ %s
\n
"
,
source
->
filename
);
strarray_add
(
&
clean_files
,
strmake
(
"%s.h"
,
obj
));
continue
;
}
else
if
(
!
strcmp
(
ext
,
"l"
))
/* lex file */
{
output
(
"%s.yy.c: %s
\n
"
,
obj
,
source
->
filename
);
...
...
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