From 3286a947d99b6109dc48654daa03f056afdb36e9 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 29 Jan 2006 22:24:25 +0000 Subject: [PATCH] Update Mkfiles for DWARF2. * libyasm.vcproj: Add splitpath.c. * modules.vcproj: Add dwarf2-dbgfmt.c. * config.h: Define yasm__splitpath to yasm__splitpath_win. * Makefile.flat, Makefile.dj: Add splitpath.c and dwarf2-dbgfmt.c. svn path=/trunk/yasm/; revision=1351 --- Mkfiles/Makefile.dj | 5 ++++- Mkfiles/Makefile.flat | 5 ++++- Mkfiles/dj/config.h | 1 + Mkfiles/vc/config.h | 2 ++ Mkfiles/vc/libyasm/libyasm.vcproj | 3 +++ Mkfiles/vc/modules/modules.vcproj | 3 +++ Mkfiles/vc8/config.h | 2 ++ Mkfiles/vc8/libyasm/libyasm.vcproj | 4 ++++ Mkfiles/vc8/modules/modules.vcproj | 3 +++ 9 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Mkfiles/Makefile.dj b/Mkfiles/Makefile.dj index 4aeec1f1..8d64f449 100644 --- a/Mkfiles/Makefile.dj +++ b/Mkfiles/Makefile.dj @@ -30,6 +30,7 @@ LIBYASM_OBJS= \ libyasm/mergesort.o \ libyasm/objfmt.o \ libyasm/section.o \ + libyasm/splitpath.o \ libyasm/strcasecmp.o \ libyasm/strsep.o \ libyasm/symrec.o \ @@ -57,9 +58,11 @@ MODULES_ARCH_OBJS= \ MODULES_DBGFMTS_OBJS= \ modules/dbgfmts/null/null-dbgfmt.o \ - modules/dbgfmts/stabs/stabs-dbgfmt.o + modules/dbgfmts/stabs/stabs-dbgfmt.o \ + modules/dbgfmts/dwarf2/dwarf2-dbgfmt.o YASM_MODULES+=dbgfmt_null YASM_MODULES+=dbgfmt_stabs +YASM_MODULES+=dbgfmt_dwarf2 MODULES_LISTFMTS_OBJS= \ modules/listfmts/nasm/nasm-listfmt.o diff --git a/Mkfiles/Makefile.flat b/Mkfiles/Makefile.flat index e02e403c..f5da30ce 100644 --- a/Mkfiles/Makefile.flat +++ b/Mkfiles/Makefile.flat @@ -33,6 +33,7 @@ LIBYASM_OBJS= \ libyasm/mergesort.o \ libyasm/objfmt.o \ libyasm/section.o \ + libyasm/splitpath.o \ libyasm/strcasecmp.o \ libyasm/strsep.o \ libyasm/symrec.o \ @@ -60,9 +61,11 @@ MODULES_ARCH_OBJS= \ MODULES_DBGFMTS_OBJS= \ modules/dbgfmts/null/null-dbgfmt.o \ - modules/dbgfmts/stabs/stabs-dbgfmt.o + modules/dbgfmts/stabs/stabs-dbgfmt.o \ + modules/dbgfmts/dwarf2/dwarf2-dbgfmt.o YASM_MODULES+=dbgfmt_null YASM_MODULES+=dbgfmt_stabs +YASM_MODULES+=dbgfmt_dwarf2 MODULES_LISTFMTS_OBJS= \ modules/listfmts/nasm/nasm-listfmt.o diff --git a/Mkfiles/dj/config.h b/Mkfiles/dj/config.h index 40f43008..0400cc1e 100644 --- a/Mkfiles/dj/config.h +++ b/Mkfiles/dj/config.h @@ -1,5 +1,6 @@ /* $Id$ */ +#define yasm__splitpath(path, tail) yasm__splitpath_win(path, tail) /* */ /* #undef ENABLE_NLS */ diff --git a/Mkfiles/vc/config.h b/Mkfiles/vc/config.h index acd7be02..ad3d2b02 100644 --- a/Mkfiles/vc/config.h +++ b/Mkfiles/vc/config.h @@ -1,5 +1,7 @@ /* $Id$ */ +#define yasm__splitpath(path, tail) yasm__splitpath_win(path, tail) + /* */ /* #undef ENABLE_NLS */ diff --git a/Mkfiles/vc/libyasm/libyasm.vcproj b/Mkfiles/vc/libyasm/libyasm.vcproj index 1891b729..3fce785b 100644 --- a/Mkfiles/vc/libyasm/libyasm.vcproj +++ b/Mkfiles/vc/libyasm/libyasm.vcproj @@ -369,6 +369,9 @@ BasicRuntimeChecks="3"/> + + + + + + diff --git a/Mkfiles/vc8/modules/modules.vcproj b/Mkfiles/vc8/modules/modules.vcproj index 4ba99f0c..a27ab1fe 100644 --- a/Mkfiles/vc8/modules/modules.vcproj +++ b/Mkfiles/vc8/modules/modules.vcproj @@ -628,6 +628,9 @@ +