view Makefile.am @ 673:537240c47d18

It was the dawn of the third age of SID-kind, several years after the XMMS-BMP War. The Unified Audacious+XMMS-SID Project was a dream given form. Its goal: to prevent another war by creating a SID-plugin which would be functional for both worlds, where Audacious and XMMS -related code could work out their differences peacefully. It's a port of call, home away from home for coders, users, entrepreneurs, and wanderers. Humans and aliens wrapped in two million, five hundred thousand tons of spinning code, all alone in the night. It can be a dangerous place, but it's our last, best hope for peace. This is the story of the last of the XMMS-SID releases. The year is 2008. The name of the place is XMMS-SID 0.8.0rc2.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Apr 2008 18:53:55 +0300
parents c1f10da42684
children d1b32e981e73
line wrap: on
line source

###
### Makefile.am for XMMS-SID
###
# Require latest automake
AUTOMAKE_OPTIONS = 1.9

PACKAGE = @PACKAGE@
VERSION = @VERSION@

themetune = Kummatti_City.sid
libxmmssiddir = $(pkgdatadir)
libxmmssid_DATA = $(themetune)

SUBDIRS = po

# Personal XMMS directory in user's home
USERHOMEPREFIX = ~/.xmms/Plugins

# All the rest of the distributed files
EXTRA_DIST = mkinstalldirs 		\
	FAQ				\
	BUGS				\
	THANKS				\
	ChangeLog.old			\
	bootstrap.sh			\
	xmms-sid.glade			\
	xmms-sid.spec.in		\
	xmms-sid.spec			\
	xmms-1.2.10-songpos.patch	\
	src/xmms-sid-logo.xpm		\
	Kummatti_City.sid


# Update changelog
update:
	if test -e ".svn"; then svn update; fi

.changelog: update
	if test -e ".svn"; then svn2cl --stdout --group-by-day --strip-prefix xmms-sid/trunk/ | sed "s/  ccr$$/  Matti Hämäläinen (ccr\/TNSP)  <ccr@tnsp.org>/" > ChangeLog; fi
	touch $@

ChangeLog: .changelog

###
### Install/uninstall-targets for single user
###
install-user: $(lib_LTLIBRARIES)
	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    f="`echo $$p | sed -e 's|^.*/||'`"; \
	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f"; \
	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f; \
	  else :; fi; \
	done

uninstall-user:
	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	    p="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p"; \
	  $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p; \
	done


###
### Source targets
###
# Generated libraries
lib_LTLIBRARIES = libxmmssid.la

# Generals
AM_CFLAGS = -W -Wall -D_REENTRANT @XMMS_CFLAGS@ @SIDPLAY1_INCLUDES@	\
		@SIDPLAY2_INCLUDES@ @BUILDERS_INCLUDES@			\
		-DTHEMETUNE_FILE="\"$(pkgdatadir)/$(themetune)\""	\
		-DLOCALEDIR="\"$(localedir)\""

AM_CXXFLAGS = $(AM_CFLAGS)

libxmmssid_la_LDFLAGS = -module -avoid-version @BUILDERS_LDFLAGS@
libxmmssid_la_LIBADD  = @XMMS_LIBS@ @SIDPLAY1_LDADD@ @SIDPLAY2_LDADD@ @RESID_LDADD@ @HARDSID_LDADD@

# Glade-generated sources
update-glade: xmms-sid.glade
	glade -w $<
	touch $@

#src/xs_genui.c src/xs_genui.h src/xs_glade.c src/xs_glade.h src/xs_interface.c src/xs_interface.h: update-glade


# Plugin sources
libxmmssid_la_SOURCES =	\
	src/xs_init.c					\
	src/xs_about.c					\
	src/xs_support.c	src/xs_support.h	\
	src/xs_config.c		src/xs_config.h		\
	src/xs_md5.c		src/xs_md5.h		\
	src/xs_length.c		src/xs_length.h		\
	src/xs_genui.c		src/xs_genui.h		\
	src/xs_glade.c		src/xs_glade.h		\
	src/xs_interface.c	src/xs_interface.h	\
	src/xs_curve.c		src/xs_curve.h		\
	src/xs_stil.c		src/xs_stil.h		\
	src/xs_title.c		src/xs_title.h		\
	src/xs_fileinfo.c	src/xs_fileinfo.h	\
	src/xs_filter.c		src/xs_filter.h		\
	src/xs_sidplay.h	src/xs_player.h		\
	src/xs_sidplay1.cc	src/xs_sidplay1.h	\
	src/xs_sidplay2.cc	src/xs_sidplay2.h	\
	src/xs_slsup.c		src/xs_slsup.h		\
	src/xmms-sid.c		src/xmms-sid.h