-## 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
+## src/threads/Makefile.am
+##
+## Copyright (C) 1996-2005, 2006, 2007 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.
##
##
## 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
+## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
##
-## Changes:
-##
-## $Id: Makefile.am 1735 2004-12-07 14:33:27Z twisti $
+## $Id: Makefile.am 7813 2007-04-25 19:20:13Z twisti $
## Process this file with automake to produce Makefile.in
-if USE_THREADS
-if NATIVE_THREADS
-SUBDIRS = native
-else
-SUBDIRS = green
-endif
-else
-SUBDIRS =
-endif
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR) -I$(top_builddir)/src
+
+LIB =
+
+DIST_SUBDIRS = \
+ native \
+ none
+
+SUBDIRS = \
+ native
+
+THREAD_LIB = \
+ native/libthreadsposix.la
+
+noinst_LTLIBRARIES = \
+ libthreads.la
+
+libthreads_la_SOURCES = \
+ critical.c \
+ critical.h \
+ lock-common.h \
+ threads-common.c \
+ threads-common.h
+
+libthreads_la_LIBADD = \
+ $(THREAD_LIB)
## Local variables: