Add hgcompile scripts
Added hgcompile scripts.
Takashi Iwai
18 years ago
4 | 4 |
usx2yloader vxloader echomixer ld10k1 qlo10k1
|
5 | 5 |
|
6 | 6 |
all:
|
7 | |
@for i in $(SUBDIRS); do cd $(TOP)/$$i; ./cvscompile $(CVSCOMPILE_ARGS); cd ..; make -C $$i; done
|
|
7 |
@for i in $(SUBDIRS); do cd $(TOP)/$$i; ./hgcompile $(HGCOMPILE_ARGS); cd ..; make -C $$i; done
|
8 | 8 |
|
9 | 9 |
install:
|
10 | 10 |
@for i in $(SUBDIRS); do make -C $$i DESTDIR=$(DESTDIR) install; done
|
|
12 | 12 |
alsa-dist:
|
13 | 13 |
@echo $(VERSION) >> $(TOP)/version
|
14 | 14 |
@mkdir -p $(TOP)/distdir
|
15 | |
@for i in $(SUBDIRS); do cd $(TOP)/$$i; ./cvscompile $(CVSCOMPILE_ARGS); cd ..; make -C $$i alsa-dist; done
|
|
15 |
@for i in $(SUBDIRS); do cd $(TOP)/$$i; ./hgcompile $(HGCOMPILE_ARGS); cd ..; make -C $$i alsa-dist; done
|
16 | 16 |
@mv distdir alsa-tools-$(VERSION)
|
17 | 17 |
@tar --create --verbose --file=- alsa-tools-$(VERSION) | bzip2 -c -9 > alsa-tools-$(VERSION).tar.bz2
|
18 | 18 |
@mv alsa-tools-$(VERSION) distdir
|
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
aclocal $ACLOCAL_FLAGS
|
|
3 |
autoheader
|
|
4 |
automake --add-missing --copy --foreign
|
|
5 |
touch depcomp
|
|
6 |
autoconf
|
|
7 |
./configure $*
|
|
8 |
make
|
2 | 2 |
bin_PROGRAMS = as10k1
|
3 | 3 |
as10k1_SOURCES = as10k1.c parse.c assemble.c macro.c
|
4 | 4 |
noinst_HEADERS = as10k1.h list.h parse.h proto.h types.h
|
5 | |
EXTRA_DIST = cvscompile output.doc examples/Makefile examples/*.asm depcomp
|
|
5 |
EXTRA_DIST = hgcompile output.doc examples/Makefile examples/*.asm depcomp
|
6 | 6 |
AM_CFLAGS = -fno-strict-aliasing
|
7 | 7 |
AUTOMAKE_OPTIONS = foreign
|
8 | 8 |
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
3 |
if test -d /usr/local/share/automake; then
|
|
4 |
AUTOMAKE_DIR=/usr/local/share/automake
|
|
5 |
fi
|
|
6 |
if test -d /usr/share/automake; then
|
|
7 |
AUTOMAKE_DIR="/usr/share/automake"
|
|
8 |
fi
|
|
9 |
fi
|
|
10 |
|
|
11 |
for f in install-sh mkinstalldirs missing; do
|
|
12 |
cp -av $AUTOMAKE_DIR/$f .
|
|
13 |
done
|
|
14 |
|
|
15 |
aclocal $ACLOCAL_FLAGS
|
|
16 |
automake --foreign --add-missing --copy
|
|
17 |
touch depcomp
|
|
18 |
autoconf
|
|
19 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
20 |
echo "CFLAGS=$CFLAGS"
|
|
21 |
echo "./configure $@"
|
|
22 |
./configure $@
|
|
23 |
unset CFLAGS
|
|
24 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
3 |
if test -d /usr/local/share/automake; then
|
|
4 |
AUTOMAKE_DIR=/usr/local/share/automake
|
|
5 |
fi
|
|
6 |
if test -d /usr/share/automake; then
|
|
7 |
AUTOMAKE_DIR="/usr/share/automake"
|
|
8 |
fi
|
|
9 |
fi
|
|
10 |
|
|
11 |
for f in install-sh mkinstalldirs missing; do
|
|
12 |
cp -av $AUTOMAKE_DIR/$f .
|
|
13 |
done
|
|
14 |
|
|
15 |
aclocal $ACLOCAL_FLAGS
|
|
16 |
automake --add-missing --copy
|
|
17 |
touch depcomp
|
|
18 |
autoconf
|
|
19 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
20 |
echo "CFLAGS=$CFLAGS"
|
|
21 |
echo "./configure $@"
|
|
22 |
./configure $@
|
|
23 |
unset CFLAGS
|
|
24 |
make
|
9 | 9 |
make
|
10 | 10 |
su -c 'make install'
|
11 | 11 |
|
12 | |
To build (from CVS):
|
13 | |
./cvscompile
|
|
12 |
To build (from HG):
|
|
13 |
./hgcompile
|
14 | 14 |
su -c 'make install'
|
15 | 15 |
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
3 |
if test -d /usr/local/share/automake; then
|
|
4 |
AUTOMAKE_DIR=/usr/local/share/automake
|
|
5 |
fi
|
|
6 |
if test -d /usr/share/automake; then
|
|
7 |
AUTOMAKE_DIR="/usr/share/automake"
|
|
8 |
fi
|
|
9 |
fi
|
|
10 |
|
|
11 |
for f in install-sh mkinstalldirs missing; do
|
|
12 |
cp -av $AUTOMAKE_DIR/$f .
|
|
13 |
done
|
|
14 |
|
|
15 |
aclocal $ACLOCAL_FLAGS
|
|
16 |
automake --foreign --add-missing --copy
|
|
17 |
touch depcomp
|
|
18 |
autoconf
|
|
19 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
20 |
echo "CFLAGS=$CFLAGS"
|
|
21 |
echo "./configure $@"
|
|
22 |
./configure $@
|
|
23 |
unset CFLAGS
|
|
24 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
3 |
if test -d /usr/local/share/automake; then
|
|
4 |
AUTOMAKE_DIR=/usr/local/share/automake
|
|
5 |
fi
|
|
6 |
if test -d /usr/share/automake; then
|
|
7 |
AUTOMAKE_DIR="/usr/share/automake"
|
|
8 |
fi
|
|
9 |
fi
|
|
10 |
|
|
11 |
for f in install-sh mkinstalldirs missing; do
|
|
12 |
cp -av $AUTOMAKE_DIR/$f .
|
|
13 |
done
|
|
14 |
|
|
15 |
aclocal $ACLOCAL_FLAGS
|
|
16 |
automake --foreign --add-missing --copy
|
|
17 |
touch depcomp
|
|
18 |
autoconf
|
|
19 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
20 |
echo "CFLAGS=$CFLAGS"
|
|
21 |
echo "./configure $@"
|
|
22 |
./configure $@
|
|
23 |
unset CFLAGS
|
|
24 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
aclocal $ACLOCAL_FLAGS
|
|
3 |
automake --foreign --add-missing
|
|
4 |
autoconf
|
|
5 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
6 |
echo "CFLAGS=$CFLAGS"
|
|
7 |
echo "./configure $@"
|
|
8 |
./configure $@
|
|
9 |
unset CFLAGS
|
|
10 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
3 |
if test -d /usr/local/share/automake; then
|
|
4 |
AUTOMAKE_DIR=/usr/local/share/automake
|
|
5 |
fi
|
|
6 |
if test -d /usr/share/automake; then
|
|
7 |
AUTOMAKE_DIR="/usr/share/automake"
|
|
8 |
fi
|
|
9 |
fi
|
|
10 |
|
|
11 |
for f in install-sh mkinstalldirs missing; do
|
|
12 |
cp -av $AUTOMAKE_DIR/$f .
|
|
13 |
done
|
|
14 |
|
|
15 |
aclocal $ACLOCAL_FLAGS
|
|
16 |
automake --add-missing --copy
|
|
17 |
touch depcomp
|
|
18 |
autoconf
|
|
19 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
20 |
echo "CFLAGS=$CFLAGS"
|
|
21 |
echo "./configure $@"
|
|
22 |
./configure $@
|
|
23 |
unset CFLAGS
|
|
24 |
make
|
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
make HGCOMPILE_ARGS="$*"
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
autoreconf -fi
|
|
3 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
4 |
echo "CFLAGS=$CFLAGS"
|
|
5 |
echo "./configure $@"
|
|
6 |
./configure $@
|
|
7 |
unset CFLAGS
|
|
8 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
aclocal $ACLOCAL_FLAGS
|
|
3 |
automake --foreign --add-missing
|
|
4 |
autoconf
|
|
5 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
6 |
echo "CFLAGS=$CFLAGS"
|
|
7 |
echo "./configure $@"
|
|
8 |
./configure $@
|
|
9 |
unset CFLAGS
|
|
10 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
aclocal $ACLOCAL_FLAGS
|
|
3 |
automake --foreign --add-missing
|
|
4 |
autoconf
|
|
5 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
6 |
echo "CFLAGS=$CFLAGS"
|
|
7 |
echo "./configure $@"
|
|
8 |
./configure $@
|
|
9 |
unset CFLAGS
|
|
10 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
autoreconf -fi
|
|
3 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
4 |
echo "CFLAGS=$CFLAGS"
|
|
5 |
echo "./configure $@"
|
|
6 |
./configure $@
|
|
7 |
unset CFLAGS
|
|
8 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
3 |
if test -d /usr/local/share/automake; then
|
|
4 |
AUTOMAKE_DIR=/usr/local/share/automake
|
|
5 |
fi
|
|
6 |
if test -d /usr/share/automake; then
|
|
7 |
AUTOMAKE_DIR="/usr/share/automake"
|
|
8 |
fi
|
|
9 |
fi
|
|
10 |
|
|
11 |
for f in install-sh mkinstalldirs missing; do
|
|
12 |
cp -av $AUTOMAKE_DIR/$f .
|
|
13 |
done
|
|
14 |
|
|
15 |
aclocal $ACLOCAL_FLAGS
|
|
16 |
automake --foreign --add-missing --copy
|
|
17 |
touch depcomp
|
|
18 |
autoconf
|
|
19 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
20 |
echo "CFLAGS=$CFLAGS"
|
|
21 |
echo "./configure $@"
|
|
22 |
./configure $@
|
|
23 |
unset CFLAGS
|
|
24 |
make
|
3 | 3 |
2. compile with:
|
4 | 4 |
'./configure; make'
|
5 | 5 |
or
|
6 | |
'./cvscompile'
|
|
6 |
'./hgcompile'
|
7 | 7 |
3. install with:
|
8 | 8 |
'make install'
|
9 | 9 |
4. read cspctl.1 manpage:
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
3 |
if test -d /usr/local/share/automake; then
|
|
4 |
AUTOMAKE_DIR=/usr/local/share/automake
|
|
5 |
fi
|
|
6 |
if test -d /usr/share/automake; then
|
|
7 |
AUTOMAKE_DIR="/usr/share/automake"
|
|
8 |
fi
|
|
9 |
fi
|
|
10 |
|
|
11 |
for f in install-sh mkinstalldirs missing; do
|
|
12 |
cp -av $AUTOMAKE_DIR/$f .
|
|
13 |
done
|
|
14 |
|
|
15 |
aclocal $ACLOCAL_FLAGS
|
|
16 |
automake --foreign --add-missing --copy
|
|
17 |
touch depcomp
|
|
18 |
autoconf
|
|
19 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
20 |
echo "CFLAGS=$CFLAGS"
|
|
21 |
echo "./configure $@"
|
|
22 |
./configure $@
|
|
23 |
unset CFLAGS
|
|
24 |
make
|
0 | 0 |
SUBDIRS = sbiload
|
1 | 1 |
|
2 | 2 |
all:
|
3 | |
@for i in $(SUBDIRS); do cd $$i; ./cvscompile $(CVSCOMPILE_ARGS); cd ..; $(MAKE) -C $$i; done
|
|
3 |
@for i in $(SUBDIRS); do cd $$i; ./hgcompile $(HGCOMPILE_ARGS); cd ..; $(MAKE) -C $$i; done
|
4 | 4 |
|
5 | 5 |
install:
|
6 | 6 |
@for i in $(SUBDIRS); do $(MAKE) -C $$i DESTDIR=$(DESTDIR) install; done
|
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
make HGCOMPILE_ARGS="$*"
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
3 |
if test -d /usr/local/share/automake; then
|
|
4 |
AUTOMAKE_DIR=/usr/local/share/automake
|
|
5 |
fi
|
|
6 |
if test -d /usr/share/automake; then
|
|
7 |
AUTOMAKE_DIR="/usr/share/automake"
|
|
8 |
fi
|
|
9 |
fi
|
|
10 |
|
|
11 |
for f in install-sh mkinstalldirs missing; do
|
|
12 |
cp -av $AUTOMAKE_DIR/$f .
|
|
13 |
done
|
|
14 |
|
|
15 |
aclocal $ACLOCAL_FLAGS
|
|
16 |
automake --foreign --add-missing --copy
|
|
17 |
touch depcomp
|
|
18 |
autoconf
|
|
19 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
20 |
echo "CFLAGS=$CFLAGS"
|
|
21 |
echo "./configure $@"
|
|
22 |
./configure $@
|
|
23 |
unset CFLAGS
|
|
24 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
3 |
if test -d /usr/local/share/automake; then
|
|
4 |
AUTOMAKE_DIR=/usr/local/share/automake
|
|
5 |
fi
|
|
6 |
if test -d /usr/share/automake; then
|
|
7 |
AUTOMAKE_DIR="/usr/share/automake"
|
|
8 |
fi
|
|
9 |
fi
|
|
10 |
|
|
11 |
for f in install-sh mkinstalldirs missing; do
|
|
12 |
cp -av $AUTOMAKE_DIR/$f .
|
|
13 |
done
|
|
14 |
|
|
15 |
aclocal $ACLOCAL_FLAGS
|
|
16 |
automake --foreign --add-missing
|
|
17 |
autoconf
|
|
18 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
19 |
echo "CFLAGS=$CFLAGS"
|
|
20 |
echo "./configure $@"
|
|
21 |
./configure $@
|
|
22 |
unset CFLAGS
|
|
23 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
aclocal $ACLOCAL_FLAGS
|
|
3 |
automake --foreign --add-missing
|
|
4 |
autoconf
|
|
5 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
6 |
echo "CFLAGS=$CFLAGS"
|
|
7 |
echo "./configure $@"
|
|
8 |
./configure $@
|
|
9 |
unset CFLAGS
|
|
10 |
make
|
12 | 12 |
Installing
|
13 | 13 |
----------
|
14 | 14 |
|
15 | |
For Installing from CVS do:
|
16 | |
./cvscompile
|
|
15 |
For Installing from HG do:
|
|
16 |
./hgcompile
|
17 | 17 |
make install
|
18 | 18 |
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
aclocal $ACLOCAL_FLAGS
|
|
3 |
automake --foreign --add-missing
|
|
4 |
autoconf
|
|
5 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
6 |
echo "CFLAGS=$CFLAGS"
|
|
7 |
echo "./configure $@"
|
|
8 |
./configure $@
|
|
9 |
unset CFLAGS
|
|
10 |
make
|
|
0 |
#!/bin/bash
|
|
1 |
|
|
2 |
aclocal $ACLOCAL_FLAGS
|
|
3 |
automake --foreign --add-missing
|
|
4 |
autoconf
|
|
5 |
export CFLAGS='-O2 -Wall -pipe -g'
|
|
6 |
echo "CFLAGS=$CFLAGS"
|
|
7 |
echo "./configure $@"
|
|
8 |
./configure $@
|
|
9 |
unset CFLAGS
|
|
10 |
make
|