comparison Makefile @ 92:c94c066a4897

* Add Mark L's PluginBufferingAdapter
author cannam
date Fri, 02 Nov 2007 14:54:04 +0000
parents c36fb54b8491
children 70bcd0b62cba
comparison
equal deleted inserted replaced
91:200a663bace1 92:c94c066a4897
38 # Libraries required for the plugins. 38 # Libraries required for the plugins.
39 # (Note that it is desirable to statically link libstdc++ if possible, 39 # (Note that it is desirable to statically link libstdc++ if possible,
40 # because our plugin exposes only a C API so there are no boundary 40 # because our plugin exposes only a C API so there are no boundary
41 # compatibility problems.) 41 # compatibility problems.)
42 # 42 #
43 PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a 43 #PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a
44 #PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a $(shell g++ -print-file-name=libstdc++.a) 44 PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a $(shell g++ -print-file-name=libstdc++.a)
45 45
46 # File extension for a dynamically loadable object 46 # File extension for a dynamically loadable object
47 # 47 #
48 PLUGIN_EXT = .so 48 PLUGIN_EXT = .so
49 #PLUGIN_EXT = .dll 49 #PLUGIN_EXT = .dll
77 77
78 INSTALL_PKGCONFIG := $(INSTALL_PREFIX)/lib/pkgconfig 78 INSTALL_PKGCONFIG := $(INSTALL_PREFIX)/lib/pkgconfig
79 79
80 # Flags required to tell the compiler to create a dynamically loadable object 80 # Flags required to tell the compiler to create a dynamically loadable object
81 # 81 #
82 DYNAMIC_LDFLAGS = -shared -Wl,-Bsymbolic 82 DYNAMIC_LDFLAGS = --static-libgcc -shared -Wl,-Bsymbolic
83 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) 83 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS)
84 SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_SDK_LIBNAME) 84 SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_SDK_LIBNAME)
85 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LIBNAME) 85 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LIBNAME)
86 86
87 ## For OS/X with g++: 87 ## For OS/X with g++:
105 $(SDKDIR)/PluginBase.h \ 105 $(SDKDIR)/PluginBase.h \
106 $(SDKDIR)/PluginHostAdapter.h \ 106 $(SDKDIR)/PluginHostAdapter.h \
107 $(SDKDIR)/RealTime.h 107 $(SDKDIR)/RealTime.h
108 108
109 HOSTEXT_HEADERS = \ 109 HOSTEXT_HEADERS = \
110 $(HOSTEXTDIR)/PluginBufferingAdapter.h \
110 $(HOSTEXTDIR)/PluginChannelAdapter.h \ 111 $(HOSTEXTDIR)/PluginChannelAdapter.h \
111 $(HOSTEXTDIR)/PluginInputDomainAdapter.h \ 112 $(HOSTEXTDIR)/PluginInputDomainAdapter.h \
112 $(HOSTEXTDIR)/PluginLoader.h \ 113 $(HOSTEXTDIR)/PluginLoader.h \
113 $(HOSTEXTDIR)/PluginWrapper.h 114 $(HOSTEXTDIR)/PluginWrapper.h
114 115
116 $(SDKDIR)/PluginAdapter.o \ 117 $(SDKDIR)/PluginAdapter.o \
117 $(SDKDIR)/RealTime.o 118 $(SDKDIR)/RealTime.o
118 119
119 HOSTSDK_OBJECTS = \ 120 HOSTSDK_OBJECTS = \
120 $(SDKDIR)/PluginHostAdapter.o \ 121 $(SDKDIR)/PluginHostAdapter.o \
122 $(HOSTEXTDIR)/PluginBufferingAdapter.o \
121 $(HOSTEXTDIR)/PluginChannelAdapter.o \ 123 $(HOSTEXTDIR)/PluginChannelAdapter.o \
122 $(HOSTEXTDIR)/PluginInputDomainAdapter.o \ 124 $(HOSTEXTDIR)/PluginInputDomainAdapter.o \
123 $(HOSTEXTDIR)/PluginLoader.o \ 125 $(HOSTEXTDIR)/PluginLoader.o \
124 $(HOSTEXTDIR)/PluginWrapper.o \ 126 $(HOSTEXTDIR)/PluginWrapper.o \
125 $(SDKDIR)/RealTime.o 127 $(SDKDIR)/RealTime.o