Hi

I just started using automake/autoconf in my project.
When I try to issue the command
make distdir 
to create a directory with a distribution in it fails with
the error message:
make[2]: Leaving directory `/mnt/u1/home/he/programming/Qt/yagi/src/kernel'
make[2]: Entering directory `/mnt/u1/home/he/programming/Qt/yagi/src/kernel'
make[2]: *** No rule to make target ` ', needed by `distdir'.  Stop.

When I look at the Makefile in yagi/src/kernel generated I see
that the distdir target depends on $(DISTFILES).
The definition of DISTFILES is
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
but I cant find a definition for SOURCES, HEADERS, TEXINFOS or EXTRA_DIST
in the Makefile. If I comment out everything after $(DIST_COMMON) and
try to make distdir, it works (but ofcourse the files are missing).
My Makefile.amk in src/yagi/kernel/ is
CXXFLAGS = -Wall -O6 -ffast-math
noinst_LIBRARIES = libmomkernel.a
libmomkernel_a_SOURCES = bas_array.cc const_farfield.cc  \
                         bas_farfield.cc const_array.cc  \
                         trap_array.cc bas_array.h const_array.h \
                         gnm.h trap_array.h bas_farfield.h \
                         const_farfield.h integrator.h trap_gnm.h \
                         bas_func.h constants.h matrix.h

(hope this is the right way to say that I want to build a lib that gets
linked to the final executable but not installed in lib/).

Could anyone help me solve this?

Btw, I'm using:
automake (GNU automake) 1.4
Autoconf version 2.13
GNU Make version 3.78.1
gcc 2.95.2

Thanks
  Hrafnkell

Reply via email to