Added forgotten ansidecl.h.
[cacao.git] / src / vm / jit / i386 / Makefile.am
index 0cae393bd708506765923d124eb59de6d4760005..9774c72d3ecae870da7241e38701aca18ca140aa 100644 (file)
@@ -1,40 +1,71 @@
+## src/vm/jit/i386/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 1749 2004-12-10 13:53:36Z twisti $
+
 ## Process this file with automake to produce Makefile.in
 
-# $Id: Makefile.am 1350 2004-07-22 22:38:12Z twisti $
+INCLUDES = -I$(top_srcdir)/src
+
+CLEANFILES = offsets.h
 
+noinst_HEADERS = \
+       arch.h \
+       machine-instr.h \
+       types.h
 
-INCLUDES = -I$(top_srcdir)
+noinst_LTLIBRARIES = libarch.la
 
-EXTRA_DIST = \
+libarch_la_SOURCES = \
+       ansidecl.h \
+       asmoffsets.h \
        asmpart.S \
        bfd.h \
        codegen.c \
        codegen.h \
+       dis-buf.c \
        dis-asm.h \
        disass.c \
        disass.h \
        emitfuncs.c \
        emitfuncs.h \
-       machine-instr.h \
-       types.h
+       i386-dis.c \
+       symcat.h
 
-noinst_LIBRARIES = libarch.a
-
-libarch_a_SOURCES = \
-       asmpart.S \
-       codegen.c \
-       dis-buf.c \
-       disass.c \
-       emitfuncs.c \
-       i386-dis.c
+asmpart.S: $(top_srcdir)/config.h offsets.h
 
-asmpart.o: asmpart.S $(top_srcdir)/config.h offsets.h
-       $(COMPILE) -c $<
+.S.lo:
+       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
 
-#offsets.h: $(top_srcdir)/genoffsets $(top_srcdir)/config.h
-offsets.h: $(top_srcdir)/config.h $(top_srcdir)/global.h $(top_srcdir)/threads/thread.h
-       $(COMPILE) -o $(top_srcdir)/genoffsets $(top_srcdir)/genoffsets.c
-       $(top_srcdir)/genoffsets > offsets.h
+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
 
 
 ## Local variables: