autotools selects m2c to compile mod files

2009-09-21 Thread Martin Kalbfuß
Hi, I created my Makefile.am and configure.ac: scr/Makefile.am ### moddir=/home/martin/opt/lib/gcc/i686-pc-linux-gnu/4.1.2/gm2 SUFFIXES = .mod mod.o: $(GM2) $(GM2FLAGS) $(AM_GM2FLAGS) -c -o $@ $< noinst_LIBRARIES = libVectorMath.a l

Re: modula-2 modules

2009-09-21 Thread Martin Kalbfuß
Am Montag, den 21.09.2009, 22:43 +0200 schrieb Ralf Wildenhues: > You'll need to write the rules for compilation yourself. > Thanks for your answer. But I have a problem about lib_LIBRARIES. Automake wants an ".a" suffix. Is there a way to disable this?

Re: modula-2 modules

2009-09-21 Thread Ralf Wildenhues
* Martin Kalbfuß wrote on Mon, Sep 21, 2009 at 08:02:54PM CEST: > Now I try to distribute GNU Modula-2 Modules with Autotools. Modula-2 > doesn't use archived static libraries like C does. Instead the object > files are distributed and installed with the definition modules in a > subdirectory of th

modula-2 modules

2009-09-21 Thread Martin Kalbfuß
Hi, Last time I was here, I asked how to compile a program writen in a foreign language. Now I try to distribute GNU Modula-2 Modules with Autotools. Modula-2 doesn't use archived static libraries like C does. Instead the object files are distributed and installed with the definition modules in a