automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support for new languages


From: Rafael Jesus Alcantara Perez
Subject: Re: Support for new languages
Date: Tue, 20 Aug 2002 12:15:03 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> >>>>> "Rafael" == Rafael Jesus Alcantara Perez <address@hidden> writes:
>
> Rafael> Is there any way of adding support for new languages to
> Rafael> AUTOMAKE, without modifying the source of the main AUTOMAKE
> Rafael> script (usually /usr/bin/automake)?
>
> It depends.
>
> If the language is a simple C-like language then suffix rules may
> suffice.
>
> And of course you can always write support code in a .am file that you
> `include' wherever you need it.  This works if the support you need is
> largely boilerplate rules without special processing.
>
> Otherwise, you need to hack automake.  What language are you concerned
> about?
>
It is a precompiler of embedded SQL to C++ and Java 
(http://uesqlc.dedalo-ing.com/); the suffixes are .uesql.cc and 
.uesql.java, and the result suffixes are .cc and .java.

This is a typical piece of text I have to include in every 'Makefile.am':

%.cc :  %.uesql.cc $(UESQL_GENERATED_FILES)
        $(UESQLC) $< --output=$@                    \
                     --cdml-path=$(UESQL_CDML_PATH) \
                     --main-file                    \
                     --language=c++                 \
                     --target=$(UESQL_TARGET)       \
                     $(UESQLFLAGS)

By the way, not so long ago I send a request for enhancement in the Intel C++ 
for Linux, to add support to AUTOCONF/LIBTOOL. The request was moved to the 
next version of the ICC, I hope that this will be the release 7.0.

Greets.
Rafael.
- -- 
+----------
| Rafael Jesus Alcantara Perez.
| Email: mailto:address@hidden
| Registered Linux User: #45989
| PGP: http://pgp.rediris.es:11371/pks/lookup?op=index&search=0x97A85043
+---------------------
"For every complex problem there is a solution that is concise, clear, 
simple, and wrong."
(H. L. Mencken)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9YhasVE976peoUEMRAnhoAJ9LZI6S3bPjI96Nr+kDcbB2dpXDLgCdFMY5
8ki0lHZbVPDp/H2Kyb4B5qQ=
=JNGW
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]