[gdbserver] Update a couple Makefile rules.
authorPedro Alves <palves@redhat.com>
Fri, 6 Sep 2013 11:54:07 +0000 (11:54 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 6 Sep 2013 11:54:07 +0000 (11:54 +0000)
These two are still written in the pre-auto-dependency-tracking style.
They probably were written before that, and committed afterwards
without adjustment.  An easy oversight to make.

gdb/gdbserver/
2013-09-06  Pedro Alves  <palves@redhat.com>

* Makefile.in (linux-btrace.o, mips-linux-watch.o): Remove
explicit header dependencies and use $COMPILE/$POSTCOMPILE.

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

index 60a31a1..3ed7a24 100644 (file)
@@ -1,5 +1,10 @@
 2013-09-06  Pedro Alves  <palves@redhat.com>
 
+       * Makefile.in (linux-btrace.o, mips-linux-watch.o): Remove
+       explicit header dependencies and use $COMPILE/$POSTCOMPILE.
+
+2013-09-06  Pedro Alves  <palves@redhat.com>
+
        * linux-amd64-ipa.c: Include tracepoint.h.
        * linux-i386-ipa.c: Include tracepoint.h.
 
index 45e03a2..4e7b3a2 100644 (file)
@@ -561,11 +561,13 @@ waitstatus.o: ../target/waitstatus.c
        $(COMPILE) $<
        $(POSTCOMPILE)
 
-linux-btrace.o: ../common/linux-btrace.c $(linux_btrace_h) $(server_h)
-       $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<
+linux-btrace.o: ../common/linux-btrace.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
 
-mips-linux-watch.o: ../common/mips-linux-watch.c $(mips_linux_watch_h) $(server_h)
-       $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<
+mips-linux-watch.o: ../common/mips-linux-watch.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
 
 # Native object files rules from ../nat