diff options
author | Tom Tromey <tromey@redhat.com> | 2008-08-08 17:38:35 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-08-08 17:38:35 +0000 |
commit | 2b26d9faa92b53c1be645707f9c3b802afde8bb9 (patch) | |
tree | 1496d5b3568513c4f73d9fc1b7e50d0555126c15 /gdb/Makefile.in | |
parent | c814a4f3007d77c2e67d7884c98e342c2e07ff0e (diff) | |
download | gdb-2b26d9faa92b53c1be645707f9c3b802afde8bb9.zip gdb-2b26d9faa92b53c1be645707f9c3b802afde8bb9.tar.gz gdb-2b26d9faa92b53c1be645707f9c3b802afde8bb9.tar.bz2 |
* Makefile.in (python.o): Remove dependencies. Use COMPILE and
POSTCOMPILE.
(python-utils.o): Likewise.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 0a61c24..7f8c9ea 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1822,6 +1822,23 @@ tui-winsource.o: $(srcdir)/tui/tui-winsource.c $(COMPILE) $(srcdir)/tui/tui-winsource.c $(POSTCOMPILE) +# +# gdb/python/ dependencies +# +# Need to explicitly specify the compile rule as make will do nothing +# or try to compile the object file into the sub-directory. + +# Flags needed to compile Python code +PYTHON_CFLAGS=@PYTHON_CFLAGS@ + +python.o: $(srcdir)/python/python.c + $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python.c + $(POSTCOMPILE) + +python-utils.o: $(srcdir)/python/python-utils.c + $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-utils.c + $(POSTCOMPILE) + # @@ -1863,22 +1880,4 @@ $(all_object_files) : $(generated_files) # Dependencies. @GMAKE_TRUE@-include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files)) -# -# gdb/python/ dependencies -# -# Need to explicitly specify the compile rule as make will do nothing -# or try to compile the object file into the sub-directory. - -# Flags needed to compile Python code -PYTHON_CFLAGS=@PYTHON_CFLAGS@ - -python.o: $(srcdir)/python/python.c $(defs_h) $(python_h) \ - $(command_h) $(libiberty_h) $(cli_decode_h) $(charset_h) $(top_h) \ - $(exceptions_h) $(python_internal_h) $(version_h) $(cli_script_h) \ - $(ui_out_h) $(target_h) $(gdbthread_h) - $(CC) -c $(INTERNAL_CFLAGS) $(PYTHON_CFLAGS) $(srcdir)/python/python.c -python-utils.o: $(srcdir)/python/python-utils.c $(defs_h) $(python_internal_h) - $(CC) -c $(INTERNAL_CFLAGS) $(PYTHON_CFLAGS) \ - $(srcdir)/python/python-utils.c -o python-utils.o - ### end of the gdb Makefile.in. |