Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver

Yao Qi
2011-02-12T03:13:07Z

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

On 02/12/2011 02:47 AM, Tom Tromey wrote:
> common/Makefile.in doesn't have a copyright header.
> I didn't check the other files.
>

Add a copyright header to common/Makefile.in. Other files have
copyright header. Applied as obvious.

> "make info" now fails. I didn't check other subdir targets in
> gdb/Makefile.in. Automake would solve this plus some other things
> ... :-)

Add some more targets in common/Makefile.in in this patch. `make
{info,pdf,html,dvi}' works.

--
Yao (é½å°§)

[-- Attachment #2: more-targets.patch --]
[-- Type: text/x-patch, Size: 756 bytes --]

common/

* Makefile.in: Add more targets for make.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/common/Makefile.in,v
retrieving revision 1.1
diff -u -r1.1 Makefile.in
--- Makefile.in 11 Feb 2011 09:57:25 -0000 1.1
+++ Makefile.in 12 Feb 2011 02:54:15 -0000
@@ -74,3 +91,20 @@
distclean maintainer-clean realclean: clean
-rm -f *~
-rm -f Makefile config.status config.log
+
+.PHONY: install
+install: all
+
+.PHONY: install-only
+install-only:
+
+.PHONY: uninstall
+uninstall:
+
+.PHONY: check installcheck info dvi pdf html
+.PHONY: install-info install-pdf install-html clean-info
+check installcheck:
+info dvi pdf html:
+install-info install-pdf install-html:
+clean-info:
+