I'm actually building the tests inside a test directory: $(top_srcdir)/tests,
and the library I'm trying to link to is under $(top_srcdir)/yafeq. So if I
remove the $(top_srcdir) then it doesn't work anymore.
So the only way I made it work so far is using
LDADD = $(top_srcdir)/yafeq/libyafeq.la
4:25PM CEST:
>> On Tue, 9 Jun 2009, aaragon wrote:
>>>
>>> AM_LDFLAGS = -L$(top_srcdir)/yafeq -lyafeq
>>>
>>> and this works fine. Is this the right way to do this?
>>
>> Any in-tree library dependencies should be specified via LIBADD rather
>
this works fine. Is this the right way to do this?
Thanks once again,
Alejandro
Ralf Wildenhues wrote:
>
> * aaragon wrote on Fri, Jun 05, 2009 at 09:05:18PM CEST:
>> When deliberately making the tests fail, I still get:
>>
>> aara...@~/Documents/workspace/cpputils$make
LIBS += -lyafeq
but this doesn't work, it seems that it enters an infinite loop when
linking. How do you solve this?
Alejandro
Ralf Wildenhues wrote:
>
> * aaragon wrote on Fri, Jun 05, 2009 at 09:05:18PM CEST:
>> When deliberately making the tests fail, I still get:
>>
>
Hi Ralf,
Ralf Wildenhues wrote:
>
> * aaragon wrote on Wed, Jun 03, 2009 at 09:22:59PM CEST:
>> Ralf Wildenhues wrote:
>> > * aaragon wrote on Sat, May 30, 2009 at 07:34:13PM CEST:
>> >> check:all
>> >> @echo "Running tests"
Thanks! problem was that I had double quoting in AC_INIT.
aa
Ralf Wildenhues wrote:
>
> * aaragon wrote on Thu, Jun 04, 2009 at 10:11:22PM CEST:
>>
>> So I got all my code up and running and now I want to make a file so I
>> can
>> use my library in another com
Hi everyone,
So I got all my code up and running and now I want to make a file so I can
use my library in another computer. Now, when I try to make dist-zip, I get:
aara...@~/Documents/workspace/cpputils$make dist-all
{ test ! -d "-cpputils--0.001" || { find "-cpputils--0.001" -type d ! -perm
-2
Hi Ralph, thanks again for replying.
Ralf Wildenhues wrote:
>
> Hello Alejandro,
>
> * aaragon wrote on Sat, May 30, 2009 at 07:34:13PM CEST:
>>
>> Thank yo Ralf for replying to my post. The code that I showed in my post
>> was
>> indeed taken from that
aara...@~/Documents/workspace/cpputils/tests$make generate-verified-files
cd .. && /bin/sh /Users/aaragon/Documents/workspace/cpputils/config/missing
--run automake-1.11 --gnu tests/Makefile
cd .. && /bin/sh ./config.status tests/Makefile depfiles
config.status: creating tests
Hi everyone,
I found a Makefile.am file on the internet to run tests under a tests
folder. The code looks like follows:
In the rootdir/Makefile.am
include m4/aminclude.am
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = yafeq tests
MOSTLYCLEANFILES = $(DX_CLEANFILES)
EXTRA_DIST=autogen.sh $(DX_CONFIG)
# te
10 matches
Mail list logo