Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The source folder of rtnet contains only the above mentioned files for compilation purposes. Remaining files are the source code of the examples.

Question is that do these files indicate that they have been generated through automake?

If yes, then where should I look to find out what settings where made to configure automake for generating these files?

share|improve this question
up vote 5 down vote accepted

The presence of the .am files indicates the project is intended to be used with AutoMake. They are the source files for AutoMake, and the only ‘configuration’ files needed if you're building a project.

Read through GNUMakefile.am to see how AutoMake is configured. Generally speaking, you don't need to do that in many cases. The standard ./configure; make; make install and its variants works well.

The GNU Build Toolchain, aka autotools, (check out the flowchart) is very complex (and its use of M4 is not for the faint of heart — and to think I once used that to make a website). Your best allies are the documentation. All the tools have manpages, but most of their documentation comes in info pages (say info automake, or use your favourite info browser).

Have a look at a tutorial for autotools or go browse the official automake documentation.

share|improve this answer
thanks for the detailed answer. – TheIndependentAquarius Jun 23 '12 at 14:19

The settings for AutoMake are in the *.am files. IIRC those (can) generate the *.in files which are the templates used by ./configure to produce the effective files.

share|improve this answer
Thanks for answering, but: IIRC those (can) generate the *.in files which are the templates used by ./configure to produce the effective files. Didn't understand this very clearly. Moreover, can I too write a auutomake for a small hello world program for rtnet like they have done? – TheIndependentAquarius Jun 23 '12 at 6:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.