2 INCLUDEDIR
=/usr
/local
/include
6 files
="$files rfxswf.c bitio.c"
9 libtool gcc
-g -c $file
13 libtool gcc
-g -o librfxswf.la
$lofiles -rpath ${LIBDIR} -lm -lz -ljpeg
16 #perl -pe 's/^#include "\.\.\/config"/#define WORDS_BIGENDIAN/' rfxswf.h > rfxswf.tmp
17 perl
-pe 's/^#include "\.\.\/config.h"//' rfxswf.h
> rfxswf.tmp
19 su
-c "cp rfxswf.tmp ${INCLUDEDIR}/rfxswf.h;
20 cp ../config.h ${INCLUDEDIR}/rfxswf_config.h;
21 cp bitio.h ${INCLUDEDIR}/bitio.h;
22 libtool cp librfxswf.la $LIBDIR/librfxswf.la;
26 rm -f *.o
*.lo rfxswf.tmp