Skip to contentSkip to conversation

no-install clients in sbc project

Bluez-devel Brad Midgley 2 participants 3 messages Jan 15, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Makefile.am 15 Jan 2007 18:20:44 -0000 renamed from Makefile.am 18 Feb 2006 22:19:47 -0000 1.3 +3 -1
diff -u -r1.3 Makefile.am
@@ -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

maintainer
#1 lore raw

Hi Brad,

Quoted 12 lines

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

Makefile.am 15 Jan 2007 18:20:44 -0000 line 6

Quoted 7 lines
Makefile.am 15 Jan 2007 18:20:44 -0000 renamed from Makefile.am 18 Feb 2006 22:19:47 -0000 1.3 +3 -1
@@ -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

#2 lore raw

Marcel

Quoted 2 lines

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