Questions tagged [autotools]

Autotools is a suite of programming tools (mainly autoconf, automake, and libtool) designed to assist in making source-code packages portable to many Unix-like systems.

Consider adding one of the more specific tags below to a question.

Related tags:

1517 questions
0
votes
1 answer

autotools: Shared data among makefiles

this is my project tree structure: srcdir/Makefile_parent.make srcdir/src/Makefile_src.make srcdir/data/Makefile_data.make srcdir/other/Makefile_other.make My question is how to pass from my "Makefile_parent.make" a value readable in the child…
Joel
  • 1,805
  • 1
  • 22
  • 22
0
votes
2 answers

Adding a library to autotools files does not work (linker ignores it)

I'm a dummy regarding C build tools, so I have a forked project to which I want to add a dynamically linked library: https://github.com/iem-projects/ncview/tree/26c3549d165dc6047dc37db252062fd73eb9282c Basically, what I need is to include liblo.…
0__
  • 66,707
  • 21
  • 171
  • 266
0
votes
2 answers

libtool deleted by 'make distclean'

I've copied libtool into my program's source tree to distribute it with the program. But when I run 'make distclean' libtool is deleted with the rest of the rest of the generated files. How do I stop that from happening? I tried putting EXTRA_DIST…
Steve K
  • 2,124
  • 16
  • 19
0
votes
2 answers

Shell variables as autoconf macro input

I need to check for Erlang libraries on my configure.ac but the list of erlang apps is on a separate file, and I have to run a program to extract that list. Normally, I can do this: AC_ERLANG_CHECK_LIB([app1]) AC_ERLANG_CHECK_LIB([app2]) However,…
jvliwanag
  • 1,508
  • 1
  • 13
  • 29
0
votes
1 answer

Symlink to source directory within every build subdirectory with autotools

Let's assume this project hierarchy: root |-src | |-proj1 | |-proj2 | | |-src | | | |-nested |-build Using GNU autotools and relying on recursive make, configuring and making the project hierarchy in the build directory is no problem with: root$…
Irfy
  • 9,323
  • 1
  • 45
  • 67
0
votes
1 answer

gengetopt and Automake

I'm trying to include the generation of the cmdline.c file (from gengetopt's defaults) in my Makefile.am file. The file currently reads like these: bin_PROGRAMS = myprog myprog_SOURCES = main.c cmdline.c myprog_DEPENDENCIES = gen_cmdline…
ivarec
  • 2,542
  • 2
  • 34
  • 57
0
votes
1 answer

How to change program's name in Makefile.am

Currently the code in makefile.am is like this: performancetestsdir = $(prefix)/tests/@PACKAGE@/performance-test performancetests_PROGRAMS = eventwindowperformancetest I would like to make the program 'eventwindowperformancetest' in the name of…
user1853170
  • 65
  • 1
  • 2
  • 8
0
votes
0 answers

What are *.so.*T files for?

In the log I see a line /usr/bin/install -c .libs/libgiomm-2.4.so.1.0.25T /mydir/glibmm-2.16.4/glibmm-2.16.4/gio/giomm/TEMP/usr/lib/libgiomm-2.4.so.1.0.25 Thats the only place where I see this T file in the build ouptut. Who generates this file…
ghostcoder
  • 473
  • 1
  • 5
  • 17
0
votes
1 answer

Link only once to a library

I have my main application and two libraries: foo and bar. foo uses bar in some methods, and it has it specified in the LDADD. My main application uses foo, and indirectly bar, so it has, in the Makefile, LDADD = foo. In this case, if i don't also…
Cumatru
  • 695
  • 2
  • 12
  • 34
0
votes
1 answer

How to get full information about MACRO which is used in configure.ac

I am a beginner of linux, now I study the auto tool for GNU app. I get the autoconf documentation from gnu web site. But the macro for configure.ac is not enough for me. Is there any place that provides the full info about that ? the macro like…
chuck
  • 111
  • 2
0
votes
1 answer

Use upper-level directory in autotools projects

I have a repository of projects with following structure: repo/ configure.ac Makefile.am project1/ configure.ac Makefile.am [sources] project2/ configure.ac Makefile.am [sources] project3/ configure.ac …
ilardm
  • 146
  • 8
0
votes
1 answer

How to distribute source of a Qt project?

I created a program using Qt Creator and want to pass it to somebody. Due to the lack of an elegant solution I wrote a script that packs all relevant files and tell the person to unpack and execute qmake -makefile. Is there a standard way to do…
steffen
  • 8,572
  • 11
  • 52
  • 90
0
votes
1 answer

Preventing gcc/libtool building a shared object from scratch each time it is linked

I am building an autotools application that links to two shared libraries, libA.so and libB.so. Both of them in turn comprise of shared libraries and static (yes, against recommendation static) libraries. The static library, libmetis is contained in…
Elan
  • 443
  • 5
  • 14
0
votes
1 answer

Can Automake include multiple Makefile.am together?

I have a set of different projects that all share a common set of C++ libraries. Currently these common libs are copied into each code base but this is turning into a major problem for me. We use subversion for version control so I am planning on…
chotchki
  • 4,258
  • 5
  • 34
  • 55
0
votes
2 answers

How to let autotools compile a QT module with qmake

In my project I have made configure.ac and Makefile.am files correctly so my components compile and dynamically link to the appropriate libraries. One of these components links to a library that uses QT, so the appropriate Makefile must be generated…
user1598585
1 2 3
99
100