mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Pat Murray <PMurray@data-display.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] additional c file in a src-autoconf-proglib package
Date: Mon, 11 Nov 2013 12:32:12 +0000	[thread overview]
Message-ID: <4ECD7F7A0B03E64BA50DA3C6FC2464FD075B0FA4@KRUSTY.ddisplay.com> (raw)


[-- 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

             reply	other threads:[~2013-11-11 12:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-11 12:32 Pat Murray [this message]
2013-11-11 13:05 ` Jürgen Beisert
     [not found]   ` <4ECD7F7A0B03E64BA50DA3C6FC2464FD075B1FC4@KRUSTY.ddisplay.com>
2013-11-11 15:35     ` Jürgen Beisert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECD7F7A0B03E64BA50DA3C6FC2464FD075B0FA4@KRUSTY.ddisplay.com \
    --to=pmurray@data-display.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox