2017-03-25 06:57:50 +08:00
|
|
|
#******************************************************************************
|
2017-11-08 19:20:34 +08:00
|
|
|
# config.macosx-clang.mk Recorder project
|
2017-03-25 06:57:50 +08:00
|
|
|
#******************************************************************************
|
|
|
|
#
|
|
|
|
# File Description:
|
|
|
|
#
|
|
|
|
# This is the shared makefile configuration when building with Clang on OSX
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#******************************************************************************
|
|
|
|
# (C) 1992-2017 Christophe de Dinechin <christophe@dinechin.org>
|
|
|
|
#This software is licensed under the GNU General Public License v3
|
|
|
|
#See file COPYING for details.
|
|
|
|
#******************************************************************************
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Configuration definitions
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
DEFINES_macosx-clang=CONFIG_MACOSX
|
|
|
|
OS_NAME_macosx-clang=macosx
|
|
|
|
|
|
|
|
include $(BUILD)config.gnu.mk
|
|
|
|
|
|
|
|
CFLAGS_ssev4= -msse4
|
|
|
|
DLL_EXT= .dylib
|
2017-11-18 00:00:54 +08:00
|
|
|
MAKE_LIB= $(LIBTOOL) -static $(LDFLAGS) $(LDFLAGS_$*) $(LINK_INPUTS) -o $@
|
2017-11-21 05:36:49 +08:00
|
|
|
MAKE_DLL= $(LD) -shared $(LDFLAGS) $(LDFLAGS_$*) $(LINK_INPUTS) -o $@ -rpath $(PREFIX_LIB)
|
2017-03-25 06:57:50 +08:00
|
|
|
|
|
|
|
# On MacOSX, we will use basic frameworks e.g. for string and filesystem functions
|
2017-11-21 05:36:49 +08:00
|
|
|
LDFLAGS_macosx-clang= -framework CoreFoundation \
|
|
|
|
-framework CoreServices
|