Moved Rhapsody's shared library rule from rules.mk to Rhapsody.mk.

This commit is contained in:
wtc 1998-05-07 07:23:49 +00:00
parent c5fd8c61c7
commit 2abfd52480
2 changed files with 2 additions and 9 deletions

View File

@ -41,7 +41,8 @@ ARCH = rhapsody
#DSO_LDOPTS = -Bshareable
#DSO_LDFLAGS =
MKSHLIB = $(CC) -arch ppc -dynamiclib -compatibility_version 1 -current_version 1
# Do we need this?: -install_name
MKSHLIB = $(CC) -arch ppc -dynamiclib -compatibility_version 1 -current_version 1 -all_load
DLL_SUFFIX = dylib
#G++INCLUDES = -I/usr/include/g++

View File

@ -257,13 +257,6 @@ ifeq ($(OS_ARCH)$(OS_RELEASE), AIX4.1)
| sort -u >> $(OBJDIR)/lib$(LIBRARY_NAME)_syms
$(LD) $(XCFLAGS) -o $@ $(OBJS) -bE:$(OBJDIR)/lib$(LIBRARY_NAME)_syms \
-bM:SRE -bnoentry $(OS_LIBS) $(EXTRA_LIBS)
else
ifeq ($(OS_ARCH)$(OS_RELEASE), Rhapsody5.0)
@echo Trying to generate Rhapsody dynamic library.
# Do we need this?: -install_name
$(CC) -arch ppc -dynamiclib -compatibility_version 1 -current_version 1 -all_load $(OBJS) -o $@
else
ifeq ($(OS_ARCH), WINNT)
ifeq ($(OS_TARGET), WIN16)
@ -300,7 +293,6 @@ else
$(MKSHLIB) -o $@ $(OBJS) $(EXTRA_LIBS) $(OS_LIBS)
endif
endif
endif
$(PURE_LIBRARY):
rm -f $@