From ac2f19b8b33bf167cb0e821f91abbf3192238084 Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Tue, 24 Sep 2002 21:39:46 +0000 Subject: [PATCH] Clean up commands so that more extensions can be built. --- config/CONFIG.Host.Darwin | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/config/CONFIG.Host.Darwin b/config/CONFIG.Host.Darwin index 45cbae65d..651db5fea 100644 --- a/config/CONFIG.Host.Darwin +++ b/config/CONFIG.Host.Darwin @@ -18,20 +18,23 @@ ARCH_CLASS = Darwin include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon # -# The config files are a real mess. The following set of definitions -# seems to work for all the weird ways in which the extensions makefile -# fragments use them. +# The config files are a real mess. The following definitions seem to work +# for all the weird ways in which the extensions makefile fragments use them. # -ANSI = GCC -CPLUSPLUS = c++ -CC = cc -CXX= c++ -GCC = cc +AR = ar +ARCMD = $(AR) -rc $@ +ARFLAGS = rcv +RANLIB = ranlib + +ANSI=GCC +CPLUSPLUS=G++ OP_SYS_CFLAGS += -no-cpp-precomp OP_SYS_INCLUDES = -I/sw/include -I/usr/X11R6/include OP_SYS_LDFLAGS += -L/sw/lib -L/usr/X11R6/lib +ARCH_DEP_LDLIBS += -lreadline + # # Compiler/linker problems prevent the use of shared libraries at the moment # @@ -41,8 +44,8 @@ SHARED_LIBRARIES_Darwin = NO # Something like this will be needed once shared libraries are built # SHRLIB_SUFFIX = .dylib$(SHARED_LIBRARIES) -GCC_SHRLIB_LDFLAGS_YES += -dynamiclib -flat_namespace -G++_SHRLIB_LDFLAGS_YES += -dynamiclib -flat_namespace +GCC_SHRLIB_LDFLAGS_YES += -dynamiclib +G++_SHRLIB_LDFLAGS_YES += -dynamiclib # # Java