Mercurial > hg > vamp-plugin-sdk
comparison Makefile.in @ 416:3bfc44d26963
OSX install target, + remake configure
author | Chris Cannam |
---|---|
date | Fri, 11 Dec 2015 12:59:21 +0000 |
parents | 5628c5ec4000 |
children | fae1ba2cb534 |
comparison
equal
deleted
inserted
replaced
415:1522e2f6d700 | 416:3bfc44d26963 |
---|---|
102 # GNU linker to make all symbols in the library hidden except for the | 102 # GNU linker to make all symbols in the library hidden except for the |
103 # public entry point. It's not essential, but makes a tidier library. | 103 # public entry point. It's not essential, but makes a tidier library. |
104 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=build/vamp-plugin.map | 104 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=build/vamp-plugin.map |
105 | 105 |
106 | 106 |
107 ## For OS/X with g++: | 107 # Adapt install details when found to be running on OSX (thanks to David O) |
108 #DYNAMIC_LDFLAGS = -dynamiclib | 108 uname_S = $(shell uname -s) |
109 #PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) | 109 ifeq ($(uname_S),Darwin) |
110 #SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | 110 |
111 #HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | 111 DYNAMIC_LDFLAGS = -dynamiclib |
112 SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
113 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | |
114 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -exported_symbols_list vamp-plugin.list | |
115 | |
116 INSTALL_HOSTSDK_LIBNAME = libvamp-hostsdk.3.6.0.dylib | |
117 INSTALL_HOSTSDK_LINK_ABI = libvamp-hostsdk.3.dylib | |
118 | |
119 # The OS X linker doesn't allow you to request static linkage when | |
120 # linking by library search path, if the same library name is found in | |
121 # both static and dynamic versions. So if we install both static and | |
122 # dynamic, the static library will never be used. That's OK for the | |
123 # host SDK, but we do want plugins to get static linkage of the plugin | |
124 # SDK. So install the dynamic version under a different name. | |
125 INSTALL_SDK_LIBNAME = libvamp-sdk-dynamic.2.6.0.dylib | |
126 INSTALL_SDK_LINK_ABI = libvamp-sdk-dynamic.2.dylib | |
127 | |
128 endif | |
112 | 129 |
113 | 130 |
114 ### End of user-serviceable parts | 131 ### End of user-serviceable parts |
115 | |
116 | 132 |
117 API_HEADERS = \ | 133 API_HEADERS = \ |
118 $(APIDIR)/vamp.h | 134 $(APIDIR)/vamp.h |
119 | 135 |
120 SDK_HEADERS = \ | 136 SDK_HEADERS = \ |