Dear "Automakers" I am a new user of automake, which I find realy quite useful. But by the way I have a problem, which kept me busy the last 4 days, and which is not working by now. Perhaps you can help me to get it run: I am working on a SUN SOlaris 2.7 and a Linux SUSE 7.0 The automake is the current CVS version (checkout last week) and Perl 5.005_03 . The Makefile should do the following steps: First) compile and link sysdep.f and undersore.c to sysdep (executable) Second) run sysdep, which generates system dependent include and Header files sysdep.h and sysdep.inc Third) built the library libgetorb.a (several files, which need sysdep.inc and sysdep.h Forth) generate program getorb, which requires libgetorb.a My Problem now is: Using the Makfile.am below starts in compiling the files without doing sysdep before. Therefore they miss sysdep.inc and sysdep.h files. Maybe I do not use BUILT_SOURCES in the right way or I do misunderstand the automake 1.4 manual. Sorry about making troubles and perhaps you can help me. Cheers and Thanxs Tommy Makefile.am noinst_PROGRAMS = sysdep sysdep_SOURCES = underscore.c sysdep.f sysdep_LDADD = -lg2c sysdep.h: sysdep Makefile ./sysdep sysdep.inc: sysdep Makefile ./sysdep BUILT_SOURCES = sysdep.inc sysdep.h noinst_LIBRARIES = libgetorb.a libgetorb_a_SOURCES = carpol.f chrdat.f fin.f freeunit.f geocen.f geodet.f geoutm.f geoxyz.f i2swap.f i4swap.f intab8.f inter8.f mdate.f polcar.f sec85.f fastio.c underscore.c getorb.F lodr.F odrinfo.F math.inc GRS80.inc libgetorb_a_INCLUDES = sysdep.inc # Generating executables of getorb, lodr, and mdate bin_PROGRAMS = getorb getorb_SOURCES = getorb_main.f getorb_LDADD = $(top_srcdir)/src/3rdParty/getorb/libgetorb.a getorb_LDFLAGS = -L$(top_srcdir)/src/3rdParty/getorb INCLUDES = -I$(top_srcdir)/src/3rdParty/getorb -- ========================================================= Dr Thomas Nagler Institute for Meteorology and Geophysics University of Innsbruck Innrain 52 A-6020 Innsbruck AUSTRIA email: [EMAIL PROTECTED] tel: ++43 (0)512-507 5495 fax: ++43 (0)512-507 2924 WWW: http://dude.uibk.ac.at/ =========================================================
begin:vcard n:Nagler;Dr Thomas tel;fax:++43 512 507 2924 tel;work:++43 512 507 5495 x-mozilla-html:FALSE org:University of Innsbruck;Institute for Meteorology and Geophysics adr:;;Innrain 52;Innsbruck;AUSTRIA;A-6020; version:2.1 email;internet:[EMAIL PROTECTED] x-mozilla-cpt:;20768 fn:Thomas Nagler end:vcard