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
cd91bc61
Commit
cd91bc61
authored
Sep 28, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now that we are requiring bison anyway, make the .tab.c file use the
same base name as the .y file, so that we can generate correct dependencies in all cases.
parent
1e26f960
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
46 additions
and
53 deletions
+46
-53
Make.rules.in
Make.rules.in
+0
-1
.cvsignore
libs/wpp/.cvsignore
+2
-2
Makefile.in
libs/wpp/Makefile.in
+6
-7
ppl.l
libs/wpp/ppl.l
+1
-1
.cvsignore
programs/winedbg/.cvsignore
+2
-2
Makefile.in
programs/winedbg/Makefile.in
+6
-6
debug.l
programs/winedbg/debug.l
+1
-1
makedep.c
tools/makedep.c
+1
-1
.cvsignore
tools/widl/.cvsignore
+2
-2
Makefile.in
tools/widl/Makefile.in
+6
-7
parser.l
tools/widl/parser.l
+1
-1
.cvsignore
tools/wmc/.cvsignore
+2
-2
Makefile.in
tools/wmc/Makefile.in
+6
-7
mcl.c
tools/wmc/mcl.c
+1
-1
.cvsignore
tools/wrc/.cvsignore
+2
-4
Makefile.in
tools/wrc/Makefile.in
+6
-7
parser.l
tools/wrc/parser.l
+1
-1
No files found.
Make.rules.in
View file @
cd91bc61
...
...
@@ -27,7 +27,6 @@ CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
LIBS = @LIBS@
BISON = @BISON@
YACC = $(BISON) -y
LEX = @LEX@
LEXLIB = @LEXLIB@
EXEEXT = @EXEEXT@
...
...
libs/wpp/.cvsignore
View file @
cd91bc61
Makefile
lex.yy.c
y.tab.c
y.tab.h
pp
y.tab.c
pp
y.tab.h
libs/wpp/Makefile.in
View file @
cd91bc61
...
...
@@ -3,7 +3,6 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
LEXOPT
=
-Cf
#-w -b
YACCOPT
=
#-v
MODULE
=
libwpp.a
C_SRCS
=
\
...
...
@@ -11,7 +10,7 @@ C_SRCS = \
wpp.c
EXTRA_SRCS
=
ppy.y ppl.l
EXTRA_OBJS
=
y.tab.o @LEX_OUTPUT_ROOT@.o
EXTRA_OBJS
=
pp
y.tab.o @LEX_OUTPUT_ROOT@.o
all
:
$(MODULE)
...
...
@@ -22,16 +21,16 @@ $(MODULE): $(OBJS)
$(AR)
$@
$(OBJS)
$(RANLIB)
$@
y.tab.c
y.tab.h
:
ppy.y
$(
YACC)
$(YACCOPT)
-ppp
-d
-t
$(SRCDIR)
/ppy.y
ppy.tab.c pp
y.tab.h
:
ppy.y
$(
BISON)
-ppp
-d
-t
$(SRCDIR)
/ppy.y
-o
ppy.tab.c
# hack to allow parallel make
y.tab.h
:
y.tab.c
y.tab.o
:
y.tab.h
ppy.tab.h
:
pp
y.tab.c
ppy.tab.o
:
pp
y.tab.h
@LEX_OUTPUT_ROOT@.c
:
ppl.l
$(LEX)
$(LEXOPT)
-d
-Ppp
-o
$@
-8
$(SRCDIR)
/ppl.l
@LEX_OUTPUT_ROOT@.o
:
y.tab.h
@LEX_OUTPUT_ROOT@.o
:
pp
y.tab.h
### Dependencies:
libs/wpp/ppl.l
View file @
cd91bc61
...
...
@@ -161,7 +161,7 @@ ul [uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL]
#include <assert.h>
#include "wpp_private.h"
#include "y.tab.h"
#include "
pp
y.tab.h"
/*
* Make sure that we are running an appropriate version of flex.
...
...
programs/winedbg/.cvsignore
View file @
cd91bc61
Makefile
dbg.tab.c
dbg.tab.h
lex.yy.c
winedbg.exe.dbg.c
y.tab.c
y.tab.h
programs/winedbg/Makefile.in
View file @
cd91bc61
...
...
@@ -27,21 +27,21 @@ C_SRCS = \
winedbg.c
EXTRA_SRCS
=
dbg.y debug.l
EXTRA_OBJS
=
y
.tab.o @LEX_OUTPUT_ROOT@.o
EXTRA_OBJS
=
dbg
.tab.o @LEX_OUTPUT_ROOT@.o
@MAKE_PROG_RULES@
y.tab.c y
.tab.h
:
dbg.y
$(
YACC)
-d
-t
$(SRCDIR)
/dbg.y
dbg.tab.c dbg
.tab.h
:
dbg.y
$(
BISON)
-d
-t
$(SRCDIR)
/dbg.y
-o
dbg.tab.c
# hack to allow parallel make
y.tab.h
:
y
.tab.c
y.tab.o
:
y
.tab.h
dbg.tab.h
:
dbg
.tab.c
dbg.tab.o
:
dbg
.tab.h
@LEX_OUTPUT_ROOT@.c
:
debug.l
$(LEX)
-8
-I
$(SRCDIR)
/debug.l
@LEX_OUTPUT_ROOT@.o
:
y
.tab.h
@LEX_OUTPUT_ROOT@.o
:
dbg
.tab.h
install
::
$(MKINSTALLDIRS)
$(mandir)
/man
$(prog_manext)
...
...
programs/winedbg/debug.l
View file @
cd91bc61
...
...
@@ -25,7 +25,7 @@
#include <stdarg.h>
#include "debugger.h"
#include "
y
.tab.h"
#include "
dbg
.tab.h"
#undef YY_INPUT
...
...
tools/makedep.c
View file @
cd91bc61
...
...
@@ -452,7 +452,7 @@ static void output_src( FILE *file, INCL_FILE *pFile, int *column )
*
ext
++
=
0
;
if
(
!
strcmp
(
ext
,
"y"
))
/* yacc file */
{
*
column
+=
fprintf
(
file
,
"
y.tab.o: y.tab.c"
);
*
column
+=
fprintf
(
file
,
"
%s.tab.o: %s.tab.c"
,
obj
,
obj
);
}
else
if
(
!
strcmp
(
ext
,
"l"
))
/* lex file */
{
...
...
tools/widl/.cvsignore
View file @
cd91bc61
Makefile
lex.yy.c
parser.tab.c
parser.tab.h
widl
y.tab.c
y.tab.h
tools/widl/Makefile.in
View file @
cd91bc61
...
...
@@ -3,7 +3,6 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
LEXOPT
=
-Cf
#-w -b
YACCOPT
=
#-v
EXEEXT
=
@EXEEXT@
PROGRAMS
=
widl
$(EXEEXT)
...
...
@@ -21,7 +20,7 @@ C_SRCS = \
write_msft.c
EXTRA_SRCS
=
parser.y parser.l
EXTRA_OBJS
=
y
.tab.o @LEX_OUTPUT_ROOT@.o
EXTRA_OBJS
=
parser
.tab.o @LEX_OUTPUT_ROOT@.o
all
:
$(PROGRAMS)
...
...
@@ -30,17 +29,17 @@ all: $(PROGRAMS)
widl$(EXEEXT)
:
$(OBJS) $(LIBDIR)/wpp/libwpp.a
$(CC)
$(CFLAGS)
-o
$@
$(OBJS)
-L
$(LIBDIR)
-lwpp
-lwine_port
$(LEXLIB)
$(LDFLAGS)
y.tab.c y
.tab.h
:
parser.y
$(
YACC)
$(YACCOPT)
-d
-t
$(SRCDIR)
/parser.y
parser.tab.c parser
.tab.h
:
parser.y
$(
BISON)
-d
-t
$(SRCDIR)
/parser.y
-o
parser.tab.c
# hack to allow parallel make
y.tab.h
:
y
.tab.c
y.tab.o
:
y
.tab.h
parser.tab.h
:
parser
.tab.c
parser.tab.o
:
parser
.tab.h
@LEX_OUTPUT_ROOT@.c
:
parser.l
$(LEX)
$(LEXOPT)
-d
-8
$(SRCDIR)
/parser.l
@LEX_OUTPUT_ROOT@.o
:
y
.tab.h
@LEX_OUTPUT_ROOT@.o
:
parser
.tab.h
install
::
$(PROGRAMS)
$(MKINSTALLDIRS)
$(bindir)
$(mandir)
/man
$(prog_manext)
...
...
tools/widl/parser.l
View file @
cd91bc61
...
...
@@ -50,7 +50,7 @@ uuid {hexd}{8}-{hexd}{4}-{hexd}{4}-{hexd}{4}-{hexd}{12}
#include "parser.h"
#include "wine/wpp.h"
#include "
y
.tab.h"
#include "
parser
.tab.h"
#define YY_USE_PROTOS
#define YY_NO_UNPUT
...
...
tools/wmc/.cvsignore
View file @
cd91bc61
Makefile
mcy.tab.c
mcy.tab.h
wmc
y.tab.c
y.tab.h
tools/wmc/Makefile.in
View file @
cd91bc61
...
...
@@ -2,7 +2,6 @@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
YACCOPT
=
#-v
EXEEXT
=
@EXEEXT@
PROGRAMS
=
wmc
$(EXEEXT)
...
...
@@ -16,23 +15,23 @@ C_SRCS = \
write.c
EXTRA_SRCS
=
mcy.y
EXTRA_OBJS
=
y.tab.o
EXTRA_OBJS
=
mc
y.tab.o
all
:
$(PROGRAMS)
mcl.o
:
y.tab.h
mcl.o
:
mc
y.tab.h
@MAKE_RULES@
wmc$(EXEEXT)
:
$(OBJS)
$(CC)
$(CFLAGS)
-o
$@
$(OBJS)
$(LIBUNICODE)
$(LIBPORT)
$(LEXLIB)
$(LDFLAGS)
y.tab.c
y.tab.h
:
mcy.y
$(
YACC)
$(YACCOPT)
-d
-t
$(SRCDIR)
/mcy.y
mcy.tab.c mc
y.tab.h
:
mcy.y
$(
BISON)
-d
-t
$(SRCDIR)
/mcy.y
-o
mcy.tab.c
# hack to allow parallel make
y.tab.h
:
y.tab.c
y.tab.o
:
y.tab.h
mcy.tab.h
:
mc
y.tab.c
mcy.tab.o
:
mc
y.tab.h
install
::
$(PROGRAMS)
$(MKINSTALLDIRS)
$(bindir)
$(mandir)
/man
$(prog_manext)
...
...
tools/wmc/mcl.c
View file @
cd91bc61
...
...
@@ -30,7 +30,7 @@
#include "wmc.h"
#include "lang.h"
#include "y.tab.h"
#include "
mc
y.tab.h"
/*
* Keywords are case insenitive. All normal input is treated as
...
...
tools/wrc/.cvsignore
View file @
cd91bc61
Makefile
lex.yy.c
parser.tab.c
parser.tab.h
wrc
y.tab.c
y.tab.h
y.output
lex.backup
tools/wrc/Makefile.in
View file @
cd91bc61
...
...
@@ -4,7 +4,6 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
LEXOPT
=
-Cf
#-w -b
YACCOPT
=
#-v
EXEEXT
=
@EXEEXT@
PROGRAMS
=
wrc
$(EXEEXT)
...
...
@@ -21,7 +20,7 @@ C_SRCS = \
writeres.c
EXTRA_SRCS
=
parser.y parser.l
EXTRA_OBJS
=
y
.tab.o @LEX_OUTPUT_ROOT@.o
EXTRA_OBJS
=
parser
.tab.o @LEX_OUTPUT_ROOT@.o
all
:
$(PROGRAMS)
...
...
@@ -30,17 +29,17 @@ all: $(PROGRAMS)
wrc$(EXEEXT)
:
$(OBJS) $(LIBDIR)/wpp/libwpp.a
$(CC)
$(CFLAGS)
-o
$@
$(OBJS)
-L
$(LIBDIR)
-lwpp
-lwine_unicode
-lwine_port
$(LEXLIB)
$(LDFLAGS)
y.tab.c y
.tab.h
:
parser.y
$(
YACC)
$(YACCOPT)
-d
-t
$(SRCDIR)
/parser.y
parser.tab.c parser
.tab.h
:
parser.y
$(
BISON)
-d
-t
$(SRCDIR)
/parser.y
-o
parser.tab.c
# hack to allow parallel make
y.tab.h
:
y
.tab.c
y.tab.o
:
y
.tab.h
parser.tab.h
:
parser
.tab.c
parser.tab.o
:
parser
.tab.h
@LEX_OUTPUT_ROOT@.c
:
parser.l
$(LEX)
$(LEXOPT)
-d
-8
$(SRCDIR)
/parser.l
@LEX_OUTPUT_ROOT@.o
:
y
.tab.h
@LEX_OUTPUT_ROOT@.o
:
parser
.tab.h
install
::
$(PROGRAMS)
$(MKINSTALLDIRS)
$(bindir)
$(mandir)
/man
$(prog_manext)
...
...
tools/wrc/parser.l
View file @
cd91bc61
...
...
@@ -109,7 +109,7 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
#include "parser.h"
#include "newstruc.h"
#include "
y
.tab.h"
#include "
parser
.tab.h"
#define YY_USE_PROTOS
#define YY_NO_UNPUT
...
...
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