mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-22 06:59:56 -05:00
Initial revision
This commit is contained in:
commit
5abac67626
47 changed files with 7915 additions and 0 deletions
54
Makefile
Normal file
54
Makefile
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
#
|
||||
# Makefile for ALSA library
|
||||
# Copyright (c) 1994-98 by Jaroslav Kysela <perex@jcu.cz>
|
||||
#
|
||||
|
||||
ifeq (Makefile.conf,$(wildcard Makefile.conf))
|
||||
include Makefile.conf
|
||||
else
|
||||
dummy:
|
||||
@echo
|
||||
@echo "Please, run configure script as first..."
|
||||
@echo
|
||||
endif
|
||||
|
||||
|
||||
all: include/soundlib.h
|
||||
$(MAKE) -C src
|
||||
$(MAKE) -C doc
|
||||
@echo
|
||||
@echo "ALSA library were sucessfully compiled."
|
||||
@echo
|
||||
|
||||
include/soundlib.h: include/header.h include/version.h include/error.h include/footer.h \
|
||||
include/control.h include/mixer.h include/pcm.h
|
||||
cat include/header.h include/version.h include/error.h \
|
||||
include/control.h include/mixer.h \
|
||||
include/pcm.h \
|
||||
include/footer.h > include/soundlib.h
|
||||
|
||||
install: all
|
||||
$(INSTALL) -m 644 -o root -g root include/soundlib.h ${includedir}/sys
|
||||
$(INSTALL) -m 644 -o root -g root lib/libsound.a ${libdir}
|
||||
$(LN_S) -f libsound.so.${SND_LIB_VERSION} ${libdir}/libsound.so
|
||||
$(LN_S) -f libsound.so.${SND_LIB_VERSION} ${libdir}/libsound.so.${SND_LIB_MAJOR}
|
||||
$(INSTALL) -m 644 -o root -g root lib/libsound.so.${SND_LIB_VERSION} ${libdir}
|
||||
/sbin/ldconfig
|
||||
|
||||
clean:
|
||||
$(MAKE) -C include clean
|
||||
$(MAKE) -C src clean
|
||||
$(MAKE) -C test clean
|
||||
$(MAKE) -C doc clean
|
||||
$(MAKE) -C utils clean
|
||||
rm -f core .depend *.o *.orig *~
|
||||
rm -f `find . -name "out.txt"`
|
||||
|
||||
pack: clean
|
||||
rm -f config.cache config.log config.status Makefile.conf
|
||||
chown -R root.root ../alsa-lib
|
||||
tar cvz -C .. -f ../alsa-lib-$(SND_LIB_VERSION).tar.gz alsa-lib
|
||||
|
||||
publish: pack
|
||||
cat ../alsa-lib-$(SND_LIB_VERSION).tar.gz | \
|
||||
ssh -l root zarquon.jcu.cz /home/alsa/publishlib alsa-lib-$(SND_LIB_VERSION).tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue