SupSuper/OpenXcom — Issue #44: Update for autotools build system
Author: scarabeusiv
Created: 2011-10-18 19:08:25+00:00
State: open

Hi,
I found out that some source files are missing from the autotools build system so i decided to update the situation.

For starters script that gives you list of the not included ones (executed from project root dir):

find ./src/ -name \*.cpp |sed -e 's:./::' |while read line; do if [[ `grep $line ../Makefile.am |wc -l` < 1 ]]; then echo $line; fi ;done

I also fixed the tarball creation with make dist, which now includes also cmake files, so people can decide which build system to use.

http://dev.gentooexperimental.org/~scarabeus/0001-Update-autotools-add-cmake-to-externs-during-tarball.patch

Oh and if you try to build with autotools there are quite few warnings to be fixed, should help you to find some bugs :)