public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: wysochanski@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 liblvm/Makefile.in test/api/Makefile.in Date: Sun, 08 Mar 2009 17:06:00 -0000 [thread overview] Message-ID: <20090308170656.7088.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: wysochanski@sourceware.org 2009-03-08 17:06:56 Modified files: liblvm : Makefile.in test/api : Makefile.in Log message: Add DSO generation for new LVM application library. Fix test/api/test build. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/Makefile.in.diff?cvsroot=lvm2&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/api/Makefile.in.diff?cvsroot=lvm2&r1=1.1&r2=1.2 --- LVM2/liblvm/Makefile.in 2009/03/06 16:19:53 1.1 +++ LVM2/liblvm/Makefile.in 2009/03/08 17:06:55 1.2 @@ -19,14 +19,25 @@ SOURCES =\ lvm_base.c -LIB_STATIC = liblvm.a +LIB_NAME = liblvm +LIB_VERSION = $(LIB_VERSION_LVM) -$(SUBDIRS): $(LIB_STATIC) +LIB_STATIC = $(LIB_NAME).a +LIB_SHARED = $(LIB_NAME).so CLEAN_TARGETS += liblvm.cflow include $(top_srcdir)/make.tmpl +CLDFLAGS += -z now +LIBS += -ldevmapper -llvm-internal + +$(VERSIONED_SHLIB): %.$(LIB_SUFFIX).$(LIB_VERSION): $(interface)/%.$(LIB_SUFFIX) + rm -f $@ + $(LN_S) $< $@ + rm -f $(LIB_NAME).$(LIB_SUFFIX) + $(LN_S) $< $(LIB_NAME).$(LIB_SUFFIX) + liblvm.cflow: $(SOURCES) set -e; (echo -n "SOURCES += "; \ echo $(SOURCES) | \ --- LVM2/test/api/Makefile.in 2008/12/07 19:37:07 1.1 +++ LVM2/test/api/Makefile.in 2009/03/08 17:06:56 1.2 @@ -30,10 +30,11 @@ DEFS += -D_REENTRANT CFLAGS += -fno-strict-aliasing -LDFLAGS += -L$(top_srcdir)/api/lib - include $(top_srcdir)/make.tmpl -test: $(OBJECTS) $(top_srcdir)/lib/liblvm.a $(top_srcdir)/libdm/libdevmapper.so +LDFLAGS = -L$(top_srcdir)/libdm -L$(top_srcdir)/liblvm +CLDFLAGS = -L$(top_srcdir)/libdm -L$(top_srcdir)/liblvm + +test: $(OBJECTS) $(top_srcdir)/liblvm/liblvm.a $(top_srcdir)/libdm/libdevmapper.so $(CC) -o test $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS)
next reply other threads:[~2009-03-08 17:06 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-03-08 17:06 wysochanski [this message] 2009-03-08 17:29 wysochanski 2009-09-14 22:56 wysochanski
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=20090308170656.7088.qmail@sourceware.org \ --to=wysochanski@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).