http://sourceware.org/ml/gdb-patches/2011-02/msg00234.html Subject: Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver This is a multi-part message in MIME format. --------------030200050701050508020307 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (齐尧) --------------030200050701050508020307 Content-Type: text/x-patch; name="more-targets.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="more-targets.patch" 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 --- ./gdb/common/Makefile.in 11 Feb 2011 09:57:25 -0000 1.1 +++ ./gdb/common/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: + --------------030200050701050508020307--