Clean up commands so that more extensions can be built.

This commit is contained in:
W. Eric Norum
2002-09-24 21:39:46 +00:00
parent 79bb94b1ea
commit ac2f19b8b3
+13 -10
View File
@@ -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