Use libtool.
authortwisti <none@none>
Mon, 6 Dec 2004 14:32:15 +0000 (14:32 +0000)
committertwisti <none@none>
Mon, 6 Dec 2004 14:32:15 +0000 (14:32 +0000)
src/vm/jit/x86_64/Makefile.am

index 6cd82272ae8d7c36e83e5f530919d81e03c6e517..6dbdb95a3623f729dee50fbe271f958dbc49a8ab 100644 (file)
@@ -1,4 +1,4 @@
-## vm/jit/x86_64/Makefile.am
+## src/vm/jit/x86_64/Makefile.am
 ##
 ## Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
 ## R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
@@ -28,7 +28,7 @@
 ##
 ## Changes:
 ##
-## $Id: Makefile.am 1676 2004-12-03 16:52:15Z twisti $
+## $Id: Makefile.am 1703 2004-12-06 14:32:15Z twisti $
 
 ## Process this file with automake to produce Makefile.in
 
@@ -39,9 +39,9 @@ noinst_HEADERS = \
        machine-instr.h \
        types.h
 
-noinst_LIBRARIES = libarch.a
+noinst_LTLIBRARIES = libarch.la
 
-libarch_a_SOURCES = \
+libarch_la_SOURCES = \
        ansidecl.h \
        asmpart.S \
        bfd.h \
@@ -57,7 +57,9 @@ libarch_a_SOURCES = \
        symcat.h
 
 asmpart.o: asmpart.S $(top_srcdir)/config.h offsets.h
-       $(COMPILE) -c $<
+
+.S.lo:
+       $(LIBTOOL) --mode=compile $(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