Add hgcompile scripts

Added hgcompile scripts.
This commit is contained in:
Takashi Iwai 2006-05-12 15:36:52 +02:00
parent ec25bb1219
commit e13da40b0e
27 changed files with 333 additions and 10 deletions

View file

@ -5,7 +5,7 @@ SUBDIRS = ac3dec as10k1 envy24control hdsploader hdspconf hdspmixer \
usx2yloader vxloader echomixer ld10k1 qlo10k1 usx2yloader vxloader echomixer ld10k1 qlo10k1
all: 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: install:
@for i in $(SUBDIRS); do make -C $$i DESTDIR=$(DESTDIR) install; done @for i in $(SUBDIRS); do make -C $$i DESTDIR=$(DESTDIR) install; done
@ -13,7 +13,7 @@ install:
alsa-dist: alsa-dist:
@echo $(VERSION) >> $(TOP)/version @echo $(VERSION) >> $(TOP)/version
@mkdir -p $(TOP)/distdir @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) @mv distdir alsa-tools-$(VERSION)
@tar --create --verbose --file=- alsa-tools-$(VERSION) | bzip2 -c -9 > alsa-tools-$(VERSION).tar.bz2 @tar --create --verbose --file=- alsa-tools-$(VERSION) | bzip2 -c -9 > alsa-tools-$(VERSION).tar.bz2
@mv alsa-tools-$(VERSION) distdir @mv alsa-tools-$(VERSION) distdir

9
ac3dec/hgcompile Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
aclocal $ACLOCAL_FLAGS
autoheader
automake --add-missing --copy --foreign
touch depcomp
autoconf
./configure $*
make

View file

@ -3,7 +3,7 @@ SUBDIRS = examples
bin_PROGRAMS = as10k1 bin_PROGRAMS = as10k1
as10k1_SOURCES = as10k1.c parse.c assemble.c macro.c as10k1_SOURCES = as10k1.c parse.c assemble.c macro.c
noinst_HEADERS = as10k1.h list.h parse.h proto.h types.h 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 AM_CFLAGS = -fno-strict-aliasing
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign

25
as10k1/hgcompile Executable file
View file

@ -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

25
echomixer/hgcompile Executable file
View file

@ -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

View file

@ -10,7 +10,7 @@ If you use GTK+-1.2, pass --with-gtk2=no
make make
su -c 'make install' su -c 'make install'
To build (from CVS): To build (from HG):
./cvscompile ./hgcompile
su -c 'make install' su -c 'make install'

25
envy24control/hgcompile Executable file
View file

@ -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

25
hdspconf/hgcompile Executable file
View file

@ -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

11
hdsploader/hgcompile Executable file
View file

@ -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

25
hdspmixer/hgcompile Executable file
View file

@ -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

3
hgcompile Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
make HGCOMPILE_ARGS="$*"

9
ld10k1/hgcompile Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
autoreconf -fi
export CFLAGS='-O2 -Wall -pipe -g'
echo "CFLAGS=$CFLAGS"
echo "./configure $@"
./configure $@
unset CFLAGS
make

11
mixartloader/hgcompile Executable file
View file

@ -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

11
pcxhrloader/hgcompile Executable file
View file

@ -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

9
qlo10k1/hgcompile Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
autoreconf -fi
export CFLAGS='-O2 -Wall -pipe -g'
echo "CFLAGS=$CFLAGS"
echo "./configure $@"
./configure $@
unset CFLAGS
make

View file

@ -38,7 +38,7 @@ REQUIRED:
INSTALL: INSTALL:
-------- --------
./cvscompile ./hgcompile
or or
./configure ./configure

25
rmedigicontrol/hgcompile Executable file
View file

@ -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

View file

@ -4,7 +4,7 @@ TO COMPILE:
2. compile with: 2. compile with:
'./configure; make' './configure; make'
or or
'./cvscompile' './hgcompile'
3. install with: 3. install with:
'make install' 'make install'
4. read cspctl.1 manpage: 4. read cspctl.1 manpage:

25
sb16_csp/hgcompile Executable file
View file

@ -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

View file

@ -1,7 +1,7 @@
SUBDIRS = sbiload SUBDIRS = sbiload
all: 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: install:
@for i in $(SUBDIRS); do $(MAKE) -C $$i DESTDIR=$(DESTDIR) install; done @for i in $(SUBDIRS); do $(MAKE) -C $$i DESTDIR=$(DESTDIR) install; done

3
seq/hgcompile Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
make HGCOMPILE_ARGS="$*"

25
seq/sbiload/hgcompile Executable file
View file

@ -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

24
sscape_ctl/hgcompile Executable file
View file

@ -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

11
us428control/hgcompile Executable file
View file

@ -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

View file

@ -13,7 +13,7 @@ Prerequisites
Installing Installing
---------- ----------
For Installing from CVS do: For Installing from HG do:
./cvscompile ./hgcompile
make install make install

11
usx2yloader/hgcompile Executable file
View file

@ -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

11
vxloader/hgcompile Executable file
View file

@ -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