blob: e01b8816234800de25bca43ed78e619ad6fdc20d [file] [log] [blame]
Eric Andersenb09c6b51999-10-06 05:21:54 +00001#!/bin/sh
Erik Andersen6273f652000-03-17 01:12:41 +00002
3# I added in the extra "ls" so only source files that
4# actually exist will show up in the compile list.
5ls -1 ` \
Eric Andersencaffb6e2000-09-25 21:28:07 +00006 gcc -E -dM Config.h | \
Erik Andersen6273f652000-03-17 01:12:41 +00007 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \
Eric Andersen1b355eb2000-09-05 17:37:48 +00008 | tr '[:upper:]' '[:lower:]' | sort
Erik Andersen6273f652000-03-17 01:12:41 +00009` 2>/dev/null | sed -e 's/\.c$/\.o/g'
10