merge from 1.8 branch
[bpt/guile.git] / qt / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2 ##
3 ## Copyright (C) 1998, 2000, 2006 Free Software Foundation, Inc.
4 ##
5 ## This file is part of GUILE.
6 ##
7 ## GUILE is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as
9 ## published by the Free Software Foundation; either version 2, or
10 ## (at your option) any later version.
11 ##
12 ## GUILE is distributed in the hope that it will be useful, but
13 ## WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ## GNU General Public License for more details.
16 ##
17 ## You should have received a copy of the GNU General Public
18 ## License along with GUILE; see the file COPYING. If not, write
19 ## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
20 ## Floor, Boston, MA 02110-1301 USA
21
22 AUTOMAKE_OPTIONS = gnu
23
24 ## subdirs are for making distributions only.
25 SUBDIRS = md time
26
27 lib_LTLIBRARIES = @QTHREAD_LTLIBS@
28 EXTRA_LTLIBRARIES = libqthreads.la
29
30 ## Prevent automake from adding extra -I options
31 DEFS = @DEFS@
32 INCLUDES = -I.. -I$(srcdir)/..
33
34 libqthreads_la_SOURCES = qt.c copyright.h
35 libqthreads_la_LIBADD = qtmds.lo qtmdc.lo
36 libqthreads_la_DEPENDENCIES = qtmds.lo qtmdc.lo
37 libqthreads_la_LDFLAGS = -rpath $(libdir) -export-dynamic -no-undefined \
38 -version-info @LIBQTHREADS_INTERFACE@
39
40 # Seems to be obsolete - autogen.sh is giving:
41 # invalid unused variable name: `OMIT_DEPENDENCIES'
42 #OMIT_DEPENDENCIES = axp.h hppa.h i386.h ksr.h m88k.h mips.h sparc.h vax.h
43
44 .s.lo:
45 $(LIBTOOL) --mode=compile $(COMPILE) $(qthread_asflags) -c $<
46 qtmds.s:
47 ${LN_S} ${srcdir}/${qtmds_s} qtmds.s
48 qtmdc.c:
49 ${LN_S} ${srcdir}/${qtmdc_c} qtmdc.c
50 qtdmdb.s:
51 ${LN_S} ${srcdir}/${qtdmdb_s} qtdmdb.s
52
53 EXTRA_DIST = CHANGES README.MISC README.PORT b.h meas.c stp.c stp.h \
54 Makefile.base config libqthreads.def