automake
[Top][All Lists]
Advanced

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

Fwd: Re: Support for new languages


From: Rafael Jesus Alcantara Perez
Subject: Fwd: Re: Support for new languages
Date: Fri, 1 Aug 2003 20:49:15 +0200
User-agent: KMail/1.5

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

Hi, I sent the attached message one year ago, but I did not receive any 
response. I'm trying to add support for UESQLC (http://www.uesqlc.org/) by 
simply adding a file in /usr/share/automake-*/am/. Is this posible?

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

iD8DBQE/KrYwyR3/fFPzMKsRAipEAKC3ACe0oA/oBrY2ngF7b0WhTmWJSgCfcn9D
bGXgfVbybnyCPpNpnHR2GNw=
=tobp
-----END PGP SIGNATURE-----
--- Begin Message --- Subject: Re: Support for new languages Date: Sun, 18 Aug 2002 04:26:47 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat 17 Aug 2002 19:25, you wrote:
> >>>>> "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/), so the suffixes are .uesql.cc and 
.uesql.java, so 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

iD8DBQE9Xv2pVE976peoUEMRArplAJ9CkdUZEfAGA9kHyg8/h//EzxRc9ACfQZen
qQHhKXNKdMqvUrlT0W+CbvU=
=v9hK
-----END PGP SIGNATURE-----


--- End Message ---

reply via email to

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