-# 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.
#
topdir := .
# subdirectory under topdir
subdir := .
+# do we want statistics
+enable_statistics := @enable_statistics@
-subdirs := 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
# add target firmjni if configured with --enable-firmjni
all: firm
-firm: config.h Makefile libfirm.a
+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 $@