diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-09-08 20:06:46 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-09-08 20:06:46 +0200 |
commit | 58320ce77bb4f369f1f9360d15a7a5e32887519c (patch) | |
tree | 3667883308c51d141e7ff9d70281290165634705 /plugin/vst/Makefile.am | |
parent | 9aae2a082005eab641f8e650c2de2636bac9413b (diff) |
Copy vstsdk sources to build tree before compilation.
Diffstat (limited to 'plugin/vst/Makefile.am')
-rw-r--r-- | plugin/vst/Makefile.am | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/plugin/vst/Makefile.am b/plugin/vst/Makefile.am new file mode 100644 index 0000000..489fd13 --- /dev/null +++ b/plugin/vst/Makefile.am @@ -0,0 +1,60 @@ +if ENABLE_VST +noinst_LTLIBRARIES = libvstsdk.la +endif + +# Targets to copy vst source files +pluginterfaces/vst2.x: + $(MKDIR_P) pluginterfaces/vst2.x + +pluginterfaces/vst2.x/aeffect.h: pluginterfaces/vst2.x @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffect.h + cp @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffect.h $@ + +pluginterfaces/vst2.x/aeffectx.h: pluginterfaces/vst2.x @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffectx.h + cp @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffectx.h $@ + +#pluginterfaces/vst2.x/vstfxstore.h: pluginterfaces/vst2.x @VST_SOURCE_PATH@/pluginterfaces/vst2.x/vstfxstore.h +# cp @VST_SOURCE_PATH@/pluginterfaces/vst2.x/vstfxstore.h $@ + +public.sdk/source/vst2.x: + $(MKDIR_P) public.sdk/source/vst2.x + +public.sdk/source/vst2.x/audioeffectx.h: public.sdk/source/vst2.x public.sdk/source/vst2.x/audioeffect.h pluginterfaces/vst2.x/aeffect.h @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.h + cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.h $@ + +public.sdk/source/vst2.x/audioeffectx.cpp: public.sdk/source/vst2.x public.sdk/source/vst2.x/aeffeditor.h pluginterfaces/vst2.x/aeffectx.h public.sdk/source/vst2.x/audioeffectx.h @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.cpp + cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.cpp $@ + +public.sdk/source/vst2.x/audioeffect.h: public.sdk/source/vst2.x @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.h + cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.h $@ + +public.sdk/source/vst2.x/audioeffect.cpp: public.sdk/source/vst2.x public.sdk/source/vst2.x/audioeffect.h @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.cpp + cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.cpp $@ + +public.sdk/source/vst2.x/aeffeditor.h: public.sdk/source/vst2.x @VST_SOURCE_PATH@/public.sdk/source/vst2.x/aeffeditor.h + cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/aeffeditor.h $@ + +public.sdk/source/vst2.x/vstplugmain.cpp: public.sdk/source/vst2.x @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp + cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp $@ + +# Hack to compile vst sources without -Wall -Werror +libvstsdk_la_CXXFLAGS = -w $(VST_CPPFLAGS) -Ipublic.sdk/source/vst2.x -I. + +nodist_libvstsdk_la_SOURCES = \ + public.sdk/source/vst2.x/audioeffectx.cpp \ + public.sdk/source/vst2.x/audioeffect.cpp \ + public.sdk/source/vst2.x/vstplugmain.cpp + +CLEANFILES = \ + pluginterfaces/vst2.x/aeffect.h \ + pluginterfaces/vst2.x/aeffectx.h \ + public.sdk/source/vst2.x/audioeffectx.h \ + public.sdk/source/vst2.x/audioeffectx.cpp \ + public.sdk/source/vst2.x/audioeffect.h \ + public.sdk/source/vst2.x/audioeffect.cpp \ + public.sdk/source/vst2.x/aeffeditor.h \ + public.sdk/source/vst2.x/vstplugmain.cpp + +clean-local: + -rm -rf public.sdk pluginterfaces + +#pluginterfaces/vst2.x/vstfxstore.h
\ No newline at end of file |