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
c00cc015
Commit
c00cc015
authored
Oct 14, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Generate explicit build rules for bison files from makedep.
parent
efef36c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
Make.rules.in
Make.rules.in
+1
-7
makedep.c
tools/makedep.c
+11
-2
No files found.
Make.rules.in
View file @
c00cc015
...
...
@@ -36,7 +36,7 @@ CROSSOBJS = $(OBJS:.o=.cross.o)
# Implicit rules
.SUFFIXES: .mc .rc .res .idl .tlb .h .
y .tab.c .tab.h .
ok .man.in .man _c.c _i.c _p.c _s.c _r.res _t.res .cross.o .po .mo @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
.SUFFIXES: .mc .rc .res .idl .tlb .h .ok .man.in .man _c.c _i.c _p.c _s.c _r.res _t.res .cross.o .po .mo @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
.c.o:
$(CC) -c $(ALLCFLAGS) -o $@ $<
...
...
@@ -47,12 +47,6 @@ CROSSOBJS = $(OBJS:.o=.cross.o)
.c.cross.o:
$(CROSSCC) -c $(INCLUDES) $(DEFS) -DWINE_CROSSTEST $(CPPFLAGS) $(CFLAGS) -o $@ $<
.y.tab.c:
$(BISON) $(BISONFLAGS) -p $*_ -o $@ $<
.y.tab.h:
$(BISON) $(BISONFLAGS) -p $*_ -o $*.tab.c -d $<
.mc.res:
$(WMC) -U -O res $(PORCFLAGS) -o $@ $<
...
...
tools/makedep.c
View file @
c00cc015
...
...
@@ -941,9 +941,18 @@ static void output_sources(void)
{
/* add source file dependency for parallel makes */
char
*
header
=
strmake
(
"%s.tab.h"
,
obj
);
if
(
find_include_file
(
header
))
output
(
"%s.tab.c: %s
\n
"
,
obj
,
header
);
free
(
header
);
if
(
find_include_file
(
header
))
{
output
(
"%s.tab.h: %s
\n
"
,
obj
,
source
->
filename
);
output
(
"
\t
$(BISON) $(BISONFLAGS) -p %s_ -o %s.tab.c -d %s
\n
"
,
obj
,
obj
,
source
->
filename
);
output
(
"%s.tab.c: %s %s
\n
"
,
obj
,
source
->
filename
,
header
);
}
else
output
(
"%s.tab.c: %s
\n
"
,
obj
,
source
->
filename
);
output
(
"
\t
$(BISON) $(BISONFLAGS) -p %s_ -o $@ %s
\n
"
,
obj
,
source
->
filename
);
column
+=
output
(
"%s.tab.o: %s.tab.c"
,
obj
,
obj
);
free
(
header
);
}
else
if
(
!
strcmp
(
ext
,
"l"
))
/* lex 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