Alexandre Julliard : makedep: Support for new naming scheme for lex files.

Alexandre Julliard julliard at wine.codeweavers.com
Sun Sep 10 03:28:14 CDT 2006


Module: wine
Branch: master
Commit: 560c9ee785edaf0093e4f3518f51526dbcf0faeb
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=560c9ee785edaf0093e4f3518f51526dbcf0faeb

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Sep  9 13:16:59 2006 +0200

makedep: Support for new naming scheme for lex files.

---

 tools/Makefile.in |    1 -
 tools/makedep.c   |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/tools/Makefile.in b/tools/Makefile.in
index 7878635..e37bbdb 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -1,4 +1,3 @@
-DEFS      = -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\""
 TOPSRCDIR = @top_srcdir@
 TOPOBJDIR = ..
 SRCDIR    = @srcdir@
diff --git a/tools/makedep.c b/tools/makedep.c
index 0b9fa67..71c0032 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -553,7 +553,7 @@ static void output_src( FILE *file, INCL
         }
         else if (!strcmp( ext, "l" ))  /* lex file */
         {
-            *column += fprintf( file, "%s.o: %s.c", LEX_OUTPUT_ROOT, LEX_OUTPUT_ROOT );
+            *column += fprintf( file, "%s.yy.o: %s.yy.c", obj, obj );
         }
         else if (!strcmp( ext, "rc" ))  /* resource file */
         {




More information about the wine-cvs mailing list