-
Notifications
You must be signed in to change notification settings - Fork 63
Adding new sub directories
Justus Calvin edited this page May 24, 2014
·
1 revision
This page describes how to add a new sub-directory to the apps or lib directories (or indeed anywhere).
In your new subdirectory make the automake file (Makefile.am) following the instructions in AutoMakeFiles. Then,
- Add your subdirectory to the list of SUBDIRS in the parent directory's automakefile. If that directory is also new you'll have to add an automakefile with just SUBDIRS specified (look in src/Makefile.am for an example) and add it to its parent SUBDIRS list.
- At the end of configure.ac, add each new automakefile to the list of files to be generated.
- In the top level directory (that containing configure.ac) run autoconf, then automake, and finally run configure (with any options that you need for your platform).