From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.data-display.com ([86.47.250.147]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VfqfA-0000sg-Li for ptxdist@pengutronix.de; Mon, 11 Nov 2013 13:32:18 +0100 From: Pat Murray Date: Mon, 11 Nov 2013 12:32:12 +0000 Message-ID: <4ECD7F7A0B03E64BA50DA3C6FC2464FD075B0FA4@KRUSTY.ddisplay.com> Content-Language: en-US MIME-Version: 1.0 Subject: [ptxdist] additional c file in a src-autoconf-proglib package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1066638775==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --===============1066638775== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_4ECD7F7A0B03E64BA50DA3C6FC2464FD075B0FA4KRUSTYddisplayc_" --_000_4ECD7F7A0B03E64BA50DA3C6FC2464FD075B0FA4KRUSTYddisplayc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I created a package using "ptxdist test src-autoconf-proglib" , this allowe= d me to create a shared library libtest.so and a binary test. That's all ok, it = created two files libtest.c and test.c and I build it successfully. I then wanted to add another file uart.c , so that it would be built & link= ed with the Binary "test". I tried the following changes to Makefile.am (highlighted in green), but it= fails to build. # # library # Libtest_la_SOURCES =3D \ libtest.c # # binary # test_SOURCES =3D \ test.c uart.c \ How can a ptxdist package using src-autoconf-proglib have two .c files for = the Binary ( not the shared library .so) Regards Pat --_000_4ECD7F7A0B03E64BA50DA3C6FC2464FD075B0FA4KRUSTYddisplayc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
I created a package using “ptxdist test src-autoconf-proglibR= 21; , this allowed me
to create a shared library libtest.so and a binary test. That’s = all ok, it created
two files libtest.c and test.c and I build it successfully.
 
I then wanted to add another file uart.c , so that it would be built &= amp; linked with the Binary “test”.
 
I tried the following changes to Makefile.am (highlighted in green), b= ut it fails to build.
 
#
# library
#
Libtest_la_SOURCES =3D \
        libtest.c
 
 
#
# binary
#
test_SOURCES =3D \
        test.c uart.c \
 
How can a ptxdist package using src-autoconf-proglib have two .c files= for the
Binary ( not the shared library .so)
 
Regards
Pat
 
 
 
--_000_4ECD7F7A0B03E64BA50DA3C6FC2464FD075B0FA4KRUSTYddisplayc_-- --===============1066638775== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1066638775==--