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
95
|
$NetBSD: patch-aa,v 1.11 2006/11/05 17:43:59 joerg Exp $
--- dist/Makefile.in.orig 2005-11-08 12:47:22.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= @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@
@@ -107,10 +107,10 @@ JAVA_EXDIR= $(srcdir)/examples_java/src
JAVA_RPCDIR= $(srcdir)/rpc_server/java
JAVA_SLEEPYCAT= $(srcdir)/java/src/com/sleepycat
-libj_jarfile= db.jar
+libj_jarfile= db4.jar
libj_exjarfile= dbexamples.jar
rpc_jarfile= dbsvc.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
@@ -125,7 +125,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
@@ -867,8 +867,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)
@@ -879,7 +878,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); \
@@ -903,11 +902,8 @@ install_utilities:
($(mkdir) -p $(DESTDIR)$(bindir) && \
$(chmod) $(dmode) $(DESTDIR)$(bindir))
@for i in $(UTIL_PROGS); do \
- $(rm) -f $(DESTDIR)$(bindir)/$$i $(DESTDIR)$(bindir)/$$i.exe; \
- test -f $$i.exe && i=$$i.exe || true; \
- $(INSTALLER) $$i $(DESTDIR)$(bindir)/$$i; \
- test -f $(strip) && $(strip) $(DESTDIR)$(bindir)/$$i || true; \
- $(chmod) $(emode) $(DESTDIR)$(bindir)/$$i; \
+ target="${DESTDIR}${bindir}/`echo $$i | sed '${transform}'`"; \
+ libtool --mode=install ${BSD_INSTALL_PROGRAM} $$i $$target; \
done
uninstall_utilities:
|