blob: bbb615fadfbb863e50ad7c918fc4626f367c3047 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
if ENABLE_VST
noinst_LTLIBRARIES = libvstsdk.la
endif
# We know there are warnings in the VSTSDK code, so don't consider them errors.
CXXFLAGS:=$(filter-out -Werror -Wall ,$(CXXFLAGS))
cp_verbose = $(cp_verbose_@AM_V@)
cp_verbose_ = $(cp_verbose_@AM_DEFAULT_V@)
cp_verbose_0 = @echo " CP "$@;
mkdir_verbose = $(mkdir_verbose_@AM_V@)
mkdir_verbose_ = $(mkdir_verbose_@AM_DEFAULT_V@)
mkdir_verbose_0 = @echo " MKDIR "$@;
# Targets to copy vst source files
pluginterfaces/vst2.x:
$(mkdir_verbose)$(MKDIR_P) pluginterfaces/vst2.x
pluginterfaces/vst2.x/aeffect.h: pluginterfaces/vst2.x @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffect.h
$(cp_verbose)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_verbose)cp @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffectx.h $@
public.sdk/source/vst2.x:
$(mkdir_verbose)$(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_verbose)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_verbose)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_verbose)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_verbose)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_verbose)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_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp $@
# Hack to compile vst sources without -Wall -Werror
libvstsdk_la_CXXFLAGS = -Wno-c++11-narrowing -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
|