Skip to content

Commit

Permalink
s3: Install and uninstall the static version of libwbclient
Browse files Browse the repository at this point in the history
This requires to call configure with --enable-static which isn't the case
by default.
  • Loading branch information
lmuelle committed Jan 27, 2010
1 parent b63b9bc commit 2f9eb6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2052,12 +2052,14 @@ installlibwbclient:: installdirs libwbclient
ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
$(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
fi
-$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
-$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include

uninstalllibwbclient::
-rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
-$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
-$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
-rm -f $(DESTDIR)${prefix}/include/wbclient.h

libs:: libwbclient
Expand Down

0 comments on commit 2f9eb6b

Please sign in to comment.