scsh-ldap/c/Makefile.am

19 lines
552 B
Makefile
Raw Normal View History

INCLUDES = -I@top_srcdir@/c -I@top_srcdir@/ffi-tools -I@scsh_includes@
SCSH= @SCSH@
GENERATED_CODE= ldap-consts.c
SCHEME_DIR= ../scheme
FFITOOLS_DIR= ../ffi-tools
CLEANFILES= $(GENERATED_CODE)
noinst_LTLIBRARIES = libscshldap.la
libscshldap_la_SOURCES = ldap.c $(GENERATED_CODE)
libscshldap_la_LDFLAGS=
libscshldap_la_DEPENDENCIES= $(GENERATED_CODE)
$(GENERATED_CODE):
$(SCSH) -lm $(FFITOOLS_DIR)/ffi-tools-package.scm \
-lm $(SCHEME_DIR)/ldap-constants.scm \
-o ldap-constants -c '(make-c-files command-line-arguments)' \
`pwd`