X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=MakeTargets;h=d08b95eeb2f1dad678c4f9b09aba926c9cf0b7bd;hb=f34c10e30b6812a53efbb2634c04c3511c75344b;hp=b5538041a147b90128d326d92d08919df6320bd3;hpb=dfab8239dc5e12a4333a49361ac2a1f5b31a4eea;p=libfirm diff --git a/MakeTargets b/MakeTargets index b5538041a..d08b95eeb 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: Till Riedel +# 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 @@ -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 @@ -74,30 +71,30 @@ local_tags: $(TAGFILES) etags -C $^ # installation -install: $(INCLUDEDIR)/$(PACKAGE_NAME) install_headers $(LIBDIR) install_libs +install: $(INCLUDEDIR) install_headers $(LIBDIR) install_libs 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)/$(PACKAGE_NAME) + $(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) endif -$(LIBDIR): $(LIBDIR) +$(LIBDIR): mkdir -p $@ -$(INCLUDEDIR)/$(PACKAGE_NAME): $(INCLUDEDIR)/$(PACKAGE_NAME) +$(INCLUDEDIR): mkdir -p $@ # generated the directory where all the generated documentation is $(AUTODOCDIR): - mkdir $@ + mkdir -p $@ # print some help .PHONY: help