New configuration files for Mac OS X (Darwin).

This commit is contained in:
W. Eric Norum
2002-03-25 17:52:14 +00:00
parent da9120931c
commit 68fd6048d8
4 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# 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
#
# Don't try building shared libraries on Darwin for now
#
SHARED_LIBRARIES=NO
#
# 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

View File

@@ -0,0 +1,11 @@
# CONFIG.darwin-ppc.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for darwin-ppc host builds
# Sites may override these definitions in CONFIG_SITE.darwin-ppc.Common
#-------------------------------------------------------
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common

View File

@@ -0,0 +1,15 @@
# 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 -no-cpp-precomp
CCC = $(GNU_BIN)/c++ -no-cpp-precomp

View File

@@ -0,0 +1,17 @@
# CONFIG_SITE.darwin-ppc.Common
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for darwin-ppc host builds
#-------------------------------------------------------
#
# Where the fink packages are installed
#
FINK_DIR=/sw
#
# Other local options
#
#OP_SYS_CFLAGS += -g