diff options
author | Chris Cannam <cannam@all-day-breakfast.com> | 1998-11-18 20:42:09 +0000 |
---|---|---|
committer | Chris Cannam <cannam@all-day-breakfast.com> | 1998-11-18 20:42:09 +0000 |
commit | 96f35a05efc5c938f18bb552c36fcd4eba32463d (patch) | |
tree | b3cf93b0c2b61e957fb75f8b98420bfd3b7aed35 /utils | |
parent | 9e85a4cf219a8048bafd10277fbc2cd5ff1edea1 (diff) |
Switch to automake and libtool
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Makefile | 10 | ||||
-rw-r--r-- | utils/Makefile.am | 4 | ||||
-rw-r--r-- | utils/Makefile.in | 164 | ||||
-rw-r--r-- | utils/alsa-lib.spec.in | 3 | ||||
-rw-r--r-- | utils/buildrpm | 6 |
5 files changed, 172 insertions, 15 deletions
diff --git a/utils/Makefile b/utils/Makefile deleted file mode 100644 index d9e97658..00000000 --- a/utils/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# -# Makefile for ALSA library -# Copyright (c) 1994-98 by Jaroslav Kysela <perex@jcu.cz> -# - -include ../Makefile.conf - -clean: - rm -f core .depend *.o *.orig *~ - diff --git a/utils/Makefile.am b/utils/Makefile.am new file mode 100644 index 00000000..de052686 --- /dev/null +++ b/utils/Makefile.am @@ -0,0 +1,4 @@ +rpm: buildrpm alsa-lib.spec + VERSION=$(VERSION) $(srcdir)/buildrpm + +INCLUDES=-I$(top_srcdir)/include diff --git a/utils/Makefile.in b/utils/Makefile.in new file mode 100644 index 00000000..f6a6b798 --- /dev/null +++ b/utils/Makefile.in @@ -0,0 +1,164 @@ +# Makefile.in generated automatically by automake 1.3b from Makefile.am + +# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + +SHELL = /bin/sh + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = .. + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = @host_alias@ +host_triplet = @host@ +ALSA_CFLAGS = @ALSA_CFLAGS@ +ALSA_LIBS = @ALSA_LIBS@ +CC = @CC@ +LD = @LD@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +MAKEINFO = @MAKEINFO@ +NM = @NM@ +PACKAGE = @PACKAGE@ +RANLIB = @RANLIB@ +VERSION = @VERSION@ + +INCLUDES=-I$(top_srcdir)/include +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../include/config.h +CONFIG_CLEAN_FILES = alsa-lib.spec +DIST_COMMON = Makefile.am Makefile.in alsa-lib.spec.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP = --best +all: Makefile + +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps utils/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + +alsa-lib.spec: $(top_builddir)/config.status alsa-lib.spec.in + cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = utils + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file; \ + done +info: +dvi: +check: all +installcheck: +install-exec: + @$(NORMAL_INSTALL) + +install-data: + @$(NORMAL_INSTALL) + +install: install-exec install-data all + @: + +uninstall: + +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install +installdirs: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean: mostlyclean-generic + +clean: clean-generic mostlyclean + +distclean: distclean-generic clean + -rm -f config.status + -rm -f libtool + +maintainer-clean: maintainer-clean-generic distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +.PHONY: tags distdir info dvi installcheck install-exec install-data \ +install uninstall all installdirs mostlyclean-generic distclean-generic \ +clean-generic maintainer-clean-generic clean mostlyclean distclean \ +maintainer-clean + + +rpm: buildrpm alsa-lib.spec + VERSION=$(VERSION) $(srcdir)/buildrpm + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/utils/alsa-lib.spec.in b/utils/alsa-lib.spec.in index 8989a987..8ff7f66e 100644 --- a/utils/alsa-lib.spec.in +++ b/utils/alsa-lib.spec.in @@ -74,6 +74,5 @@ rm -rf $RPM_BUILD_ROOT %doc doc/*.sgml %doc doc/*.txt -%{prefix}/usr/include/sys/asoundlib.h +%{prefix}/usr/include/sys/soundlib.h %{prefix}/usr/lib/lib* -/usr/share/aclocal/alsa-lib.m4 diff --git a/utils/buildrpm b/utils/buildrpm index 36230e22..aaf88659 100644 --- a/utils/buildrpm +++ b/utils/buildrpm @@ -1,15 +1,15 @@ #!/bin/bash source=. -version=`cat $source/../version` -package=$source/../../alsa-lib-$version.tar.gz +version=$VERSION +package=$source/../alsa-lib-$version.tar.gz if [ ! -r $package ]; then echo "Error: wrong package: $package" exit 1 fi -make -C .. pack +make -C .. dist cp -fv $package /usr/src/redhat/SOURCES |