bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [automake]error in Makefile.am


From: Praveen M R
Subject: Re: [automake]error in Makefile.am
Date: Fri, 03 Nov 2006 10:38:11 +0530
User-agent: Thunderbird 1.5.0.7 (X11/20060913)

The following ic Makefiles

Makefile.am
SUBDIRS = include lib bin src

include/Makefile.am
helloinvite_SOURCES = say.h invite.h

src/Makefile.am
AM_CPPFLAGS = -I$(srcdir)/../include
bin_PROGRAMS = ../bin/helloinvite
helloinvite_SOURCES = main.c say.c invite.c
helloinvite_LDADD = ../lib/libhelloinvite.la
~
lib/Makefile.am
lib_LTLIBRARIES = libhelloinvite.la
libhelloinvite_la_SOURCES = ../src/say.c ../src/invite.c ../include/say.h ../include/invite.h

bin/Makefile.am
bin_PRAGRAMS = helloinvite
Hi,
I am getting following message when I enter automake --add-misssing
I feel I am doing wrong in Makefile.am.

Under main directory i have include src lib bin directories......In include directory I am placing *.h files and in lib directory .la should be created..and in bin directoty target should be created. In src directory i have kept 2 source (.c) files...

I want Makefile.am file to be written to include directory,bin and lib directory...I knew the below program i am facing because of wrong Makefile.am file. Kindly help ma regarding this.

regards,
Praveen
address@hidden databltz]$ automake --add-missing
src/Makefile.am:4: variable `helloinvite_LDADD' is defined but no program or src/Makefile.am:4: library has `helloinvite' as canonic name (possible typo) src/Makefile.am:3: variable `helloinvite_SOURCES' is defined but no program or src/Makefile.am:3: library has `helloinvite' as canonic name (possible typo)
configure.ac:3: required file `./ltmain.sh' not found














Mike Frysinger wrote:
On Thursday 02 November 2006 23:51, Praveen M R wrote:
I am getting following message when I enter automake --add-misssing
I feel I am doing wrong in Makefile.am.

we can only guess at what you're doing wrong unless you actually post
the Makefile.am
-mike





reply via email to

[Prev in Thread] Current Thread [Next in Thread]