This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: program target missing $(EXEEXT)


AC_EXEEXT was already present. I added AC_OBJEXT and ran
automake --foreign again, no change.

Rob


----- Original Message -----
From: "Akim Demaille" <akim@epita.fr>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <automake@gnu.org>
Sent: Monday, March 26, 2001 10:55 PM
Subject: Re: program target missing $(EXEEXT)


>
> | I hope I'm sending these problem reports to the right place...
> | Environment: cygwin. (Bleeding edge custom build).
> | I'm using automake CVS (updated around 2 hours ago).
> |
> | The following makefile.am
> | ==
> | bin_PROGRAMS = client
> | ==
> | generates the following target list (abridged) in Makefile.in
> | ==
> | client: $(client_OBJECTS) $(client_DEPENDENCIES)
> |         @rm -f client
> |         $(LINK) $(client_LDFLAGS) $(client_OBJECTS) $(client_LDADD)
> | $(LIBS)
> |
> | bin_PROGRAMS = client$(EXEEXT)
> | PROGRAMS = $(bin_PROGRAMS)
> | ==
> |
> | I believe that the "client:" should be "client$(EXEEXT):"
> | If it's not, make fails with "make[1]: *** No rule to make target
> | `client.exe', needed by `all-am'.  Stop."
> |
> | Where should I look to hack up a solution for this?
> |
> | If it's a known problem please accept my apologies in advance for
noise.
>
> This is a real bug.  Could you make sure you have AC_EXEEXT and
> AC_OBJEXT in configure.in, and try again with them?  Does it make any
> difference?
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]