From 68fd6048d8c86450a86b3c5912ba198401ba0282 Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Mon, 25 Mar 2002 17:52:14 +0000 Subject: [PATCH] New configuration files for Mac OS X (Darwin). --- configure/os/CONFIG.Common.darwin-ppc | 29 ++++++++++++++++++++++ configure/os/CONFIG.darwin-ppc.Common | 11 ++++++++ configure/os/CONFIG.darwin-ppc.darwin-ppc | 15 +++++++++++ configure/os/CONFIG_SITE.darwin-ppc.Common | 17 +++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 configure/os/CONFIG.Common.darwin-ppc create mode 100644 configure/os/CONFIG.darwin-ppc.Common create mode 100644 configure/os/CONFIG.darwin-ppc.darwin-ppc create mode 100644 configure/os/CONFIG_SITE.darwin-ppc.Common diff --git a/configure/os/CONFIG.Common.darwin-ppc b/configure/os/CONFIG.Common.darwin-ppc new file mode 100644 index 000000000..4c4c3eae0 --- /dev/null +++ b/configure/os/CONFIG.Common.darwin-ppc @@ -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 diff --git a/configure/os/CONFIG.darwin-ppc.Common b/configure/os/CONFIG.darwin-ppc.Common new file mode 100644 index 000000000..6a3af6d3b --- /dev/null +++ b/configure/os/CONFIG.darwin-ppc.Common @@ -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 diff --git a/configure/os/CONFIG.darwin-ppc.darwin-ppc b/configure/os/CONFIG.darwin-ppc.darwin-ppc new file mode 100644 index 000000000..02933c03a --- /dev/null +++ b/configure/os/CONFIG.darwin-ppc.darwin-ppc @@ -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 diff --git a/configure/os/CONFIG_SITE.darwin-ppc.Common b/configure/os/CONFIG_SITE.darwin-ppc.Common new file mode 100644 index 000000000..b5eafe380 --- /dev/null +++ b/configure/os/CONFIG_SITE.darwin-ppc.Common @@ -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