Skip to content
Snippets Groups Projects
Commit 48c8d228 authored by Rene Brun's avatar Rene Brun
Browse files

From Axel Naumann:

* Add make install feature for win32gcc
* remove lib/*.dll.a for distclean


git-svn-id: http://root.cern.ch/svn/root/trunk@6586 27541ba8-7e3a-0410-8455-c3a389f83636
parent 83446883
Branches
Tags
No related merge requests found
...@@ -408,7 +408,9 @@ distclean:: clean ...@@ -408,7 +408,9 @@ distclean:: clean
-@mv -f include/config.h include/config.hh -@mv -f include/config.h include/config.hh
@rm -f include/*.h $(MAKEINFO) $(CORELIB) @rm -f include/*.h $(MAKEINFO) $(CORELIB)
-@mv -f include/config.hh include/config.h -@mv -f include/config.hh include/config.h
@rm -f bin/*.dll bin/*.exp bin/*.lib lib/*.def lib/*.exp lib/*.lib .def @rm -f bin/*.dll bin/*.exp bin/*.lib \
lib/*.def lib/*.exp lib/*.lib lib/*.dll.a \
.def
-@mv -f tutorials/galaxy.pal.root tutorials/galaxy.pal.roott -@mv -f tutorials/galaxy.pal.root tutorials/galaxy.pal.roott
-@mv -f tutorials/galaxy.root tutorials/galaxy.roott -@mv -f tutorials/galaxy.root tutorials/galaxy.roott
@rm -f tutorials/*.root tutorials/*.ps tutorials/*.gif so_locations @rm -f tutorials/*.root tutorials/*.ps tutorials/*.gif so_locations
...@@ -476,7 +478,15 @@ install: ...@@ -476,7 +478,15 @@ install:
for lib in $(ALLLIBS) $(CINTLIB); do \ for lib in $(ALLLIBS) $(CINTLIB); do \
rm -f $(DESTDIR)$(LIBDIR)/`basename $$lib` ; \ rm -f $(DESTDIR)$(LIBDIR)/`basename $$lib` ; \
rm -f $(DESTDIR)$(LIBDIR)/`basename $$lib`.$$vers ; \ rm -f $(DESTDIR)$(LIBDIR)/`basename $$lib`.$$vers ; \
$(INSTALL) $$lib* $(DESTDIR)$(LIBDIR); \ if [ x"$(ARCH)" = x"win32gcc" ]; then \
bindll=`echo $$lib | sed 's,lib,bin,'`; \
baselib=`basename $$lib`; \
$(INSTALL) $$bindll $(DESTDIR)$(BINDIR); \
ln -s $(DESTDIR)$(BINDIR)/$$baselib $(DESTDIR)$(LIBDIR)/$$baselib ; \
ln -s $(DESTDIR)$(BINDIR)/$$baselib $(DESTDIR)$(LIBDIR)/$$baselib.$$vers ; \
else \
$(INSTALL) $$lib* $(DESTDIR)$(LIBDIR); \
fi; \
done ; \ done ; \
echo "Installing headers in $(DESTDIR)$(INCDIR)"; \ echo "Installing headers in $(DESTDIR)$(INCDIR)"; \
$(INSTALLDIR) $(DESTDIR)$(INCDIR); \ $(INSTALLDIR) $(DESTDIR)$(INCDIR); \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment