New developer tools (gcc-3.1) are better at using precompiled headers so

there's no longer any need to specify -fno-cpp-precomp.
Continue changes aimed at supporting shared libraries.  They 'almost' work
now, but there seems to be some problems with getting the right version
when multiple libraries provide a routine.
This commit is contained in:
W. Eric Norum
2002-05-07 18:19:55 +00:00
parent 918d247e96
commit 561c250892

View File

@@ -20,10 +20,9 @@ SHARED_LIBRARIES=NO
#
# Special flags for Darwin
# No fancy precompiled headers
# No common blocks (as required when going to shared libraries)
#
OP_SYS_CFLAGS += -no-cpp-precomp -fno-common
OP_SYS_CFLAGS += -fno-common
#
# Need to get some fink-installed packages (readline, etc.).
@@ -37,6 +36,10 @@ OP_SYS_LDLIBS += -lreadline
#
# Stuff that will be needed when going to shared libraries
# -compatibility_version $(SHRLIB_VERSION) -current_version $(SHRLIB_VERSION).1
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress
SHRLIB_SUFFIX = $(addprefix .,$(SHRLIB_VERSION)).dylib
#
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
-install_name $(EPICS_BASE)/lib/$(HOST_ARCH)/$@ \
-compatibility_version $(EPICS_VERSION).$(EPICS_REVISION) \
-current_version $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
SHRLIB_SUFFIX = $(addprefix .,$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)).dylib
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)