From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e050e53c53cb90de X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!newshub.sdsu.edu!newshosting.com!nx02.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!news.belwue.de!news.uni-stuttgart.de!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: [GNAT] Project manager and C source files Date: Tue, 18 May 2004 17:28:37 +0200 Message-ID: <87pt91lpp6.fsf@deneb.enyo.de> References: <87ekpxr0ox.fsf@deneb.enyo.de> <1096942.Nnr0a5cg4Y@linux1.krischik.com> <87ad0jhnge.fsf@deneb.enyo.de> <1169514.XilkiZJNu6@linux1.krischik.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: albireo.enyo.de 1084894118 12689 141.58.88.202 (18 May 2004 15:28:38 GMT) Cancel-Lock: sha1:sD+5gOqOwq+KSqjVm3HGqeKUTJw= Xref: controlnews3.google.com comp.lang.ada:669 Date: 2004-05-18T17:28:37+02:00 List-Id: * Martin Krischik: > Florian Weimer wrote: > >> * Martin Krischik: >> >>> When C sources are included you need a makefile with the name >>> "makefile.project". >> >> In which directory would I have to put this file? The directory >> containing the .gpr file, or the source directory? > > The same as the project file. For a Demo look at: > > http://cvs.sourceforge.net/viewcvs.py/adacl/CUnicode/Scripts/Makefile.cunicode?rev=1.1&view=auto > > http://cvs.sourceforge.net/viewcvs.py/adacl/CUnicode/Scripts/Makefile.tester?rev=1.2&view=auto Ah, looks like the output of gpr2make. This doesn't seem to be included in GNAT 3.4 for Debian, though. Currently, I simply write the .i file into the library directory, and gnatmake picks it up from there and puts it into the static library. That's good enough for me right now, even though I'm not sure if it's a bug or feature. -- Current mail filters: many dial-up/DSL/cable modem hosts, and the following domains: bigpond.com, di-ve.com, hotmail.com, jumpy.it, libero.it, netscape.net, postino.it, simplesnet.pt, spymac.com, tatanova.com, tiscali.co.uk, tiscali.cz, tiscali.it, voila.fr, yahoo.com.