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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
$NetBSD: patch-aa,v 1.12 2007/06/08 12:23:51 wiz Exp $
--- dist/Makefile.in.orig 2006-09-13 16:22:38.000000000 +0000
+++ dist/Makefile.in
@@ -11,7 +11,7 @@ exec_prefix=@exec_prefix@
bindir= @bindir@
includedir=@includedir@
libdir= @libdir@
-docdir= $(prefix)/docs
+docdir= $(prefix)/share/doc/db4
dmode= 755
emode= 555
@@ -41,7 +41,7 @@ INSTALLER= @INSTALLER@
LIBTOOL= @LIBTOOL@
POSTLINK= @POSTLINK@
-SOLINK= @MAKEFILE_SOLINK@
+SOLINK= @MAKEFILE_SOLINK@ -version-info @DB_VERSION_MINOR@:@DB_VERSION_PATCH@
SOFLAGS= @SOFLAGS@
LIBMAJOR= @DB_VERSION_MAJOR@
LIBVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
@@ -60,7 +60,7 @@ LIBS= @LIBSO_LIBS@
TEST_LIBS= @TEST_LIBS@
LIBCSO_LIBS= @LIBCSO_LIBS@ @LIBSO_LIBS@
-libdb_base= libdb
+libdb_base= libdb4
libdb= $(libdb_base).a
libdb_version= $(libdb_base)-$(LIBVERSION).a
libso= $(libdb_base)-$(LIBVERSION)@SOSUFFIX@
@@ -79,7 +79,7 @@ CXXLINK= @MAKEFILE_CXXLINK@ @CXXFLAGS@
XSOLINK= @MAKEFILE_XSOLINK@ @CXXFLAGS@
LIBXSO_LIBS= @LIBXSO_LIBS@ @LIBSO_LIBS@
-libcxx_base= libdb_cxx
+libcxx_base= libdb4_cxx
libcxx= $(libcxx_base).a
libcxx_version= $(libcxx_base)-$(LIBVERSION).a
libxso= $(libcxx_base)-$(LIBVERSION)@SOSUFFIX@
@@ -105,9 +105,9 @@ JAVA_SRCDIR= $(srcdir)/java/src
JAVA_EXDIR= $(srcdir)/examples_java/src
JAVA_SLEEPYCAT= $(srcdir)/java/src/com/sleepycat
-libj_jarfile= db.jar
+libj_jarfile= db4.jar
libj_exjarfile= dbexamples.jar
-libjso_base= libdb_java
+libjso_base= libdb4_java
libjso= $(libjso_base)-$(LIBVERSION)@JMODSUFFIX@
libjso_static= $(libjso_base)-$(LIBVERSION).a
libjso_target= $(libjso_base)-$(LIBVERSION).la
@@ -122,7 +122,7 @@ libjso_g= $(libjso_base)-$(LIBVERSION)_g
##################################################
TCL_INCLUDE_SPEC= @TCL_INCLUDE_SPEC@
LIBTSO_LIBS= @LIBTSO_LIBS@ @LIBSO_LIBS@
-libtso_base= libdb_tcl
+libtso_base= libdb4_tcl
libtso= $(libtso_base)-$(LIBVERSION)@MODSUFFIX@
libtso_static= $(libtso_base)-$(LIBVERSION).a
libtso_target= $(libtso_base)-$(LIBVERSION).la
@@ -723,8 +723,7 @@ install_include:
($(MKDIR) -p $(DESTDIR)$(includedir) && \
$(CHMOD) $(dmode) $(DESTDIR)$(includedir))
@cd $(DESTDIR)$(includedir) && $(RM) -f $(INCDOT)
- @$(CP) -p $(INCDOT) $(DESTDIR)$(includedir)
- @cd $(DESTDIR)$(includedir) && $(CHMOD) $(fmode) $(INCDOT)
+ ${BSD_INSTALL_DATA} $(INCDOT) $(DESTDIR)$(includedir)
uninstall_include:
@cd $(DESTDIR)$(includedir) && $(RM) -f $(INCDOT)
@@ -735,7 +734,7 @@ install_lib:
($(MKDIR) -p $(DESTDIR)$(libdir) && \
$(CHMOD) $(dmode) $(DESTDIR)$(libdir))
@cd $(DESTDIR)$(libdir) && $(RM) -f $(LIB_INSTALL_FILE_LIST)
- @$(INSTALLER) @INSTALL_LIBS@ $(DESTDIR)$(libdir)
+ @libtool --mode=install ${BSD_INSTALL_LIB} @INSTALL_LIBS@ $(DESTDIR)$(libdir)
@(cd $(DESTDIR)$(libdir) && \
test -f $(libso) && $(LN) -s $(libso) $(libso_default); \
test -f $(libso) && $(LN) -s $(libso) $(libso_major); \
@@ -759,11 +758,8 @@ install_utilities:
($(MKDIR) -p $(DESTDIR)$(bindir) && \
$(CHMOD) $(dmode) $(DESTDIR)$(bindir))
@for i in $(UTIL_PROGS); do \
- test -f $$i.exe && i=$$i.exe || i=$$i; \
- $(RM) -f $(DESTDIR)$(bindir)/$$i; \
- $(INSTALLER) $$i $(DESTDIR)$(bindir)/$$i; \
- test "$(STRIP)" = "none" || $(STRIP) $(DESTDIR)$(bindir)/$$i; \
- $(CHMOD) $(emode) $(DESTDIR)$(bindir)/$$i; \
+ target="${DESTDIR}${bindir}/`echo $$i | sed '${transform}'`"; \
+ libtool --mode=install ${BSD_INSTALL_PROGRAM} $$i $$target; \
done
uninstall_utilities:
|