Revision 54165b13 tools/mergedirs

View differences:

tools/mergedirs
21 21
echo "Merging system-dependent modules ($@)"
22 22
MODULES=`for a in $@ ; do
23 23
		cat $SRCDIR/sysdep/config.h $SRCDIR/$a/Modules |
24
		$cpp -U unix -D MACROS_ONLY - |
24
		$cpp -U unix -D MACROS_ONLY -I $OBJDIR - |
25 25
		sed "/^[ ]*\$/d;/^#/d;s@\\(.*\\)@\\1 $a/\\1@"
26 26
		done |
27 27
	sort +0 -1 -u |

Also available in: Unified diff