* Makefile.am (DEFS): Added. automake adds -I options to DEFS,
[bpt/guile.git] / qt / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2 ##
3 ## Copyright (C) 1998 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., 59 Temple Place, Suite
20 ## 330, Boston, MA 02111-1307 USA
21
22 AUTOMAKE_OPTIONS = foreign
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)
38
39 .s.lo:
40 $(LIBTOOL) --mode=compile $(COMPILE) $(qthread_asflags) -c $<
41 qtmds.s:
42 ${LN_S} ${srcdir}/${qtmds_s} qtmds.s
43 qtmdc.c:
44 ${LN_S} ${srcdir}/${qtmdc_c} qtmdc.c
45 qtdmdb.s:
46 ${LN_S} ${srcdir}/${qtdmdb_s} qtdmdb.s
47
48 EXTRA_DIST = CHANGES README.MISC README.PORT b.h meas.c stp.c stp.h \
49 Makefile.base config