]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Add hgcompile scripts
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 May 2006 13:36:52 +0000 (15:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 May 2006 13:36:52 +0000 (15:36 +0200)
Added hgcompile scripts.

27 files changed:
Makefile
ac3dec/hgcompile [new file with mode: 0755]
as10k1/Makefile.am
as10k1/hgcompile [new file with mode: 0755]
echomixer/hgcompile [new file with mode: 0755]
envy24control/README
envy24control/hgcompile [new file with mode: 0755]
hdspconf/hgcompile [new file with mode: 0755]
hdsploader/hgcompile [new file with mode: 0755]
hdspmixer/hgcompile [new file with mode: 0755]
hgcompile [new file with mode: 0755]
ld10k1/hgcompile [new file with mode: 0755]
mixartloader/hgcompile [new file with mode: 0755]
pcxhrloader/hgcompile [new file with mode: 0755]
qlo10k1/hgcompile [new file with mode: 0755]
rmedigicontrol/README
rmedigicontrol/hgcompile [new file with mode: 0755]
sb16_csp/README
sb16_csp/hgcompile [new file with mode: 0755]
seq/Makefile
seq/hgcompile [new file with mode: 0755]
seq/sbiload/hgcompile [new file with mode: 0755]
sscape_ctl/hgcompile [new file with mode: 0755]
us428control/hgcompile [new file with mode: 0755]
usx2yloader/INSTALL
usx2yloader/hgcompile [new file with mode: 0755]
vxloader/hgcompile [new file with mode: 0755]

index 633a57829b1a7845dde4978e6ae163a29be5215d..68bab2b3569dada49eff252280bbbe90c05fb3b6 100644 (file)
--- 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 (executable)
index 0000000..6c3452b
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+aclocal $ACLOCAL_FLAGS
+autoheader
+automake --add-missing --copy --foreign
+touch depcomp
+autoconf
+./configure $*
+make
index 501c2b8777b46978adf2922cf80cfe5e9a0430c1..ca6b6563eaac907ada40ebd549be2a3e42af354f 100644 (file)
@@ -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 (executable)
index 0000000..e8a1c45
--- /dev/null
@@ -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 (executable)
index 0000000..3a5537d
--- /dev/null
@@ -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
index 1337d3f2dcb4bd6e3bc42dd3d50b6f85304fba32..debd1ce8eda86ce232e945f419d5076277beb47c 100644 (file)
@@ -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 (executable)
index 0000000..e8a1c45
--- /dev/null
@@ -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 (executable)
index 0000000..e8a1c45
--- /dev/null
@@ -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 (executable)
index 0000000..5daa701
--- /dev/null
@@ -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 (executable)
index 0000000..3a5537d
--- /dev/null
@@ -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 (executable)
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 (executable)
index 0000000..5ddd1ec
--- /dev/null
@@ -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 (executable)
index 0000000..5daa701
--- /dev/null
@@ -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 (executable)
index 0000000..5daa701
--- /dev/null
@@ -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 (executable)
index 0000000..5ddd1ec
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+autoreconf -fi
+export CFLAGS='-O2 -Wall -pipe -g'
+echo "CFLAGS=$CFLAGS"
+echo "./configure $@"
+./configure $@
+unset CFLAGS
+make
index 684d52b9d519b437f31f5a8aae87f7c4e2bfdc3e..cda443bab24b1d146d60f553fb11532a72dbb87e 100644 (file)
@@ -38,7 +38,7 @@ REQUIRED:
 INSTALL:
 --------
 
-       ./cvscompile
+       ./hgcompile
 or
        ./configure
 
diff --git a/rmedigicontrol/hgcompile b/rmedigicontrol/hgcompile
new file mode 100755 (executable)
index 0000000..e8a1c45
--- /dev/null
@@ -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
index 3b28ab5563f3f3c338ba0d1d2c53289f675b3472..b1c6cae4a33e237b9dcd609c166ee7ed0c9549a5 100644 (file)
@@ -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 (executable)
index 0000000..e8a1c45
--- /dev/null
@@ -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
index 20797005fa15f27f41ef694b52a95fc5fe5fe3f1..78b883d46034d0a5d8a288232db207c1541b9c0e 100644 (file)
@@ -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 (executable)
index 0000000..69b7df7
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+make HGCOMPILE_ARGS="$*"
diff --git a/seq/sbiload/hgcompile b/seq/sbiload/hgcompile
new file mode 100755 (executable)
index 0000000..e8a1c45
--- /dev/null
@@ -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 (executable)
index 0000000..01e8151
--- /dev/null
@@ -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 (executable)
index 0000000..5daa701
--- /dev/null
@@ -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
index 9a87086a7f3b4d1e6d4685da8caabfd6ff7a0791..4ba687076884d539c17694f91042f861248a212d 100644 (file)
@@ -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 (executable)
index 0000000..5daa701
--- /dev/null
@@ -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 (executable)
index 0000000..5daa701
--- /dev/null
@@ -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