From ab999a75c574b30811d5e6dc50b5f470a1110840 Mon Sep 17 00:00:00 2001 From: eknauel Date: Tue, 10 Feb 2004 10:02:23 +0000 Subject: [PATCH] build const-gen.scm --- Makefile.am | 2 +- configure.in | 2 +- scheme/Makefile.am | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 scheme/Makefile.am diff --git a/Makefile.am b/Makefile.am index 6f20b92..cf84c45 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1 @@ -SUBDIRS = c +SUBDIRS = c scheme diff --git a/configure.in b/configure.in index 9dfec7e..5f09561 100644 --- a/configure.in +++ b/configure.in @@ -133,4 +133,4 @@ AC_SUBST(libdir) AC_SUBST(libsysdir) AC_SUBST(schemedir) AC_SUBST(CC) -AC_OUTPUT([Makefile c/Makefile]) +AC_OUTPUT([Makefile c/Makefile scheme/Makefile]) diff --git a/scheme/Makefile.am b/scheme/Makefile.am new file mode 100644 index 0000000..abe9559 --- /dev/null +++ b/scheme/Makefile.am @@ -0,0 +1,11 @@ +SCSH= @SCSH@ + +noinst_SCRIPTS = const-gen.scm +BUILT_SOURCES = const-gen.scm +FFITOOLS_DIR= ../ffi-tools +CLEANFILES = $(BUILT_SOURCES) + +$(BUILT_SOURCES): + $(SCSH) -lm $(srcdir)/$(FFITOOLS_DIR)/ffi-tools-package.scm -lm ldap-constants.scm \ + -o ldap-constants -c '(make-scm-files command-line-arguments)' \ + `pwd`