servalproject / serval-dna

The Serval Project's core daemon that implements Distributed Numbering Architecture (DNA), MDP, VoMP, Rhizome, MeshMS, etc.
http://servalproject.org
Other
171 stars 80 forks source link

Harmonise source file lists for UNIX and Android build processes #32

Closed gardners closed 12 years ago

gardners commented 12 years ago

Currently Android.mk and Makefile.in have lists of source files which are substantially the same. This means that if you add a source file it has to be updated in two places, which encourages errors. Also, adding a new source file currently requires modifying both those files, and then rerunning configure for native UNIX builds, when it probably isn't necessary.

Solution: push the source file lists out into some separate .mk files