59 lines
1.4 KiB
Plaintext
59 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
|
|
|
|
#
|
|
# Set OS-specific information
|
|
#
|
|
OS_CLASS = Darwin
|
|
ARCH_CLASS = ppc
|
|
|
|
#
|
|
# Special flags for Darwin
|
|
# No common blocks (as required when using shared libraries)
|
|
#
|
|
OP_SYS_CFLAGS += -fno-common
|
|
|
|
#
|
|
# Don't try to use precompiled headers when converting sequencer files
|
|
#
|
|
CPPSNCFLAGS += -no-cpp-precomp
|
|
|
|
#
|
|
# Darwin os definition
|
|
#
|
|
OP_SYS_CPPFLAGS += -Ddarwin
|
|
|
|
#
|
|
# The following two definitions enable the use of DarwinPorts packages.
|
|
|
|
#
|
|
OP_SYS_INCLUDES += -I/opt/local/include
|
|
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
|
|
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /opt/local/lib/*))))
|
|
|
|
#
|
|
# The following two definitions enable the use of Fink packages.
|
|
#
|
|
OP_SYS_INCLUDES += -I/sw/include
|
|
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
|
|
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /sw/lib/*))))
|
|
|
|
#
|
|
# Libraries for command-line editing.
|
|
#
|
|
LDLIBS_READLINE = -lreadline
|
|
|
|
#
|
|
# Command-line input support
|
|
#
|
|
COMMANDLINE_LIBRARY=READLINE
|