2007-01-15 18:22:44

by Brad Midgley

[permalink] [raw]
Subject: [Bluez-devel] no-install clients in sbc project

Marcel,

Is there a better way to put sbcenc and sbcdec into the sbc project and
have them link than this? It seems a little underhanded to link libsbc.a
this way:

Index: src/Makefile.am
===================================================================
RCS file: /cvsroot/sbc/sbc/src/Makefile.am,v
retrieving revision 1.3
diff -u -r1.3 Makefile.am
--- src/Makefile.am 18 Feb 2006 22:19:47 -0000 1.3
+++ src/Makefile.am 15 Jan 2007 18:20:44 -0000
@@ -1,4 +1,6 @@

-bin_PROGRAMS = sbcinfo
+bin_PROGRAMS = sbcinfo sbcenc sbcdec
+sbcenc_LDADD = ../lib/.libs/libsbc.a
+sbcdec_LDADD = ../lib/.libs/libsbc.a

MAINTAINERCLEANFILES = Makefile.in

Brad

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2007-01-15 18:46:12

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] no-install clients in sbc project

Marcel

> that is totally wrong. Tell me what you are trying to achieve and I tell
> you the autoconf/automake trick.

I thought so.

I want to put sbcenc and sbcdec into the sbc module (I don't care where)
so 'make' will rebuild them against libsbc.a whenever I've changed a
part of the codec. I use these two over and over when working on the codec.

The idea is sbcenc/dec will never be installed anywhere.

Brad

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2007-01-15 18:35:46

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] no-install clients in sbc project

Hi Brad,

> Is there a better way to put sbcenc and sbcdec into the sbc project and
> have them link than this? It seems a little underhanded to link libsbc.a
> this way:
>
> Index: src/Makefile.am
> ===================================================================
> RCS file: /cvsroot/sbc/sbc/src/Makefile.am,v
> retrieving revision 1.3
> diff -u -r1.3 Makefile.am
> --- src/Makefile.am 18 Feb 2006 22:19:47 -0000 1.3
> +++ src/Makefile.am 15 Jan 2007 18:20:44 -0000
> @@ -1,4 +1,6 @@
>
> -bin_PROGRAMS = sbcinfo
> +bin_PROGRAMS = sbcinfo sbcenc sbcdec
> +sbcenc_LDADD = ../lib/.libs/libsbc.a
> +sbcdec_LDADD = ../lib/.libs/libsbc.a
>
> MAINTAINERCLEANFILES = Makefile.in

that is totally wrong. Tell me what you are trying to achieve and I tell
you the autoconf/automake trick.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel