Mercurial > hg > vamp-plugin-sdk
comparison Makefile @ 162:8c8854a78dcd
* Update README, .la files etc for 1.3
author | cannam |
---|---|
date | Wed, 09 Jul 2008 09:36:39 +0000 |
parents | e841e2365b48 |
children | 120f88880347 |
comparison
equal
deleted
inserted
replaced
161:7fc1041daa9d | 162:8c8854a78dcd |
---|---|
55 | 55 |
56 # Locations for "make install". This will need quite a bit of | 56 # Locations for "make install". This will need quite a bit of |
57 # editing for non-Linux platforms. Of course you don't necessarily | 57 # editing for non-Linux platforms. Of course you don't necessarily |
58 # have to use "make install". | 58 # have to use "make install". |
59 # | 59 # |
60 INSTALL_PREFIX := /usr | 60 INSTALL_PREFIX := /usr/local |
61 INSTALL_API_HEADERS := $(INSTALL_PREFIX)/include/vamp | 61 INSTALL_API_HEADERS := $(INSTALL_PREFIX)/include/vamp |
62 INSTALL_SDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk | 62 INSTALL_SDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk |
63 INSTALL_HOSTEXT_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk/hostext | 63 INSTALL_HOSTEXT_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk/hostext |
64 INSTALL_SDK_LIBS := $(INSTALL_PREFIX)/lib | 64 INSTALL_SDK_LIBS := $(INSTALL_PREFIX)/lib |
65 | 65 |
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 = -static-libgcc -shared -Wl,-Bsymbolic | 82 DYNAMIC_LDFLAGS = -static-libgcc -shared -Wl,-Bsymbolic |
83 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=vamp-plugin.map | |
84 SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_SDK_LINK_ABI) | 83 SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_SDK_LINK_ABI) |
85 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LINK_ABI) | 84 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LINK_ABI) |
85 | |
86 # Additional flags for making a plugin. This version script tells the | |
87 # GNU linker to make all symbols in the library hidden except for the | |
88 # public entry point. It's not essential, but makes a tidier library. | |
89 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=vamp-plugin.map | |
90 | |
86 | 91 |
87 ## For OS/X with g++: | 92 ## For OS/X with g++: |
88 #DYNAMIC_LDFLAGS = -dynamiclib | 93 #DYNAMIC_LDFLAGS = -dynamiclib |
89 #PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) | 94 #PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) |
90 #SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | 95 #SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) |