From e13da40b0e8956db1787d292bb82561bc214d2aa Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 12 May 2006 15:36:52 +0200 Subject: [PATCH] Add hgcompile scripts Added hgcompile scripts. --- Makefile | 4 ++-- ac3dec/hgcompile | 9 +++++++++ as10k1/Makefile.am | 2 +- as10k1/hgcompile | 25 +++++++++++++++++++++++++ echomixer/hgcompile | 25 +++++++++++++++++++++++++ envy24control/README | 4 ++-- envy24control/hgcompile | 25 +++++++++++++++++++++++++ hdspconf/hgcompile | 25 +++++++++++++++++++++++++ hdsploader/hgcompile | 11 +++++++++++ hdspmixer/hgcompile | 25 +++++++++++++++++++++++++ hgcompile | 3 +++ ld10k1/hgcompile | 9 +++++++++ mixartloader/hgcompile | 11 +++++++++++ pcxhrloader/hgcompile | 11 +++++++++++ qlo10k1/hgcompile | 9 +++++++++ rmedigicontrol/README | 2 +- rmedigicontrol/hgcompile | 25 +++++++++++++++++++++++++ sb16_csp/README | 2 +- sb16_csp/hgcompile | 25 +++++++++++++++++++++++++ seq/Makefile | 2 +- seq/hgcompile | 3 +++ seq/sbiload/hgcompile | 25 +++++++++++++++++++++++++ sscape_ctl/hgcompile | 24 ++++++++++++++++++++++++ us428control/hgcompile | 11 +++++++++++ usx2yloader/INSTALL | 4 ++-- usx2yloader/hgcompile | 11 +++++++++++ vxloader/hgcompile | 11 +++++++++++ 27 files changed, 333 insertions(+), 10 deletions(-) create mode 100755 ac3dec/hgcompile create mode 100755 as10k1/hgcompile create mode 100755 echomixer/hgcompile create mode 100755 envy24control/hgcompile create mode 100755 hdspconf/hgcompile create mode 100755 hdsploader/hgcompile create mode 100755 hdspmixer/hgcompile create mode 100755 hgcompile create mode 100755 ld10k1/hgcompile create mode 100755 mixartloader/hgcompile create mode 100755 pcxhrloader/hgcompile create mode 100755 qlo10k1/hgcompile create mode 100755 rmedigicontrol/hgcompile create mode 100755 sb16_csp/hgcompile create mode 100755 seq/hgcompile create mode 100755 seq/sbiload/hgcompile create mode 100755 sscape_ctl/hgcompile create mode 100755 us428control/hgcompile create mode 100755 usx2yloader/hgcompile create mode 100755 vxloader/hgcompile diff --git a/Makefile b/Makefile index 633a578..68bab2b 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SUBDIRS = ac3dec as10k1 envy24control hdsploader hdspconf hdspmixer \ usx2yloader vxloader echomixer ld10k1 qlo10k1 all: - @for i in $(SUBDIRS); do cd $(TOP)/$$i; ./cvscompile $(CVSCOMPILE_ARGS); cd ..; make -C $$i; done + @for i in $(SUBDIRS); do cd $(TOP)/$$i; ./hgcompile $(HGCOMPILE_ARGS); cd ..; make -C $$i; done install: @for i in $(SUBDIRS); do make -C $$i DESTDIR=$(DESTDIR) install; done @@ -13,7 +13,7 @@ install: alsa-dist: @echo $(VERSION) >> $(TOP)/version @mkdir -p $(TOP)/distdir - @for i in $(SUBDIRS); do cd $(TOP)/$$i; ./cvscompile $(CVSCOMPILE_ARGS); cd ..; make -C $$i alsa-dist; done + @for i in $(SUBDIRS); do cd $(TOP)/$$i; ./hgcompile $(HGCOMPILE_ARGS); cd ..; make -C $$i alsa-dist; done @mv distdir alsa-tools-$(VERSION) @tar --create --verbose --file=- alsa-tools-$(VERSION) | bzip2 -c -9 > alsa-tools-$(VERSION).tar.bz2 @mv alsa-tools-$(VERSION) distdir diff --git a/ac3dec/hgcompile b/ac3dec/hgcompile new file mode 100755 index 0000000..6c3452b --- /dev/null +++ b/ac3dec/hgcompile @@ -0,0 +1,9 @@ +#!/bin/sh + +aclocal $ACLOCAL_FLAGS +autoheader +automake --add-missing --copy --foreign +touch depcomp +autoconf +./configure $* +make diff --git a/as10k1/Makefile.am b/as10k1/Makefile.am index 501c2b8..ca6b656 100644 --- a/as10k1/Makefile.am +++ b/as10k1/Makefile.am @@ -3,7 +3,7 @@ SUBDIRS = examples bin_PROGRAMS = as10k1 as10k1_SOURCES = as10k1.c parse.c assemble.c macro.c noinst_HEADERS = as10k1.h list.h parse.h proto.h types.h -EXTRA_DIST = cvscompile output.doc examples/Makefile examples/*.asm depcomp +EXTRA_DIST = hgcompile output.doc examples/Makefile examples/*.asm depcomp AM_CFLAGS = -fno-strict-aliasing AUTOMAKE_OPTIONS = foreign diff --git a/as10k1/hgcompile b/as10k1/hgcompile new file mode 100755 index 0000000..e8a1c45 --- /dev/null +++ b/as10k1/hgcompile @@ -0,0 +1,25 @@ +#!/bin/bash + +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing --copy +touch depcomp +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/echomixer/hgcompile b/echomixer/hgcompile new file mode 100755 index 0000000..3a5537d --- /dev/null +++ b/echomixer/hgcompile @@ -0,0 +1,25 @@ +#!/bin/bash + +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done + +aclocal $ACLOCAL_FLAGS +automake --add-missing --copy +touch depcomp +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/envy24control/README b/envy24control/README index 1337d3f..debd1ce 100644 --- a/envy24control/README +++ b/envy24control/README @@ -10,7 +10,7 @@ If you use GTK+-1.2, pass --with-gtk2=no make su -c 'make install' -To build (from CVS): - ./cvscompile +To build (from HG): + ./hgcompile su -c 'make install' diff --git a/envy24control/hgcompile b/envy24control/hgcompile new file mode 100755 index 0000000..e8a1c45 --- /dev/null +++ b/envy24control/hgcompile @@ -0,0 +1,25 @@ +#!/bin/bash + +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing --copy +touch depcomp +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/hdspconf/hgcompile b/hdspconf/hgcompile new file mode 100755 index 0000000..e8a1c45 --- /dev/null +++ b/hdspconf/hgcompile @@ -0,0 +1,25 @@ +#!/bin/bash + +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing --copy +touch depcomp +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/hdsploader/hgcompile b/hdsploader/hgcompile new file mode 100755 index 0000000..5daa701 --- /dev/null +++ b/hdsploader/hgcompile @@ -0,0 +1,11 @@ +#!/bin/bash + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/hdspmixer/hgcompile b/hdspmixer/hgcompile new file mode 100755 index 0000000..3a5537d --- /dev/null +++ b/hdspmixer/hgcompile @@ -0,0 +1,25 @@ +#!/bin/bash + +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done + +aclocal $ACLOCAL_FLAGS +automake --add-missing --copy +touch depcomp +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/hgcompile b/hgcompile new file mode 100755 index 0000000..69b7df7 --- /dev/null +++ b/hgcompile @@ -0,0 +1,3 @@ +#!/bin/sh + +make HGCOMPILE_ARGS="$*" diff --git a/ld10k1/hgcompile b/ld10k1/hgcompile new file mode 100755 index 0000000..5ddd1ec --- /dev/null +++ b/ld10k1/hgcompile @@ -0,0 +1,9 @@ +#!/bin/bash + +autoreconf -fi +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/mixartloader/hgcompile b/mixartloader/hgcompile new file mode 100755 index 0000000..5daa701 --- /dev/null +++ b/mixartloader/hgcompile @@ -0,0 +1,11 @@ +#!/bin/bash + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/pcxhrloader/hgcompile b/pcxhrloader/hgcompile new file mode 100755 index 0000000..5daa701 --- /dev/null +++ b/pcxhrloader/hgcompile @@ -0,0 +1,11 @@ +#!/bin/bash + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/qlo10k1/hgcompile b/qlo10k1/hgcompile new file mode 100755 index 0000000..5ddd1ec --- /dev/null +++ b/qlo10k1/hgcompile @@ -0,0 +1,9 @@ +#!/bin/bash + +autoreconf -fi +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/rmedigicontrol/README b/rmedigicontrol/README index 684d52b..cda443b 100644 --- a/rmedigicontrol/README +++ b/rmedigicontrol/README @@ -38,7 +38,7 @@ REQUIRED: INSTALL: -------- - ./cvscompile + ./hgcompile or ./configure diff --git a/rmedigicontrol/hgcompile b/rmedigicontrol/hgcompile new file mode 100755 index 0000000..e8a1c45 --- /dev/null +++ b/rmedigicontrol/hgcompile @@ -0,0 +1,25 @@ +#!/bin/bash + +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing --copy +touch depcomp +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/sb16_csp/README b/sb16_csp/README index 3b28ab5..b1c6cae 100644 --- a/sb16_csp/README +++ b/sb16_csp/README @@ -4,7 +4,7 @@ TO COMPILE: 2. compile with: './configure; make' or - './cvscompile' + './hgcompile' 3. install with: 'make install' 4. read cspctl.1 manpage: diff --git a/sb16_csp/hgcompile b/sb16_csp/hgcompile new file mode 100755 index 0000000..e8a1c45 --- /dev/null +++ b/sb16_csp/hgcompile @@ -0,0 +1,25 @@ +#!/bin/bash + +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing --copy +touch depcomp +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/seq/Makefile b/seq/Makefile index 2079700..78b883d 100644 --- a/seq/Makefile +++ b/seq/Makefile @@ -1,7 +1,7 @@ SUBDIRS = sbiload all: - @for i in $(SUBDIRS); do cd $$i; ./cvscompile $(CVSCOMPILE_ARGS); cd ..; $(MAKE) -C $$i; done + @for i in $(SUBDIRS); do cd $$i; ./hgcompile $(HGCOMPILE_ARGS); cd ..; $(MAKE) -C $$i; done install: @for i in $(SUBDIRS); do $(MAKE) -C $$i DESTDIR=$(DESTDIR) install; done diff --git a/seq/hgcompile b/seq/hgcompile new file mode 100755 index 0000000..69b7df7 --- /dev/null +++ b/seq/hgcompile @@ -0,0 +1,3 @@ +#!/bin/sh + +make HGCOMPILE_ARGS="$*" diff --git a/seq/sbiload/hgcompile b/seq/sbiload/hgcompile new file mode 100755 index 0000000..e8a1c45 --- /dev/null +++ b/seq/sbiload/hgcompile @@ -0,0 +1,25 @@ +#!/bin/bash + +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing --copy +touch depcomp +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/sscape_ctl/hgcompile b/sscape_ctl/hgcompile new file mode 100755 index 0000000..01e8151 --- /dev/null +++ b/sscape_ctl/hgcompile @@ -0,0 +1,24 @@ +#!/bin/bash + +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/us428control/hgcompile b/us428control/hgcompile new file mode 100755 index 0000000..5daa701 --- /dev/null +++ b/us428control/hgcompile @@ -0,0 +1,11 @@ +#!/bin/bash + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/usx2yloader/INSTALL b/usx2yloader/INSTALL index 9a87086..4ba6870 100644 --- a/usx2yloader/INSTALL +++ b/usx2yloader/INSTALL @@ -13,7 +13,7 @@ Prerequisites Installing ---------- -For Installing from CVS do: -./cvscompile +For Installing from HG do: +./hgcompile make install diff --git a/usx2yloader/hgcompile b/usx2yloader/hgcompile new file mode 100755 index 0000000..5daa701 --- /dev/null +++ b/usx2yloader/hgcompile @@ -0,0 +1,11 @@ +#!/bin/bash + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make diff --git a/vxloader/hgcompile b/vxloader/hgcompile new file mode 100755 index 0000000..5daa701 --- /dev/null +++ b/vxloader/hgcompile @@ -0,0 +1,11 @@ +#!/bin/bash + +aclocal $ACLOCAL_FLAGS +automake --foreign --add-missing +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ +unset CFLAGS +make -- 2.47.1