X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile.in;h=d698da0326614aebce45eb3cf64ced1d6b44d9b7;hb=0e45002f9ab2d22ffd30b117e84d8beb4c3b4307;hp=607661e973fb576502900fcbca73618d998932bf;hpb=de7982b842a22c312eac569e2b2fe3af2b3d3244;p=libfirm diff --git a/Makefile.in b/Makefile.in index 607661e97..d698da032 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,9 +1,13 @@ -# Hey Emacs, this is a -*- makefile -*- # -# libFIRM Project -# -# Top level Makefile -# $Id$ +# Project: libFIRM +# File name: Makefile.in +# Purpose: Top level Makefile +# 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. # @@ -15,15 +19,17 @@ srcdir := @srcdir@ topdir := . # subdirectory under topdir subdir := . +# do we want statistics +enable_statistics := @enable_statistics@ -subdirs := ir ir/adt ir/debug ir/tv ir/common ir/ident ir/ir ir/tr ir/ana ir/st +subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir ir/opt ir/tr ir/ana ir/st ir/stat SOURCES := Makefile.in MakeRules.in MakeTargets\ aclocal.m4 config.h.in\ config.guess config.sub configure.in \ stamp-h.in install-sh README configure -INSTALL_LIBS = libfirm.a libfirm.so +INSTALL_LIBS = libfirm.a GENFILES := stamp-h config.log config.cache # config.status config.h.in $(srcdir)/stamp-h.in @@ -37,9 +43,13 @@ include $(top_srcdir)/MakeTargets # add target firmjni if configured with --enable-firmjni all: firm -firm: config.h Makefile libfirm.a libfirm.so +firm: libfirm.a + +$(OFILES): config.h Makefile + +$(XOFILES): subdir_all -libfirm.a: subdir_all $(XOFILES) $(OFILES) +libfirm.a: $(XOFILES) $(OFILES) $(AR) $(ARFLAGS) $@.new $(XOFILES) $(OFILES) $(RANLIB) $@.new mv -f $@.new $@