README.txt revision 16be54258b18bf44137b6b92c8e9f2c2da6108b5
1282e181b58cf72b6ca770dc7ca5f91f135444502Adam LesinskiThis re-generates the file IID_to_MPH.c using gperf.
2282e181b58cf72b6ca770dc7ca5f91f135444502Adam LesinskiYou need to do this after modifying either OpenSLES_IID.c or MPH.c.
3282e181b58cf72b6ca770dc7ca5f91f135444502Adam Lesinski
4282e181b58cf72b6ca770dc7ca5f91f135444502Adam LesinskiPrerequisites:
5282e181b58cf72b6ca770dc7ca5f91f135444502Adam Lesinski * GNU make
6282e181b58cf72b6ca770dc7ca5f91f135444502Adam Lesinski * GNU gperf perfect hash generator
7282e181b58cf72b6ca770dc7ca5f91f135444502Adam Lesinski
8282e181b58cf72b6ca770dc7ca5f91f135444502Adam LesinskiUsage:
9282e181b58cf72b6ca770dc7ca5f91f135444502Adam LesinskiType 'make'.
10282e181b58cf72b6ca770dc7ca5f91f135444502Adam LesinskiDiff the old file in ../../src/autogen vs. the newly generated IID_to_MPH.c here.
11282e181b58cf72b6ca770dc7ca5f91f135444502Adam LesinskiIf the differences look OK, then copy the new IID_to_MPH.c back to
12282e181b58cf72b6ca770dc7ca5f91f135444502Adam Lesinski  its stable location in ../../src/autogen using 'make install'.
13282e181b58cf72b6ca770dc7ca5f91f135444502Adam LesinskiBuild and test the usage of the new IID.
14282e181b58cf72b6ca770dc7ca5f91f135444502Adam LesinskiThen do 'make clean' or 'make distclean' here.
15282e181b58cf72b6ca770dc7ca5f91f135444502Adam Lesinski
16282e181b58cf72b6ca770dc7ca5f91f135444502Adam Lesinskihashgen is known to work on Linux with GNU gperf 3.0.3 and GNU sed
17282e181b58cf72b6ca770dc7ca5f91f135444502Adam Lesinskiversion 4.2.1.  There are reports of problems on Mac OS X.
18282e181b58cf72b6ca770dc7ca5f91f135444502Adam Lesinski