mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] additional c file in a src-autoconf-proglib package
@ 2013-11-11 12:32 Pat Murray
  2013-11-11 13:05 ` Jürgen Beisert
  0 siblings, 1 reply; 3+ messages in thread
From: Pat Murray @ 2013-11-11 12:32 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 700 bytes --]

Hi,

I created a package using "ptxdist test src-autoconf-proglib" , 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 & linked with the Binary "test".

I tried the following changes to Makefile.am (highlighted in green), but it fails to build.

#
# library
#
Libtest_la_SOURCES = \
        libtest.c


#
# binary
#
test_SOURCES = \
        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




[-- Attachment #1.2: Type: text/html, Size: 1646 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-11 15:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-11 12:32 [ptxdist] additional c file in a src-autoconf-proglib package Pat Murray
2013-11-11 13:05 ` Jürgen Beisert
     [not found]   ` <4ECD7F7A0B03E64BA50DA3C6FC2464FD075B1FC4@KRUSTY.ddisplay.com>
2013-11-11 15:35     ` Jürgen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox