** install_libs:
[libfirm] / MakeTargets
index 237873c..e4a8cc2 100644 (file)
@@ -1,8 +1,13 @@
-# Hey Emacs, this is a -*- makefile -*-
 #
-# libFIRM Project
-#
-# $Id$
+# Project:     libFIRM
+# File name:   MakeTargets
+# Purpose:
+# Author:      nicht Till Riedel, das waren andere
+# Modified by:
+# Created:
+# CVS-ID:      $Id$
+# Copyright:   (c) 2002-2003 Universität Karlsruhe
+# Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
 #
 
 .PHONY: subdir_all
@@ -67,17 +72,23 @@ local_tags: $(TAGFILES)
 
 # installation
 install:       $(INCLUDEDIR) install_headers $(LIBDIR) install_libs
+       @echo ================================================
+       @echo Don\'t forget to add $(LIBDIR) to LD_LIBRARY_PATH
+       @echo Don\'t forget to add /usr/public/libxml2/lib to LD_LIBRARY_PATH
+       @echo ================================================
 
 install_headers:       subdir_install_headers local_install_headers
 local_install_headers:
 ifneq ($(strip $(INSTALL_HEADERS)),)
-       $(INSTALL) -C -m u+rw,a+r $(addprefix $(srcdir)/,$(INSTALL_HEADERS)) $(INCLUDEDIR)
+       $(INSTALL)  -m u+rw,a+r $(addprefix $(srcdir)/,$(INSTALL_HEADERS)) $(INCLUDEDIR)
 endif
 
 install_libs:          subdir_install_libs local_install_libs
 local_install_libs:
 ifneq ($(strip $(INSTALL_LIBS)),)
-       $(INSTALL) -C -m u+rw,a+r $(addprefix $(topdir)/,$(INSTALL_LIBS)) $(LIBDIR)
+       $(INSTALL)  -m u+rw,a+r $(addprefix $(topdir)/,$(INSTALL_LIBS)) $(LIBDIR)
+       # the '.a' are ranlib'ed already, and the '.so' doesn't need ranlib-ing
+       # $(RANLIB) $(addprefix $(LIBDIR)/,$(INSTALL_LIBS))
 endif