[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 60a31a18561caa4fb2289a9e555318853ab39ede..3ed7a24730e82ea41654c4d2e2aacb4815583d43 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 45e03a2353aee587ffa42ea8e5186e780d0ac669..4e7b3a29ddba6eeba8cbcaff8d205cef38f81091 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