47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
# CONFIG.darwin-ppc.darwin-ppc
|
|
#
|
|
# $Id$
|
|
#
|
|
# Definitions for darwin-ppc host - darwin-ppc target builds
|
|
# Sites may override these definitions in CONFIG_SITE.darwin-ppc.darwin-ppc
|
|
#-------------------------------------------------------
|
|
|
|
# Include common gnu compiler definitions
|
|
include $(CONFIG)/CONFIG.gnuCommon
|
|
|
|
GNU_DIR = /usr
|
|
|
|
CC = $(GNU_BIN)/cc
|
|
CCC = $(GNU_BIN)/c++
|
|
|
|
#
|
|
# Darwin shared libraries
|
|
#
|
|
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
|
|
-install_name $(firstword $(SHRLIB_SEARCH_FULLPATHDIRS))/$@ \
|
|
-compatibility_version $(EPICS_VERSION).$(EPICS_REVISION) \
|
|
-current_version $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
|
|
SHRLIB_SUFFIX = .$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION).dylib
|
|
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
|
|
|
|
LOADABLE_SHRLIB_LDFLAGS = -bundle -flat_namespace -undefined suppress
|
|
|
|
#
|
|
# Position-independent code is the default on Darwin.
|
|
#
|
|
CODE_CFLAGS =
|
|
CODE_CXXFLAGS =
|
|
|
|
#
|
|
# Add support for Objective-C source
|
|
#
|
|
vpath %.m $(USR_VPATH) $(ALL_SRC_DIRS)
|
|
%.o: %.m
|
|
$(COMPILE.c) -c $<
|
|
|
|
#
|
|
# Pedantic produces way too many unnecessary messages
|
|
#
|
|
CONFORM_CFLAGS_STRICT=-ansi
|
|
CONFORM_CXXFLAGS_STRICT=-ansi
|