Mercurial > hg > vamp-plugin-sdk
comparison Makefile @ 89:c36fb54b8491
* Add ranlib, just in case
author | cannam |
---|---|
date | Fri, 12 Oct 2007 16:44:17 +0000 |
parents | bd5d5ba29d3c |
children | c94c066a4897 |
comparison
equal
deleted
inserted
replaced
88:d17b9ca3b8c9 | 89:c36fb54b8491 |
---|---|
28 | 28 |
29 # Compile flags | 29 # Compile flags |
30 # | 30 # |
31 CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I. -fpic | 31 CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I. -fpic |
32 | 32 |
33 # ar, ranlib | |
34 # | |
35 AR := ar | |
36 RANLIB := ranlib | |
37 | |
33 # Libraries required for the plugins. | 38 # Libraries required for the plugins. |
34 # (Note that it is desirable to statically link libstdc++ if possible, | 39 # (Note that it is desirable to statically link libstdc++ if possible, |
35 # 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 |
36 # compatibility problems.) | 41 # compatibility problems.) |
37 # | 42 # |
39 #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) |
40 | 45 |
41 # File extension for a dynamically loadable object | 46 # File extension for a dynamically loadable object |
42 # | 47 # |
43 PLUGIN_EXT = .so | 48 PLUGIN_EXT = .so |
49 #PLUGIN_EXT = .dll | |
44 #PLUGIN_EXT = .dylib | 50 #PLUGIN_EXT = .dylib |
45 | 51 |
46 # Libraries required for the host. | 52 # Libraries required for the host. |
47 # | 53 # |
48 HOST_LIBS = $(SDKDIR)/libvamp-hostsdk.a -lsndfile -ldl | 54 HOST_LIBS = $(SDKDIR)/libvamp-hostsdk.a -lsndfile -ldl |
159 $(HOSTDIR)/vamp-simple-host.o | 165 $(HOSTDIR)/vamp-simple-host.o |
160 | 166 |
161 HOST_TARGET = \ | 167 HOST_TARGET = \ |
162 $(HOSTDIR)/vamp-simple-host | 168 $(HOSTDIR)/vamp-simple-host |
163 | 169 |
164 sdk: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) | 170 sdk: sdkstatic $(SDK_DYNAMIC) $(HOSTSDK_DYNAMIC) |
165 | 171 |
166 sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC) | 172 sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC) |
173 $(RANLIB) $(SDK_STATIC) | |
174 $(RANLIB) $(HOSTSDK_STATIC) | |
167 | 175 |
168 plugins: $(PLUGIN_TARGET) | 176 plugins: $(PLUGIN_TARGET) |
169 | 177 |
170 host: $(HOST_TARGET) | 178 host: $(HOST_TARGET) |
171 | 179 |