- moved the imul mem,imm32 splitting into peephole optimizations
[libfirm] / ir / create_filelist.sh
1 #!/bin/bash
2 #
3 # Little helper script used to create the file list for Makefile.am
4 # automatically
5
6 DIRS="adt ana arch be common debug ident ir libcore lower net obstack opt stat tr tv"
7
8 echo "libfirm_la_SOURCES = \\" > FILELIST
9 for dir in $DIRS; do
10         for f in $dir/*.c; do
11                 echo -e "\t$f \\" >> FILELIST
12         done
13 done
14
15 echo "" >> FILELIST
16 echo "EXTRA_DIST = \\" >> FILELIST
17 FILES=`find $DIRS -maxdepth 1 -name "*.h" -o -name "*.def" -o -name "*.sh"`
18 for f in $FILES; do
19         echo -e "\t$f \\" >> FILELIST
20 done
21 for f in be/scripts/*.pl; do
22         echo -e "\t$f \\" >> FILELIST
23 done