summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
Unidiff
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am19
1 files changed, 5 insertions, 14 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8b44d37..c5d713b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,56 +1,47 @@
1# This file is part of guile-sql. 1# This file is part of guile-sql.
2# Copyright (C) 2002, Sergey Poznyakoff 2# Copyright (C) 2002, 2007, Sergey Poznyakoff
3# 3#
4# This file is free software; as a special exception the author gives 4# This file is free software; as a special exception the author gives
5# unlimited permission to copy and/or distribute it, with or without 5# unlimited permission to copy and/or distribute it, with or without
6# modifications, as long as this notice is preserved. 6# modifications, as long as this notice is preserved.
7# 7#
8# This program is distributed in the hope that it will be useful, but 8# This program is distributed in the hope that it will be useful, but
9# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the 9# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 11
12INCLUDES =-I$(top_builddir) -I$(srcdir) -I. @GUILE_INCLUDES@ @INCLUDEPATH@ 12INCLUDES =-I$(top_builddir) -I$(srcdir) -I. @GUILE_INCLUDES@ @INCLUDEPATH@
13 13
14LIB_SQL=libguile-sql.la 14LIB_SQL=libguile-sql.la
15LIB_GETTEXT=libguile-gettext.la
16 15
17EXTRA_LTLIBRARIES=libguile-sql.la libguile-gettext.la 16EXTRA_LTLIBRARIES=libguile-sql.la
18 17
19lib_LTLIBRARIES=@BUILD_LIBS@ 18lib_LTLIBRARIES=@BUILD_LIBS@
20libguile_sql_la_LIBADD = @LTLIBOBJS@ @GUILE_LIBS@ 19libguile_sql_la_LIBADD = @LTLIBOBJS@ @GUILE_LIBS@
21libguile_sql_la_SOURCES=\ 20libguile_sql_la_SOURCES=\
22 gsql_conn.c\ 21 gsql_conn.c\
23 gsql_lib.c 22 gsql_lib.c
24 23
25libguile_sql_la_LDFLAGS = -rpath $(libdir) -version-info 0:0:0 24libguile_sql_la_LDFLAGS = -rpath $(libdir) -version-info 0:0:0
26 25
27libguile_gettext_la_LIBADD = @GUILE_LIBS@ @LTLIBINTL@ 26noinst_HEADERS=guile-sql.h app.h
28libguile_gettext_la_SOURCES = gettext.c 27EXTRA_DIST=sql.sci gettext.scm
29
30libguile_gettext_la_LDFLAGS = -rpath $(libdir) -version-info 0:0:0
31
32
33noinst_HEADERS=guile-sql.h app.h gettext.h
34EXTRA_DIST=sql.sci gettext.sci
35 28
36.sci.scm: 29.sci.scm:
37 m4 -DVERSION=$(VERSION) -DLIBDIR=$(libdir) \ 30 m4 -DVERSION=$(VERSION) -DLIBDIR=$(libdir) \
38 -DBUILDDIR="`pwd`" $< > $@ 31 -DBUILDDIR="`pwd`" $< > $@
39 32
40sql.scm: Makefile $(libguile_sql_la_SOURCES:.c=.inc) 33sql.scm: Makefile $(libguile_sql_la_SOURCES:.c=.inc)
41gettext.scm: Makefile $(libguile_gettext_la_SOURCES:.c=.inc)
42 34
43SCM_SQL=sql.scm 35SCM_SQL=sql.scm
44X_SQL=gsql_conn.x 36X_SQL=gsql_conn.x
45 37
46SCM_GETTEXT=gettext.scm 38SCM_GETTEXT=gettext.scm
47X_GETTEXT=gettext.x
48 39
49guiledir=$(GUILE_SITE)/$(PACKAGE) 40guiledir=$(GUILE_SITE)/$(PACKAGE)
50guile_DATA=guile-procedures.txt @BUILD_DATA@ 41guile_DATA=guile-procedures.txt @BUILD_DATA@
51DOT_X_FILES=@BUILD_X@ 42DOT_X_FILES=@BUILD_X@
52DOT_DOC_FILES=$(DOT_X_FILES:.x=.doc) 43DOT_DOC_FILES=$(DOT_X_FILES:.x=.doc)
53CLEANFILES=*.inc *.x *.doc 44CLEANFILES=*.inc *.x *.doc
54 45
55BUILT_SOURCES=$(DOT_X_FILES) $(DOT_DOC_FILES) 46BUILT_SOURCES=$(DOT_X_FILES) $(DOT_DOC_FILES)
56 47

Return to:

Send suggestions and report system problems to the System administrator.