comparison skeleton/Makefile.skeleton @ 306:b923a3d9c3d5

* Update OS/X stuff in Makefiles, so as to build 3-way universal binaries using 10.4 SDK (where available, or 10.5 otherwise -- though the choice needs to be made by the user)
author cannam
date Fri, 13 Aug 2010 15:08:23 +0000
parents bb67b6145812
children 2ad57dd004ba
comparison
equal deleted inserted replaced
305:250c7aaff287 306:b923a3d9c3d5
25 # project directory 25 # project directory
26 # 26 #
27 VAMP_SDK_DIR = ../vamp-plugin-sdk 27 VAMP_SDK_DIR = ../vamp-plugin-sdk
28 28
29 29
30 ## Uncomment these for an OS/X native build using command-line tools: 30 ## Uncomment these for an OS/X universal binary (PPC and 32- and
31 ## 64-bit Intel) supporting 10.4 or newer (if you have the 10.4 SDK):
31 32
32 # CXXFLAGS = -I$(VAMP_SDK_DIR) -Wall -fPIC 33 # CXXFLAGS = -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 -arch x86_64 -arch ppc -I$(VAMP_SDK_DIR) -Wall -fPIC
33 # PLUGIN_EXT = .dylib 34 # PLUGIN_EXT = .dylib
34 # PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) 35 # PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
35 # LDFLAGS = -dynamiclib -install_name $(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -exported_symbols_list vamp-plugin.list 36 # LDFLAGS = $(CXXFLAGS) -dynamiclib -install_name $(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -exported_symbols_list vamp-plugin.list
36 37
37 38
38 ## Uncomment these for an OS/X universal binary using command-line tools: 39 ## Uncomment these for an OS/X universal binary (PPC and 32- and
40 ## 64-bit Intel) supporting 10.5 or newer (use this if you have the
41 ## default 10.6 developer tools):
39 42
40 # CXXFLAGS = -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -I$(VAMP_SDK_DIR) -Wall -fPIC 43 # CXXFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 -arch x86_64 -arch ppc -I$(VAMP_SDK_DIR) -Wall -fPIC
41 # PLUGIN_EXT = .dylib 44 # PLUGIN_EXT = .dylib
42 # PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) 45 # PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
43 # LDFLAGS = -dynamiclib -install_name $(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -exported_symbols_list vamp-plugin.list 46 # LDFLAGS = $(CXXFLAGS) -dynamiclib -install_name $(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -exported_symbols_list vamp-plugin.list
44 47
45 48
46 ## Uncomment these for Linux using the standard tools: 49 ## Uncomment these for Linux using the standard tools:
47 50
48 # CXXFLAGS = -I$(VAMP_SDK_DIR) -Wall -fPIC 51 # CXXFLAGS = -I$(VAMP_SDK_DIR) -Wall -fPIC