--- linuxsampler/trunk/src/common/Makefile.am 2005/06/12 23:49:00 643 +++ linuxsampler/trunk/src/common/Makefile.am 2007/06/10 09:25:57 1223 @@ -3,6 +3,38 @@ AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) +liblinuxsamplercommonincludedir = $(includedir)/linuxsampler/common +liblinuxsamplercommoninclude_HEADERS = \ + atomic.h \ + Exception.h \ + Thread.h \ + global.h \ + optional.h \ + Mutex.h \ + SynchronizedConfig.h \ + Condition.h + noinst_LTLIBRARIES = liblinuxsamplercommon.la -liblinuxsamplercommon_la_SOURCES = atomic.h Condition.cpp Condition.h ConditionServer.cpp ConditionServer.h global.h LinuxSamplerException.h Mutex.cpp Mutex.h ResourceManager.h RingBuffer.h RTMath.cpp RTMath.h Thread.cpp Thread.h Pool.h optional.h optional.cpp stacktrace.c stacktrace.h Features.cpp -noinst_HEADERS = Features.h ArrayList.h +liblinuxsamplercommon_la_SOURCES = \ + ArrayList.h \ + Condition.cpp Condition.h \ + ConditionServer.cpp ConditionServer.h \ + Features.cpp Features.h \ + global.cpp \ + Mutex.cpp \ + optional.cpp \ + Pool.h \ + ResourceManager.h \ + RingBuffer.h \ + RTMath.cpp RTMath.h \ + stacktrace.c stacktrace.h \ + Thread.cpp Thread.h \ + WorkerThread.cpp WorkerThread.h + +# create the plugins directory (i.e. /usr/lib/linuxsampler/plugins) +install-exec-hook: + mkdir -p $(DESTDIR)$(config_plugin_dir) + +# remove the plugins directory +uninstall-hook: + rmdir $(DESTDIR)$(config_plugin_dir)