mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-02-05 04:06:31 -05:00
Add hgcompile scripts
Added hgcompile scripts.
This commit is contained in:
parent
ec25bb1219
commit
e13da40b0e
27 changed files with 333 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
3
seq/hgcompile
Executable file
3
seq/hgcompile
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
make HGCOMPILE_ARGS="$*"
|
||||
25
seq/sbiload/hgcompile
Executable file
25
seq/sbiload/hgcompile
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue