[Openal-devel] automake fun

Prakash Punnoor prakash at punnoor.de
Tue Dec 20 13:13:18 PST 2005


Hi,

I am trying to put back the MMX stuff into automake system, but I ran across a 
stupid thing when trying to do following:

if X86ENABLED
libopenal_la_SOURCES +=			\
	arch/i386/floatmul.c
else
libopenal_la_SOURCES +=			\
	arch/portable/floatmul.c
endif

This doesn't work, as automake says:

rc/Makefile.am: object `libopenal_la-floatmul.lo' created by 
`arch/portable/floatmul.c' and `arch/i386/floatmul.c'

What would be the smartest way to get this done? Options I have:

1) Use SUBDIRS and a seperate Makefile.am in the 386 dir
2) (similar as above) just use a seperate noinst_lib
3) Rename that file

Anything else?

-- 
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V



More information about the Openal-devel mailing list