changeset 562:5cdadcf74ec3 trunk

[svn] needed requirements for objective-based buildsystem (automake replacement)
author nenolod
date Thu, 02 Feb 2006 13:57:20 -0800
parents 2b9dc862967b
children 0879e7ad85b1
files configure.ac mk/objective.mk mk/rules.mk.in
diffstat 3 files changed, 379 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Feb 01 19:42:23 2006 -0800
+++ b/configure.ac	Thu Feb 02 13:57:20 2006 -0800
@@ -858,6 +858,7 @@
         intl/Makefile
         icons/Makefile
         skin/Makefile
+	mk/rules.mk
 ])
 
 AC_OUTPUT
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mk/objective.mk	Thu Feb 02 13:57:20 2006 -0800
@@ -0,0 +1,53 @@
+include mk/rules.mk
+
+# Shut up GNU make
+.SILENT:
+
+default: all
+all: build
+
+install:
+	$(MAKE) install-prehook
+	@for i in $(OBJECTIVE_DIRECTORIES); do \
+		printf "%10s     %-20s\n" MKDIR $$i; \
+		$(INSTALL) -d -m 755 $(DESTDIR)/$$i; \
+	done
+	@for i in $(OBJECTIVE_LIBS); do \
+		printf "%10s     %-20s\n" INSTALL $$i; \
+		$(INSTALL) $(INSTALL_OVERRIDE) $(DESTDIR)/$(LIBDIR)/$(LIB_SUFFIX)/$$i; \
+	done
+	@for i in $(OBJECTIVE_BINS); do \
+		printf "%10s     %-20s\n" INSTALL $$i; \
+		$(INSTALL) $(INSTALL_OVERRIDE) $(DESTDIR)/$(BINDIR)/$(LIB_SUFFIX)/$$i; \
+	@done
+	$(MAKE) install-posthook
+
+build:
+	$(MAKE) build-prehook
+	@for i in $(SUBDIRS); do \
+		cd $$i; $(MAKE) build; cd .. \
+	done
+	@for i in $(OBJECTIVE_LIBS); do \
+		$(MAKE) $$i; \
+	done
+	@for i in $(OBJECTIVE_BINS); do \
+		$(MAKE) $$i; \
+	done
+	$(MAKE) build-posthook
+
+.c.o:
+	printf "%10s     %-20s\n" CC $$i;
+	$(CC) $(CFLAGS) -c $< -o $@
+
+.cc.o:
+	printf "%10s     %-20s\n" CXX $$i;
+	$(CXX) $(CXXFLAGS) -c $< -o $@
+
+.cpp.o:
+	printf "%10s     %-20s\n" CXX $$i;
+	$(CXX) $(CXXFLAGS) -c $< -o $@
+
+.cxx.o:
+	printf "%10s     %-20s\n" CXX $$i;
+	$(CXX) $(CXXFLAGS) -c $< -o $@
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mk/rules.mk.in	Thu Feb 02 13:57:20 2006 -0800
@@ -0,0 +1,325 @@
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = .
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in $(srcdir)/audacious.1.in \
+	$(srcdir)/audacious.pc.in $(srcdir)/audacious.spec.in \
+	$(srcdir)/config.h.in $(top_srcdir)/configure \
+	$(top_srcdir)/intl/Makefile.in ABOUT-NLS AUTHORS COPYING \
+	ChangeLog INSTALL NEWS compile config.guess config.rpath \
+	config.sub depcomp install-sh ltmain.sh missing mkinstalldirs
+subdir = .
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES = audacious.1 audacious.spec audacious.pc \
+	intl/Makefile
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+	html-recursive info-recursive install-data-recursive \
+	install-exec-recursive install-info-recursive \
+	install-recursive installcheck-recursive installdirs-recursive \
+	pdf-recursive ps-recursive uninstall-info-recursive \
+	uninstall-recursive
+man1dir = $(mandir)/man1
+am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgconfigdir)"
+NROFF = nroff
+MANS = $(man_MANS)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+pkgconfigDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(pkgconfig_DATA)
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+  { test ! -d $(distdir) \
+    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+         && rm -fr $(distdir); }; }
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+ALLOCA = @ALLOCA@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+ARCH_DEFINES = @ARCH_DEFINES@
+ARCH_X86_FALSE = @ARCH_X86_FALSE@
+ARCH_X86_TRUE = @ARCH_X86_TRUE@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BEEP_DEFINES = @BEEP_DEFINES@
+BEEP_PATH = @BEEP_PATH@
+BINIO_CFLAGS = @BINIO_CFLAGS@
+BINIO_LIBS = @BINIO_LIBS@
+BMP_RCPATH = @BMP_RCPATH@
+BUILDERS_INCLUDES = @BUILDERS_INCLUDES@
+BUILDERS_LDFLAGS = @BUILDERS_LDFLAGS@
+BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
+CATOBJEXT = @CATOBJEXT@
+CC = @CC@
+CCAS = @CCAS@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DATADIRNAME = @DATADIRNAME@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EFFECT_PLUGINS = @EFFECT_PLUGINS@
+EFFECT_PLUGIN_DIR = @EFFECT_PLUGIN_DIR@
+EGREP = @EGREP@
+ENABLE_AAC_FALSE = @ENABLE_AAC_FALSE@
+ENABLE_AAC_TRUE = @ENABLE_AAC_TRUE@
+ENABLE_AMIDIPLUG_FALSE = @ENABLE_AMIDIPLUG_FALSE@
+ENABLE_AMIDIPLUG_TRUE = @ENABLE_AMIDIPLUG_TRUE@
+ENABLE_CROSSFADE_FALSE = @ENABLE_CROSSFADE_FALSE@
+ENABLE_CROSSFADE_TRUE = @ENABLE_CROSSFADE_TRUE@
+ENABLE_MPG123_FALSE = @ENABLE_MPG123_FALSE@
+ENABLE_MPG123_TRUE = @ENABLE_MPG123_TRUE@
+ENABLE_MUSEPACK_FALSE = @ENABLE_MUSEPACK_FALSE@
+ENABLE_MUSEPACK_TRUE = @ENABLE_MUSEPACK_TRUE@
+ENABLE_TIMIDITY_FALSE = @ENABLE_TIMIDITY_FALSE@
+ENABLE_TIMIDITY_TRUE = @ENABLE_TIMIDITY_TRUE@
+ENABLE_WMA_FALSE = @ENABLE_WMA_FALSE@
+ENABLE_WMA_TRUE = @ENABLE_WMA_TRUE@
+ESD_CFLAGS = @ESD_CFLAGS@
+ESD_LIBS = @ESD_LIBS@
+EXEEXT = @EXEEXT@
+GCONF_CFLAGS = @GCONF_CFLAGS@
+GCONF_LIBS = @GCONF_LIBS@
+GENCAT = @GENCAT@
+GENERAL_PLUGINS = @GENERAL_PLUGINS@
+GENERAL_PLUGIN_DIR = @GENERAL_PLUGIN_DIR@
+GLIBC21 = @GLIBC21@
+GMSGFMT = @GMSGFMT@
+GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@
+GNOMEVFS_LIBS = @GNOMEVFS_LIBS@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+HARDSID_LDADD = @HARDSID_LDADD@
+HAVE_ADPLUG_FALSE = @HAVE_ADPLUG_FALSE@
+HAVE_ADPLUG_TRUE = @HAVE_ADPLUG_TRUE@
+HAVE_ALSA_FALSE = @HAVE_ALSA_FALSE@
+HAVE_ALSA_TRUE = @HAVE_ALSA_TRUE@
+HAVE_CDROM_FALSE = @HAVE_CDROM_FALSE@
+HAVE_CDROM_TRUE = @HAVE_CDROM_TRUE@
+HAVE_ESD_FALSE = @HAVE_ESD_FALSE@
+HAVE_ESD_TRUE = @HAVE_ESD_TRUE@
+HAVE_FLAC_FALSE = @HAVE_FLAC_FALSE@
+HAVE_FLAC_TRUE = @HAVE_FLAC_TRUE@
+HAVE_GCONF_FALSE = @HAVE_GCONF_FALSE@
+HAVE_GCONF_TRUE = @HAVE_GCONF_TRUE@
+HAVE_GNOME_VFS_FALSE = @HAVE_GNOME_VFS_FALSE@
+HAVE_GNOME_VFS_TRUE = @HAVE_GNOME_VFS_TRUE@
+HAVE_JACK_FALSE = @HAVE_JACK_FALSE@
+HAVE_JACK_TRUE = @HAVE_JACK_TRUE@
+HAVE_LIBSAMPLERATE_FALSE = @HAVE_LIBSAMPLERATE_FALSE@
+HAVE_LIBSAMPLERATE_TRUE = @HAVE_LIBSAMPLERATE_TRUE@
+HAVE_LIBSNDFILE_FALSE = @HAVE_LIBSNDFILE_FALSE@
+HAVE_LIBSNDFILE_TRUE = @HAVE_LIBSNDFILE_TRUE@
+HAVE_LIBVISUAL_FALSE = @HAVE_LIBVISUAL_FALSE@
+HAVE_LIBVISUAL_TRUE = @HAVE_LIBVISUAL_TRUE@
+HAVE_LINUX_JOYSTICK_FALSE = @HAVE_LINUX_JOYSTICK_FALSE@
+HAVE_LINUX_JOYSTICK_TRUE = @HAVE_LINUX_JOYSTICK_TRUE@
+HAVE_LIRC_FALSE = @HAVE_LIRC_FALSE@
+HAVE_LIRC_TRUE = @HAVE_LIRC_TRUE@
+HAVE_MODPLUG_FALSE = @HAVE_MODPLUG_FALSE@
+HAVE_MODPLUG_TRUE = @HAVE_MODPLUG_TRUE@
+HAVE_OGGVORBIS_FALSE = @HAVE_OGGVORBIS_FALSE@
+HAVE_OGGVORBIS_TRUE = @HAVE_OGGVORBIS_TRUE@
+HAVE_OSS_FALSE = @HAVE_OSS_FALSE@
+HAVE_OSS_TRUE = @HAVE_OSS_TRUE@
+HAVE_SIDPLAY_FALSE = @HAVE_SIDPLAY_FALSE@
+HAVE_SIDPLAY_TRUE = @HAVE_SIDPLAY_TRUE@
+HAVE_SOLARIS_FALSE = @HAVE_SOLARIS_FALSE@
+HAVE_SOLARIS_TRUE = @HAVE_SOLARIS_TRUE@
+HAVE_SUN_FALSE = @HAVE_SUN_FALSE@
+HAVE_SUN_TRUE = @HAVE_SUN_TRUE@
+ID3LIBS = @ID3LIBS@
+INPUT_PLUGINS = @INPUT_PLUGINS@
+INPUT_PLUGIN_DIR = @INPUT_PLUGIN_DIR@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INSTOBJEXT = @INSTOBJEXT@
+INTLBISON = @INTLBISON@
+INTLLIBS = @INTLLIBS@
+INTLOBJS = @INTLOBJS@
+INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
+JACK_CFLAGS = @JACK_CFLAGS@
+JACK_LIBS = @JACK_LIBS@
+LDFLAGS = @LDFLAGS@
+LIBBEEP_MAJOR_VERSION = @LIBBEEP_MAJOR_VERSION@
+LIBBEEP_MICRO_VERSION = @LIBBEEP_MICRO_VERSION@
+LIBBEEP_MINOR_VERSION = @LIBBEEP_MINOR_VERSION@
+LIBFLAC_CFLAGS = @LIBFLAC_CFLAGS@
+LIBFLAC_LIBS = @LIBFLAC_LIBS@
+LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
+LIBGLADE_LIBS = @LIBGLADE_LIBS@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBVISUAL_CFLAGS = @LIBVISUAL_CFLAGS@
+LIBVISUAL_LIBS = @LIBVISUAL_LIBS@
+LN_S = @LN_S@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKINSTALLDIRS = @MKINSTALLDIRS@
+MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
+OBJEXT = @OBJEXT@
+OGG_VORBIS_CFLAGS = @OGG_VORBIS_CFLAGS@
+OGG_VORBIS_LIBS = @OGG_VORBIS_LIBS@
+OUTPUT_PLUGINS = @OUTPUT_PLUGINS@
+OUTPUT_PLUGIN_DIR = @OUTPUT_PLUGIN_DIR@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PC_REQUIRES = @PC_REQUIRES@
+PKG_CONFIG = @PKG_CONFIG@
+PLUGIN_LDFLAGS = @PLUGIN_LDFLAGS@
+POSUB = @POSUB@
+RANLIB = @RANLIB@
+RESID_LDADD = @RESID_LDADD@
+SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@
+SAMPLERATE_LIBS = @SAMPLERATE_LIBS@
+SDL_CFLAGS = @SDL_CFLAGS@
+SDL_CONFIG = @SDL_CONFIG@
+SDL_LIBS = @SDL_LIBS@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SIDPLAY1_INCLUDES = @SIDPLAY1_INCLUDES@
+SIDPLAY1_LDADD = @SIDPLAY1_LDADD@
+SIDPLAY2_INCLUDES = @SIDPLAY2_INCLUDES@
+SIDPLAY2_LDADD = @SIDPLAY2_LDADD@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CFLAGS = @TAGLIB_CFLAGS@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+TAGLIB_LIBS = @TAGLIB_LIBS@
+USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
+USE_NLS = @USE_NLS@
+USE_X86ASM_FALSE = @USE_X86ASM_FALSE@
+USE_X86ASM_TRUE = @USE_X86ASM_TRUE@
+VERSION = @VERSION@
+VISUALIZATION_PLUGINS = @VISUALIZATION_PLUGINS@
+VISUALIZATION_PLUGIN_DIR = @VISUALIZATION_PLUGIN_DIR@
+XGETTEXT = @XGETTEXT@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+beepdir = @beepdir@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+plugindir = @plugindir@
+pluginsubs = @pluginsubs@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+ACLOCAL_AMFLAGS = -I m4
+SUBDIRS = intl libaudacious audacious Plugins po icons skin
+man_MANS = audacious.1
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = audacious.pc
+EXTRA_DIST = \
+  FAQ \
+  audacious.spec \
+  README.bmp \
+  $(pkgconfig_DATA) \
+  $(wildcard m4/*.m4)