X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=MakeTargets;h=e994405d2354b47af2503a77d33215bb523b7f3e;hb=34021c4129879e5f979f6736643e1e42a558471b;hp=1004875b112b1679033f8d5d5722a25e5d20a2b8;hpb=6545ec5d9bfbe1dd50d2c832d8ea1eeceb6b7229;p=libfirm diff --git a/MakeTargets b/MakeTargets index 1004875b1..e994405d2 100644 --- a/MakeTargets +++ b/MakeTargets @@ -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 @@ -15,7 +20,7 @@ ifeq ($(strip $(OFILES)),) >$@ else rm -f $@ - $(LD) $(LDFLAGS) -r -o $@ $^ + $(LD) $(LDFLAGS) -r -o $@ $^ endif clean: subdir_clean local_clean @@ -35,14 +40,6 @@ else $(CC) -M $(DEFS) $(CPPFLAGS) $(filter %.c,$^) >.depend || { $(RM) .depend; false; } endif -autodoc_xref: subdir_autodoc_xref local_autodoc_xref -.PHONY: local_autodoc_xref -local_autodoc_xref: $(LOCALXREFSFILE) - -autodoc_html: subdir_autodoc_html local_autodoc_html -.PHONY: local_autodoc_html -local_autodoc_html: $(HTMLFILES) - # generate an archive for distribution distrib: dist @@ -75,29 +72,34 @@ 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) -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) -m u+rw,a+r $(addprefix $(topdir)/,$(INSTALL_LIBS)) $(LIBDIR) + $(INSTALL) -m u+rw,a+r $(addprefix $(topdir)/,$(INSTALL_LIBS)) $(LIBDIR) + $(RANLIB) $(addprefix $(LIBDIR)/,$(INSTALL_LIBS)) endif -$(LIBDIR): $(LIBDIR) +$(LIBDIR): mkdir -p $@ -$(INCLUDEDIR): $(INCLUDEDIR) +$(INCLUDEDIR): mkdir -p $@ # generated the directory where all the generated documentation is $(AUTODOCDIR): - mkdir $@ + mkdir -p $@ # print some help .PHONY: help