3 |
## Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. |
## Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. |
4 |
## |
## |
5 |
## This file is part of GUILE. |
## This file is part of GUILE. |
6 |
## |
## |
7 |
## GUILE is free software; you can redistribute it and/or modify |
## GUILE is free software; you can redistribute it and/or modify |
8 |
## it under the terms of the GNU General Public License as |
## it under the terms of the GNU General Public License as |
9 |
## published by the Free Software Foundation; either version 2, or |
## published by the Free Software Foundation; either version 2, or |
10 |
## (at your option) any later version. |
## (at your option) any later version. |
11 |
## |
## |
12 |
## GUILE is distributed in the hope that it will be useful, but |
## GUILE is distributed in the hope that it will be useful, but |
13 |
## WITHOUT ANY WARRANTY; without even the implied warranty of |
## WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
## GNU General Public License for more details. |
## GNU General Public License for more details. |
16 |
## |
## |
17 |
## You should have received a copy of the GNU General Public |
## You should have received a copy of the GNU General Public |
18 |
## License along with GUILE; see the file COPYING. If not, write |
## License along with GUILE; see the file COPYING. If not, write |
19 |
## to the Free Software Foundation, Inc., 59 Temple Place, Suite |
## to the Free Software Foundation, Inc., 59 Temple Place, Suite |
20 |
## 330, Boston, MA 02111-1307 USA |
## 330, Boston, MA 02111-1307 USA |
21 |
|
|
22 |
AUTOMAKE_OPTIONS = foreign |
AUTOMAKE_OPTIONS = gnu |
23 |
|
|
24 |
## Prevent automake from adding extra -I options |
## Prevent automake from adding extra -I options |
25 |
DEFS = @DEFS@ |
DEFS = @DEFS@ |
93 |
filesys.c posix.c net_db.c socket.c \ |
filesys.c posix.c net_db.c socket.c \ |
94 |
ramap.c unif.c debug-malloc.c |
ramap.c unif.c debug-malloc.c |
95 |
|
|
|
## In next release, threads will be factored out of libguile. |
|
|
## Until then, the machine specific headers is a temporary kludge. |
|
|
OMIT_DEPENDENCIES = libguile.h ltdl.h \ |
|
|
axp.h hppa.h i386.h ksr.h m88k.h mips.h sparc.h vax.h |
|
|
|
|
96 |
## This is kind of nasty... there are ".c" files that we don't want to |
## This is kind of nasty... there are ".c" files that we don't want to |
97 |
## compile, since they are #included in threads.c. So instead we list |
## compile, since they are #included in threads.c. So instead we list |
98 |
## them here. Perhaps we can deal with them normally once the merge |
## them here. Perhaps we can deal with them normally once the merge |
103 |
libguile_la_LIBADD = @LIBLOBJS@ $(LIBLTDL) |
libguile_la_LIBADD = @LIBLOBJS@ $(LIBLTDL) |
104 |
libguile_la_LDFLAGS = -version-info @LIBGUILE_MAJOR_VERSION@:@LIBGUILE_MINOR_VERSION@:@LIBGUILE_REVISION_VERSION@ -export-dynamic |
libguile_la_LDFLAGS = -version-info @LIBGUILE_MAJOR_VERSION@:@LIBGUILE_MINOR_VERSION@:@LIBGUILE_REVISION_VERSION@ -export-dynamic |
105 |
|
|
106 |
# These are headers visible as <guile/mumble.h> |
# These are headers visible as <guile/mumble.h> |
107 |
pkginclude_HEADERS = gh.h |
pkginclude_HEADERS = gh.h |
108 |
|
|
109 |
# These are headers visible as <libguile/mumble.h>. |
# These are headers visible as <libguile/mumble.h>. |
134 |
|
|
135 |
## FIXME: Consider using timestamp file, to avoid unnecessary rebuilds. |
## FIXME: Consider using timestamp file, to avoid unnecessary rebuilds. |
136 |
libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status |
libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status |
137 |
@echo "Generating libpath.h..." |
@echo "Generating libpath.h..." |
138 |
@rm -f libpath.tmp |
@rm -f libpath.tmp |
139 |
@echo '/* generated by Makefile */' > libpath.tmp |
@echo '/* generated by Makefile */' > libpath.tmp |
140 |
@echo '#define SCM_PKGDATA_DIR "$(pkgdatadir)"' >> libpath.tmp |
@echo '#define SCM_PKGDATA_DIR "$(pkgdatadir)"' >> libpath.tmp |
168 |
@mv libpath.tmp libpath.h |
@mv libpath.tmp libpath.h |
169 |
|
|
170 |
|
|
171 |
# ./guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ |
# ./guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ |
172 |
|
|
173 |
SUFFIXES = .x .doc |
SUFFIXES = .x .doc |
174 |
.c.x: |
.c.x: |