-tracepoint-ipa.o: tracepoint.c $(server_h)
- $(CC) -c $(IPAGENT_CFLAGS) $< -o tracepoint-ipa.o
-utils-ipa.o: utils.c $(server_h)
- $(CC) -c $(IPAGENT_CFLAGS) $< -o utils-ipa.o
-remote-utils-ipa.o: remote-utils.c $(server_h)
- $(CC) -c $(IPAGENT_CFLAGS) $< -o remote-utils-ipa.o
-regcache-ipa.o: regcache.c $(server_h)
- $(CC) -c $(IPAGENT_CFLAGS) $< -o regcache-ipa.o
-i386-linux-ipa.o : i386-linux.c $(regdef_h)
- $(CC) -c $(IPAGENT_CFLAGS) $< -o i386-linux-ipa.o
-linux-i386-ipa.o: linux-i386-ipa.c $(server_h)
- $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-i386-ipa.o
-linux-amd64-ipa.o: linux-amd64-ipa.c $(server_h)
- $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-amd64-ipa.o
-amd64-linux-ipa.o : amd64-linux.c $(regdef_h)
- $(CC) -c $(IPAGENT_CFLAGS) $< -o amd64-linux-ipa.o
-
-event-loop.o: event-loop.c $(server_h)
-hostio.o: hostio.c $(server_h)
-hostio-errno.o: hostio-errno.c $(server_h)
-inferiors.o: inferiors.c $(server_h)
-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)
-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_def)
- $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
-
-# 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
-# makes it ambiguous whether it is signed or unsigned ("warning: this
-# decimal constant is unsigned only in ISO C90").
-memmem.o: ../gnulib/memmem.c
- $(CC) -o memmem.o -c $(CPPFLAGS) $(INTERNAL_WARN_CFLAGS) $<
+ax-ipa.o: ax.c
+ $(IPAGENT_COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
+ $(POSTCOMPILE)
+tracepoint-ipa.o: tracepoint.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+utils-ipa.o: utils.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+format-ipa.o: ../common/format.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+common-utils-ipa.o: ../common/common-utils.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+remote-utils-ipa.o: remote-utils.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+regcache-ipa.o: regcache.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+i386-linux-ipa.o: i386-linux.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+linux-i386-ipa.o: linux-i386-ipa.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+linux-amd64-ipa.o: linux-amd64-ipa.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+amd64-linux-ipa.o: amd64-linux.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+tdesc-ipa.o: tdesc.c
+ $(IPAGENT_COMPILE) $<
+ $(POSTCOMPILE)
+
+ax.o: ax.c
+ $(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
+ $(POSTCOMPILE)
+
+signals.o: ../common/signals.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+linux-procfs.o: ../common/linux-procfs.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+linux-ptrace.o: ../common/linux-ptrace.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+common-utils.o: ../common/common-utils.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+vec.o: ../common/vec.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+gdb_vecs.o: ../common/gdb_vecs.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+xml-utils.o: ../common/xml-utils.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+linux-osdata.o: ../common/linux-osdata.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+ptid.o: ../common/ptid.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+buffer.o: ../common/buffer.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+format.o: ../common/format.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+filestuff.o: ../common/filestuff.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+agent.o: ../common/agent.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+waitstatus.o: ../target/waitstatus.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+
+linux-btrace.o: ../common/linux-btrace.c $(linux_btrace_h) $(server_h)
+ $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<
+
+mips-linux-watch.o: ../common/mips-linux-watch.c $(mips_linux_watch_h) $(server_h)
+ $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<
+
+# Native object files rules from ../nat
+
+linux-waitpid.o: ../nat/linux-waitpid.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+
+# We build vasprintf with -DHAVE_CONFIG_H because we want that unit to
+# include our config.h file. Otherwise, some system headers do not get
+# included, and the compiler emits a warning about implicitly defined
+# functions (missing declaration).
+vasprintf.o: $(srcdir)/../../libiberty/vasprintf.c
+ $(COMPILE) $< -DHAVE_CONFIG_H
+ $(POSTCOMPILE)
+vsnprintf.o: $(srcdir)/../../libiberty/vsnprintf.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)