File: makedll.sh

package info (click to toggle)
mpg123 1.4.3-4lenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,316 kB
  • ctags: 2,675
  • sloc: ansic: 89,788; sh: 9,487; asm: 4,788; makefile: 529; pascal: 374; cpp: 255
file content (19 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
if test -e Makefile; then
	make clean
fi
options="$@"
echo "using options: $options"
CFLAGS="-march=i686" ./configure --disable-modules --with-cpu=x86_dither $options &&
cd src/libmpg123 &&
make &&
cp .libs/libmpg123-0.dll ../../ &&
cp .libs/libmpg123-0.dll.def ../../libmpg123-0.def
cd ../../ &&
echo "Now run that lib tool... perhaps you want to strip, too.
Hints:
	strip --strip-unneeded libmpg123-0.dll
	lib /machine:i386 /def:libmpg123-0.def" ||
echo You got some trouble.