Codebase list alsa-tools / e13da40
Add hgcompile scripts Added hgcompile scripts. Takashi Iwai 18 years ago
27 changed file(s) with 333 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
44 usx2yloader vxloader echomixer ld10k1 qlo10k1
55
66 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
88
99 install:
1010 @for i in $(SUBDIRS); do make -C $$i DESTDIR=$(DESTDIR) install; done
1212 alsa-dist:
1313 @echo $(VERSION) >> $(TOP)/version
1414 @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
1616 @mv distdir alsa-tools-$(VERSION)
1717 @tar --create --verbose --file=- alsa-tools-$(VERSION) | bzip2 -c -9 > alsa-tools-$(VERSION).tar.bz2
1818 @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
22 bin_PROGRAMS = as10k1
33 as10k1_SOURCES = as10k1.c parse.c assemble.c macro.c
44 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
66 AM_CFLAGS = -fno-strict-aliasing
77 AUTOMAKE_OPTIONS = foreign
88
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
99 make
1010 su -c 'make install'
1111
12 To build (from CVS):
13 ./cvscompile
12 To build (from HG):
13 ./hgcompile
1414 su -c 'make install'
1515
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
3737 INSTALL:
3838 --------
3939
40 ./cvscompile
40 ./hgcompile
4141 or
4242 ./configure
4343
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
33 2. compile with:
44 './configure; make'
55 or
6 './cvscompile'
6 './hgcompile'
77 3. install with:
88 'make install'
99 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
00 SUBDIRS = sbiload
11
22 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
44
55 install:
66 @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
1212 Installing
1313 ----------
1414
15 For Installing from CVS do:
16 ./cvscompile
15 For Installing from HG do:
16 ./hgcompile
1717 make install
1818
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