* Makefile.in (signals_h): New.
authorPedro Alves <palves@redhat.com>
Sat, 31 Jul 2010 07:58:48 +0000 (07:58 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 31 Jul 2010 07:58:48 +0000 (07:58 +0000)
(server_h): Depend on it.
(server.o): Don't depend on $(signals_def).
(signals.o): Depend on $(signals_def).

gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in

index 74abdd7414cd1856feb2baa19e73c1141ae07293..059fab34cfea3bf640c7edec3f77a5c30c6593d9 100644 (file)
@@ -1,3 +1,10 @@
+2010-07-31  Pedro Alves  <pedro@codesourcery.com>
+
+       * Makefile.in (signals_h): New.
+       (server_h): Depend on it.
+       (server.o): Don't depend on $(signals_def).
+       (signals.o): Depend on $(signals_def).
+
 2010-07-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * Makefile.in (signals_def): New.
index a72c8a121c81cad839f00175de4b3f031e789cd7..467bfdfcf2639f1d76d99fb5afb9e9f017e817be 100644 (file)
@@ -293,9 +293,10 @@ regdat_sh = $(srcdir)/../regformats/regdat.sh
 regdef_h = $(srcdir)/../regformats/regdef.h
 regcache_h = $(srcdir)/regcache.h
 signals_def = $(srcdir)/../../include/gdb/signals.def
+signals_h = $(srcdir)/../../include/gdb/signals.h $(signals_def)
 server_h = $(srcdir)/server.h $(regcache_h) config.h $(srcdir)/target.h \
                $(srcdir)/mem-break.h $(srcdir)/../common/gdb_signals.h \
-               $(srcdir)/../../include/gdb/signals.h $(signals_def)
+               $(signals_h)
 
 linux_low_h = $(srcdir)/linux-low.h
 
@@ -335,14 +336,14 @@ mem-break.o: mem-break.c $(server_h)
 proc-service.o: proc-service.c $(server_h) $(gdb_proc_service_h)
 regcache.o: regcache.c $(server_h) $(regdef_h)
 remote-utils.o: remote-utils.c terminal.h $(server_h)
-server.o: server.c $(server_h) $(signals_def)
+server.o: server.c $(server_h)
 target.o: target.c $(server_h)
 thread-db.o: thread-db.c $(server_h) $(linux_low_h) $(gdb_proc_service_h)
 tracepoint.o: tracepoint.c $(server_h)
 utils.o: utils.c $(server_h)
 gdbreplay.o: gdbreplay.c config.h
 
-signals.o: ../common/signals.c $(server_h)
+signals.o: ../common/signals.c $(server_h) $(signals_def)
        $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
 
 memmem.o: ../gnulib/memmem.c