Mercurial > hg > vamp-plugin-sdk
comparison Makefile @ 107:bbe67d59b427
* fix sonames (should be ABI name, not full library name).
author | cannam |
---|---|
date | Fri, 08 Feb 2008 10:33:33 +0000 |
parents | fe31e6aed666 |
children | 24859c958732 |
comparison
equal
deleted
inserted
replaced
106:7c3574540a99 | 107:bbe67d59b427 |
---|---|
26 # | 26 # |
27 default: all | 27 default: all |
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 | 33 # ar, ranlib |
34 # | 34 # |
35 AR := ar | 35 AR := ar |
36 RANLIB := ranlib | 36 RANLIB := ranlib |
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) | 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_LINK_ABI) |
85 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LIBNAME) | 85 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LINK_ABI) |
86 | 86 |
87 ## For OS/X with g++: | 87 ## For OS/X with g++: |
88 #DYNAMIC_LDFLAGS = -dynamiclib | 88 #DYNAMIC_LDFLAGS = -dynamiclib |
89 #PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) | 89 #PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) |
90 #SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) | 90 #SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) |