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]

makedepend and automake


Hi,

I have the following problem.

I am creating a build process on OS/390 open edition and the compiler in
this
platform does not support the option Wp to calculate the dependencies.

I would like to use makedepend but I do know how to integrate it in my
Makefile.am.

Now I have a script that do the following things:

aclocal
autoconf
automake -a
./configure
makedepend <some options> *.cpp

the problem with this approac is that each time an option will change I
need to modify the Makefile.am (for the options) and in the script.

Do someone of you know how I can solve this problem?

These are the files Makefile.am and configure.in

Makefile.am:

bin_PROGRAMS = prova
prova_SOURCES = A.cpp B.cpp
AUTOMAKE_OPTIONS = no-dependencies

configure.in

AC_INIT(A.cpp)
AM_INIT_AUTOMAKE(A,1.0)
AC_PROG_CXX
AC_PROG_INSTALL
AC_OUTPUT(Makefile)

the option no-dependencies has been introduced to avoid the flag Wp.

Thanks in advance for your help.

Bye




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