GNU header update.
[cacao.git] / src / vm / jit / mips / Makefile.am
index 1dbc111da6589ddd2bf18622ddde05d745569e1a..0021f5a2aade041f3ff5c140076c9c9bc869bf82 100644 (file)
@@ -1,29 +1,64 @@
+## src/vm/jit/mips/Makefile.am
+##
+## Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
+## R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
+## C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
+## Institut f. Computersprachen - TU Wien
+##
+## This file is part of CACAO.
+##
+## This program is free software; you can redistribute it and/or
+## modify it under the terms of the GNU General Public License as
+## published by the Free Software Foundation; either version 2, or (at
+## your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.
+##
+## Contact: cacao@complang.tuwien.ac.at
+##
+## Authors: Christian Thalinger
+##
+## Changes:
+##
+## $Id: Makefile.am 1735 2004-12-07 14:33:27Z twisti $
+
 ## Process this file with automake to produce Makefile.in
 
-# $Id: Makefile.am 617 2003-11-13 09:20:03Z stefan $
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
+
+CLEANFILES = offsets.h
 
+noinst_HEADERS = \
+       arch.h \
+       machine-instr.h \
+       types.h
 
-INCLUDES = -I$(top_srcdir)/jit
+noinst_LTLIBRARIES = libarch.la
 
-EXTRA_DIST = \
+libarch_la_SOURCES = \
+       asmoffsets.h \
        asmpart.S \
-       disass.c \
-       disass.h \
-       native-math.h \
        codegen.c \
        codegen.h \
-       types.h
+       disass.c \
+       disass.h
 
-noinst_LIBRARIES = libarch.a
+asmpart.S: $(top_srcdir)/config.h offsets.h
 
-libarch_a_SOURCES = asmpart.S codegen.c disass.c
+.S.lo:
+       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
 
-#%.o: %.S
-#      $(COMPILE) -c $<
+offsets.h: $(top_srcdir)/src/vm/jit/tools/genoffsets $(top_srcdir)/config.h $(top_srcdir)/src/vm/global.h $(top_srcdir)/src/threads/native/threads.h
+       $(top_srcdir)/src/vm/jit/tools/genoffsets > offsets.h
 
-%.o: %.S
-       $(CC) -E asmpart.S > asmpart.s
-       $(COMPILE) -c asmpart.s
 
 ## Local variables:
 ## mode: Makefile