summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsqlite
diff options
context:
space:
mode:
authoramw <none@none>2008-01-10 18:06:28 -0800
committeramw <none@none>2008-01-10 18:06:28 -0800
commit8f954993883335322d8452bad77bd112fa840ce2 (patch)
tree097452d702b0fd3ae6194cffbaffcdc86ce30c00 /usr/src/lib/libsqlite
parent87db74c14be24ab4c463ce6ddb7127e271c647bf (diff)
downloadillumos-joyent-8f954993883335322d8452bad77bd112fa840ce2.tar.gz
6648332 libsqlite.so.1 should be CIFS project private
Diffstat (limited to 'usr/src/lib/libsqlite')
-rw-r--r--usr/src/lib/libsqlite/Makefile.com16
-rw-r--r--usr/src/lib/libsqlite/i386/Makefile2
-rw-r--r--usr/src/lib/libsqlite/sparc/Makefile2
3 files changed, 17 insertions, 3 deletions
diff --git a/usr/src/lib/libsqlite/Makefile.com b/usr/src/lib/libsqlite/Makefile.com
index 5bf5ebd84c..5c2b47ae64 100644
--- a/usr/src/lib/libsqlite/Makefile.com
+++ b/usr/src/lib/libsqlite/Makefile.com
@@ -46,6 +46,10 @@ OBJECTS = \
include $(SRC)/lib/Makefile.lib
+# The shared object install target directory is usr/lib/smbsrv.
+SMBSRVLIBDIR= $(ROOTLIBDIR)/smbsrv
+SMBSRVLINK= $(SMBSRVLIBDIR)/$(LIBLINKS)
+
SRCDIR = ../src
TOOLDIR = ../tool
$(DYNLIB) := LDLIBS += -lc
@@ -185,15 +189,25 @@ LINTSRC= ../llib-lsqlite
#
all: $(LIBS)
install: all $(ROOTLIBDIR)/$(RELOC) $(ROOTLIBDIR)/$(NATIVERELOC) \
- $(ROOTLIBDIR)/llib-lsqlite.ln
+ $(ROOTLIBDIR)/llib-lsqlite.ln $(SMBSRVLIBDIR)/$(DYNLIB)
$(ROOTLIBDIR)/$(RELOC) := FILEMODE= 644
$(ROOTLIBDIR)/$(NATIVERELOC) := FILEMODE= 644
$(ROOTLIBDIR)/llib-lsqlite.ln := FILEMODE= 644
+$(SMBSRVLIBDIR)/$(DYNLIB) := FILEMODE= 755
$(ROOTLIBDIR)/%: %
$(INS.file)
+$(SMBSRVLIBDIR): $(ROOTLIBDIR)
+ $(INS.dir)
+
+$(SMBSRVLIBDIR)/%: % $(SMBSRVLIBDIR)
+ $(INS.file)
+
+$(SMBSRVLINK): $(SMBSRVLIBDIR) $(SMBSRVLIBDIR)/$(DYNLIB)
+ $(INS.liblink)
+
$(OBJS) $(OBJS:%.o=%-native.o): $(HDR)
native: $(NATIVERELOC)
diff --git a/usr/src/lib/libsqlite/i386/Makefile b/usr/src/lib/libsqlite/i386/Makefile
index 743fead699..a60da1b947 100644
--- a/usr/src/lib/libsqlite/i386/Makefile
+++ b/usr/src/lib/libsqlite/i386/Makefile
@@ -27,6 +27,6 @@
include ../Makefile.com
-install: $(ROOTLIBDIR)/$(RELOC) $(ROOTLIBS) $(ROOTLINKS)
+install: $(ROOTLIBDIR)/$(RELOC) $(SMBSRVLIBDIR)/$(DYNLIB) $(SMBSRVLINK)
$(ROOTLIBDIR)/$(RELOC): all
diff --git a/usr/src/lib/libsqlite/sparc/Makefile b/usr/src/lib/libsqlite/sparc/Makefile
index 743fead699..a60da1b947 100644
--- a/usr/src/lib/libsqlite/sparc/Makefile
+++ b/usr/src/lib/libsqlite/sparc/Makefile
@@ -27,6 +27,6 @@
include ../Makefile.com
-install: $(ROOTLIBDIR)/$(RELOC) $(ROOTLIBS) $(ROOTLINKS)
+install: $(ROOTLIBDIR)/$(RELOC) $(SMBSRVLIBDIR)/$(DYNLIB) $(SMBSRVLINK)
$(ROOTLIBDIR)/$(RELOC): all