The makefile that is generated in the shapelib/contrib directory under cygwin environment is incorrect. The error is on line 86 of my makefile. The issue is that the targets shpcentrd shpproj shpdata shpwkb are missing the $(EXEENT) suffix. These same targets are on the following line in the EXTRA_PROGRAMS variable.
84 host_triplet = x86_64-unknown-cygwin 85 noinst_PROGRAMS = dbfcat$(EXEEXT) dbfinfo$(EXEEXT) shpcat$(EXEEXT) \ 86 shpdxf$(EXEEXT) shpfix$(EXEEXT) shpinfo$(EXEEXT) shpcentrd shpproj shpdata shpwkb 87 EXTRA_PROGRAMS = shpcentrd$(EXEEXT) shpproj$(EXEEXT) shpdata$(EXEEXT) \ 88 shpwkb$(EXEEXT)
Fixed in CVS. Thank you for your report.
The correct fix is to add $(EXEEXT) to the CONTSHP variable in the top-level configure.ac file for each of the targets.
The problem is that while Automake will automatically add $(EXEEXT) to _PROGRAMS variable targets, it cannot put $(EXEEXT) into targets derived from dynamic configuration, only from hard-coded target lists. If one is doing dynamic substitution, as we are for the contrib directory, one has to put in the $(EXEEXT) by hand.