Re: problem --enable-shared and --enable-static together

2009-12-06 Thread Andreas Otto
Am Samstag 05 Dezember 2009 13:33:06 schrieb Ralf Wildenhues: > Hello Andreas, > > besides answers already given: > > * Andreas Otto wrote on Fri, Dec 04, 2009 at 09:41:16AM CET: > > as you see both *lo and *.o are created. the *.o are useless and just > > extend the com

Re: problem --enable-shared and --enable-static together

2009-12-06 Thread Andreas Otto
Am Samstag 05 Dezember 2009 13:33:06 schrieb Ralf Wildenhues: > Hello Andreas, > > besides answers already given: > > * Andreas Otto wrote on Fri, Dec 04, 2009 at 09:41:16AM CET: > > as you see both *lo and *.o are created. the *.o are useless and just > > extend the com

problem --enable-shared and --enable-static together

2009-12-04 Thread Andreas Otto
d be used and if configureed without the shared object files should be used. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> brain_SOURCES = brain.c brain_CFLAGS = -I../theLink/libmsgque -I$(BRAIN_HOME)/include - DMQ_LINK_WITH_LIBRARY_OBJECT_FILES if HAS_STATIC LIBMSQUE = ../theLink/libmsgque/*.o else LIBMSQUE = ../theLink/libmsgque/*.lo endif brain_LDADD = -lz -lbz2 -lrt -lm -lc $(LIBMSQUE) $(BRAIN_HOME)/lib/libtokyocabinet.a <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< I need a HELPER called HAS_STATIC defined in configure.in with >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AM_CONDITIONAL([HAS_STATIC], [test "$enable_static" = "yes"]) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Q: Is this OK or is something better is possible ? mfg Andreas Otto

question to the subpackage feature

2009-11-25 Thread Andreas Otto
ymbols' '--enable-tcl' '--ena ble-cxx' '--enable-threads' 'CC=ccache gcc' 'CXX=ccache g++' --cache- file=/dev/null --srcdir=. in addition: confiure --help does only show the help-page from the toplevel package and does not provide any information from the subpackage ... mfg Andreas Otto

Re: OS independent build results

2009-11-01 Thread Andreas Otto
Hi, this is my solution: this add a new target ".vpath_hook" to the build environment and this target copy the files/directories listed in "VPATH_FILES" from the src into the build environment. the "copy" is necessary because tools like "JAR" expect the files in the "build" directory. "

OS independent build results

2009-10-25 Thread Andreas Otto
r into the builddir, these copied files have to be removed in a "distclean" -> attention the copy have only be done if the target of the same name is not available mfg Andreas Otto

builddir question

2009-10-23 Thread Andreas Otto
Hi, is a "builddir" other than "." possible ? mfg aotto1968

Re: integration of perl with automake

2009-10-20 Thread Andreas Otto
Am Dienstag 20 Oktober 2009 21:07:35 schrieb Ralf Wildenhues: > * Andreas Otto wrote on Tue, Oct 20, 2009 at 08:53:14AM CEST: > > Am Dienstag 20 Oktober 2009 08:27:01 schrieb Ralf Wildenhues: > > > > distclean-local: > > > > test -f Net-Msgqu

Re: integration of perl with automake

2009-10-19 Thread Andreas Otto
Am Dienstag 20 Oktober 2009 08:27:01 schrieb Ralf Wildenhues: > Hello Andreas, > > thanks for sharing your solution. A couple of comments: > > * Andreas Otto wrote on Mon, Oct 19, 2009 at 12:20:26PM CEST: > > if USE_PERL > > > > PERLMAKEFILE = Net-Msgque/Makefi

Re: integration of perl with automake

2009-10-19 Thread Andreas Otto
xs \ Net-Msgque/lib/Net/Msgque.pm \ Net-Msgque/Makefile.PL \ Net-Msgque/README \ Net-Msgque/t/Net-Msgque.t \ Net-Msgque/Changes \ Net-Msgque/MANIFEST \ Net-Msgque/typemap <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< mfg Andreas Otto

integration of perl with automake

2009-10-15 Thread Andreas Otto
Hi, to build a perl extension it's best to use the perl build-system based on perl Makefile.PL the command create a Makefile in the same directory of Makefile.PL self and in the toplefel-position "perlmsgque/Makefile". I can use this makefile in an automake build environment

I need a hint to integrate a php-extension build into an existing automake

2009-10-01 Thread Andreas Otto
Hi, I want to add a "php" extension into an allready existing project creating various extensions to other languages as well I use automake/autoconf for build top-level project. My new "php" extension has the name "phpmsgque" build in the subdirectory of the same name. The sudirectory i

using C# in automake

2009-05-24 Thread Andreas Otto
ot;libtool" does and finally I want to install these files into the "pkglibdir" / "bindir" directory for install .. ... and I want that the language specific source files "*.cs" be included into the dist ... and I want that this is tested during distcheck as well -> lot of stuff, but a template would be fine for other users as well mfg Andreas Otto

shared libraries with used defined extension

2009-05-19 Thread Andreas Otto
... mfg Andreas Otto

binary distribution build with automake

2009-05-08 Thread Andreas Otto
"$(PACKAGE)-$(PACKAGE_VERSION)-$(build).tar.gz" -> I choose "build" as hw/os identification string 3. able to use "--prefix" as system-directory !without! installation requirement mfg Andreas Otto

Re: Example on JNI compilation

2009-04-20 Thread Andreas Otto
from the "m4" subdirectory and the "acinclude.m4" file mfg Andreas Otto

problem to create a "noinst_LTLIBRARIES" shared libraray

2009-04-03 Thread Andreas Otto
Hi, I currently writing a java JNI extension used only for local "check" and this library should *not* be installed. The problem is that I need a shared library for dlopen using java file: TestMain.java === public abstract class TestMain