--- src/Makefile.in.orig Wed Aug 30 19:43:11 2000 +++ src/Makefile.in Fri Sep 1 04:37:36 2000 @@ -36,7 +36,7 @@ exec_prefix = @exec_prefix@ install_lib_dir = @libdir@ install_include_dir = @includedir@ -install_doc_dir = $(prefix)/doc/slang/@slang_version@ +install_doc_dir = $(prefix)/share/doc/slang DOC_FILES = ../changes.txt ../COPY* ../doc/slangdoc.html ../doc/text/*.txt #--------------------------------------------------------------------------- # Misc commands (safe to leave these untouched) @@ -74,7 +74,11 @@ ELFLIB = lib$(THIS_LIB).so# ELFLIB_MAJOR = $(ELFLIB).$(ELF_MAJOR_VERSION)# +.if ( ${PORTOBJFORMAT} == "aout" ) ELFLIB_MAJOR_MINOR = $(ELFLIB).$(ELF_MAJOR_VERSION).$(ELF_MINOR_VERSION)# +.else +ELFLIB_MAJOR_MINOR = $(ELFLIB).$(ELF_MAJOR_VERSION) +.endif ELFDIR_ELF_LIB = $(ELFDIR)/$(ELFLIB_MAJOR_MINOR)# @@ -108,6 +112,7 @@ $(ELFDIR_ELF_LIB): $(ELFDIR) $(CONFIG_H) $(ELFOBJS) -$(RM) $(ELFDIR_ELF_LIB) cd $(ELFDIR); $(ELF_LINK_CMD) -o $(ELFLIB_MAJOR_MINOR) $(OFILES) $(ELF_DEP_LIBS) + cd $(ELFDIR); strip $(ELFLIB_MAJOR_MINOR) cd $(ELFDIR); $(RM) $(ELFLIB); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB) @echo "" @echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR).