Hello everyone.

I'm downloading the CVS right now.
I noticed you use automake and I'm not familiar with the software and it's configuration files. I was wondering: what's the best way to include the assembler functions into the compilation process?

Lets say I have a cool filter coded in assembler, and I save the source in filter.asm. This file, exports the function void asm_filter(...);
Now I want to use it, so I add a new filter option to the interface, and then declare a new function on the header filters.h:
void asm_filter(...);

then I expand the declaration on filters.cpp:
#extern void cool_filter(...);
...
...

void cool_filter(...){
    asm_filter(...);
}
...
...


The question is... how do I get automake to compile and link the filter.asm file into a filter.o, and then use it's exported function to handle the missing function?

Right now, I'm using nasm -g -f elf filter.asm to compile, and ld to link, and it'd be great if I could get the Makefile to do the job done.

Thanks in advance
Sebastian


On Mon, Jun 25, 2012 at 4:05 PM, Marco Lorrai <iking@aruba.it> wrote:
> On 06/24/2012 10:30 PM, Galimba wrote:
>>
>> Hello guys,
>> My name is Sebastian. I'm a Computer Science undergrad student at
>> Universidad de Buenos Aires (Argentina).
>> I've downloaded the sorces for wxcam and as part of a project for
>> college, a friend of mine and I are planning on extending the filters
>> section with some SSE-assembler functions.
>> If thats ok with you, we could use your insight.
>>
>> Best regards
>>
> Hi,
>
> your contribute is welcome. I recommend to start working from CVS code.
> Regards,
>
> Marco Lorrai.