blob: ab5e17f33806dc11e227c2aff93c93b863ed33a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- src/Makefile.in.orig2 Mon Feb 25 00:59:08 2002
+++ src/Makefile.in Mon Feb 25 01:06:27 2002
@@ -38,7 +38,7 @@
exec_prefix = @exec_prefix@
install_lib_dir = @libdir@
install_include_dir = @includedir@
-install_doc_dir = $(prefix)/doc/slang
+install_doc_dir = $(prefix)/share/doc/slang
DOC_FILES = ../changes.txt ../COPY* ../doc/slangdoc.html ../doc/text/*.txt
MODULE_INSTALL_DIR = @libdir@/slang/modules
#---------------------------------------------------------------------------
@@ -88,7 +88,11 @@
# ELFLIB_MAJOR_MINOR = $(ELFLIB).$(ELF_MAJOR_VERSION).$(ELF_MINOR_VERSION)#
ELFLIB = @ELFLIB@
ELFLIB_MAJOR = @ELFLIB_MAJOR@
+.if ( ${PORTOBJFORMAT} == "aout" )
ELFLIB_MAJOR_MINOR = @ELFLIB_MAJOR_MINOR@
+.else
+ELFLIB_MAJOR_MINOR = @ELFLIB_MAJOR@
+.endif
ELFDIR_ELF_LIB = $(ELFDIR)/$(ELFLIB_MAJOR_MINOR)#
@@ -125,6 +129,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).
|