# Little helper script used to create the file list for Makefile.am
# automatically
-DIRS="adt ana be common debug ident ir libcore lower obstack opt stat tr tv"
+DIRS="adt ana be common debug ident ir libcore lower lpp obstack opt stat tr tv kaps"
echo "libfirm_la_SOURCES = \\" > FILELIST
for dir in $DIRS; do
echo "" >> FILELIST
echo "" >> FILELIST
echo "EXTRA_DIST = \\" >> FILELIST
-FILES=`find $DIRS -maxdepth 1 -name "*.h" -o -name "*.def" -o -name "*.sh" -o -name "*.l" -o -name "*.y"`
-FILES="$FILES `find ir -name "*.inl"`"
+FILES=$(find $DIRS -maxdepth 1 -name "*.h" -o -name "*.def" -o -name "*.sh" -o -name "*.l" -o -name "*.y")
+FILES="$FILES $(find ir adt -name "*.inl")"
for f in $FILES; do
echo -e "\t$f \\" >> FILELIST
done