[Cbe-oss-dev] [PATCH] libspe2: add pkg-config file to libspe2
Luca Barbato
lu_zero at gentoo.org
Thu May 10 23:53:26 EST 2007
Jeremy Kerr wrote:
> Luca,
>
>> +libspe2.pc:
>> + echo -e \
>> + prefix=$(prefix) \\n\
>> + exec_prefix=$(exec_prefix) \\n\
>> + libdir=$(libdir) \\n\
>> + includedir=$(includedir) \\n\
>
> [snip]
>
> That's a little too much work for a makefile. I think adding a
> libspe2.pc.in file, and using 'sed' to set the variables would be much
> cleaner.
Using a sed replacement would require to pass the same variables to it
making the makefile just few lines smaller, I started doing the sed way
and then moved to the "in makefile" because looked simpler.
lu
--
Luca Barbato
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
More information about the cbe-oss-dev
mailing list