Added support for timezone files which are parsed at configure time.

This allows jam to know which targets are expected.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10030 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2004-11-19 19:24:10 +00:00
parent d9dd2139b1
commit 4c74bde8e5
Vendored
+11
View File
@@ -128,3 +128,14 @@ INCLUDE_GPL_ADDONS ?= ${include_gpl_addons} ;
TARGET_PLATFORM ?= ${target} ;
EOF
# Generate Timezones binaries bindings
for f in src/data/etc/timezones/*;
do
TZOBJECTS=`gawk '/^(Zone|Link)/ { print $2 } ' $f `
cat << EOF >> build/BuildConfig
TZ_OBJECTS on <src!data!etc!timezones>${f##src/data/etc/timezones/} ?= $TZOBJECTS ;
EOF
done