scsh-ldap/c/Makefile.am

20 lines
601 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)
2004-02-09 08:55:35 -05:00
libsys_LTLIBRARIES= libscshldap.la
libscshldap_la_SOURCES= ldap.c $(FFITOOLS_DIR)/ffi-tools.c $(GENERATED_CODE)
2004-02-09 08:55:35 -05:00
libscshldap_la_LDFLAGS= -avoid-version -module
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)' \
2004-02-09 08:55:35 -05:00
`pwd`