This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: using Automake with unsupported languages
- From: Tom Tromey <tromey at redhat dot com>
- To: Vance Shipley <vances at motivity dot ca>
- Cc: automake at gnu dot org
- Date: 15 Sep 2002 12:55:03 -0600
- Subject: Re: using Automake with unsupported languages
- References: <20020915012415.GA2948@frogman.motivity.ca>
- Reply-to: tromey at redhat dot com
>>>>> "Vance" == Vance Shipley <vances@motivity.ca> writes:
Vance> Erlang source files have .erl extensions. The erlang compiler
Vance> 'erlc' creates files with the extension .beam. Erlang is
Vance> similiar to Java in that it uses a virtual machine.
Vance> I created a rule for making .beam files out of .erl source files:
Vance> .erl.beam:
Vance> @ERLC@ -b beam $@ $<
Stylistically it is slightly preferred to write $(ERLC).
That way the user can override the setting at make time, as needed.
Vance> Now how can I create Automake instructions to build foo.beam?
Just make it _DATA:
data_DATA = netaccess.beam
Having a way to just list the sources and let automake guess what
should be installed as been on the to-do list for a long time.
Tom