Bug 691309

Summary: make gives warnings starting with r11259
Product: Ghostscript Reporter: Marcos H. Woehrmann <marcos.woehrmann>
Component: Font APIAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: master   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---

Description Marcos H. Woehrmann 2010-05-16 18:21:16 UTC
This under Ubuntu 10.04 after a clean checkout, ./autogen.sh, make, make:

psi/int.mak:1931: warning: overriding commands for target `obj/write_t1.o'
psi/int.mak:1856: warning: ignoring old commands for target `obj/write_t1.o'
psi/int.mak:1935: warning: overriding commands for target `obj/write_t2.o'
psi/int.mak:1860: warning: ignoring old commands for target `obj/write_t2.o'
psi/int.mak:1939: warning: overriding commands for target `obj/wrfont.o'
psi/int.mak:1864: warning: ignoring old commands for target `obj/wrfont.o'
Comment 1 Hin-Tak Leung 2010-05-17 05:19:56 UTC
Duplicate write_t1/write_t2/wrfont make target introduced by Ken's bitstream change. Reassign to Ken for continual work.

Suggest merging the two duplicate targets - e.g. by adding the BISTREAMS_CFLAGS flags to next to FT_CFLAGS, so that when one is empty and the other is not, it would just work.
Comment 2 Ken Sharp 2010-05-17 08:07:58 UTC
Moved the write_t1.c, write_t2.c and wrfont.c files into the general FAPI code block of the makefile, instead of being specific to particular font engines. Since these comprise generic code it makes little sense to have each font engine include them.

Fixed as part of revision 11268:
http://ghostscript.com/pipermail/gs-cvs/2010-May/011050.html