46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
# CONFIG.Common.darwin-ppc
|
|
#
|
|
# $Id$
|
|
# This file is maintained by the build community.
|
|
#
|
|
# Definitions for darwin-ppc target builds
|
|
# Sites may override these definitions in CONFIG_SITE.Common.darwin-ppc
|
|
#-------------------------------------------------------
|
|
|
|
# Include definitions common to all Unix targets
|
|
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
|
|
|
OS_CLASS = Darwin
|
|
ARCH_CLASS = ppc
|
|
|
|
#
|
|
# Special flags for Darwin
|
|
# No common blocks (as required when going to shared libraries)
|
|
#
|
|
OP_SYS_CFLAGS += -fno-common
|
|
|
|
#
|
|
# Don't try to use precompiled headers when converting sequencer files
|
|
#
|
|
CPPSNCFLAGS += -no-cpp-precomp
|
|
|
|
#
|
|
# Need to get some fink-installed packages (readline, etc.).
|
|
# If you don't have readline on your system you must remove
|
|
# or comment out these lines and make the appropriate changes
|
|
# to src/libCom/osi/os/Darwin/osdReadline.h
|
|
#
|
|
OP_SYS_CPPFLAGS += -I$(FINK_DIR)/include
|
|
OP_SYS_LDFLAGS += -L$(FINK_DIR)/lib
|
|
OP_SYS_LDLIBS += -lreadline
|
|
|
|
#
|
|
# Stuff that will be needed when going to shared libraries
|
|
#
|
|
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
|
|
-install_name $(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)/$@ \
|
|
-compatibility_version $(EPICS_VERSION).$(EPICS_REVISION) \
|
|
-current_version $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
|
|
SHRLIB_SUFFIX = $(addprefix .,$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)).dylib
|
|
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
|