This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC 3/9] Unify windows specifics into common/windows-hdep files


Patch that add windows-hdep.o compilation rule to gdbserver directory.

Pierre Muller
GDB pascal language maintainer

gdbserver/ChangeLog entry:

2011-03-30  Pierre Muller  <muller@ics.u-strasbg.fr>

	* Makefile.in (windows-hdep.o): New rule.

diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index 1fabe59..dba4507 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -335,6 +335,8 @@ server_h = $(srcdir)/server.h $(regcache_h) config.h
$(srcdir)/target.h \
 		$(srcdir)/mem-break.h $(srcdir)/../common/gdb_signals.h \
 		$(signals_h)
 
+windows_hdep_h = $(srcdir)/../common/windows-hdep.h
+
 linux_low_h = $(srcdir)/linux-low.h
 
 lynx_low_h = $(srcdir)/lynx-low.h $(srcdir)/server.h
@@ -382,9 +384,14 @@ tracepoint.o: tracepoint.c $(server_h)
$(srcdir)/../common/ax.def
 utils.o: utils.c $(server_h)
 gdbreplay.o: gdbreplay.c config.h
 
+# gdb/common/ dependencies
+
 signals.o: ../common/signals.c $(server_h) $(signals_def)
 	$(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
 
+windows-hdep.o: $(srcdir)/../common/windows-hdep.c $(windows_hdep_h)
+	${CC} -o windows-hdep.o -c -DGDBSERVER ${INTERNAL_CFLAGS} $<
+
 # We build memmem.c without -Werror because this file is not under
 # our control.  On LynxOS, the compiler generates some warnings
 # because str-two-way.h uses a constant (MAX_SIZE) whose definition
-- 
1.7.4




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]