19 lines
450 B
Makefile
19 lines
450 B
Makefile
INCLUDES = -I@top_srcdir@/c -I@scsh_includes@
|
|
SCSH= @SCSH@
|
|
|
|
GENERATED_CODE= ldap-consts.c const-decls-h
|
|
SCHEME_DIR= ../scheme
|
|
CLEANFILES= $(GENERATED_CODE)
|
|
|
|
noinst_LTLIBRARIES = libscshldap.la
|
|
|
|
libscshldap_la_SOURCES = ldap.c
|
|
|
|
libscshldap_la_LDFLAGS=
|
|
|
|
$(GENERATED_CODE):
|
|
$(SCSH) -lm $(SCHEME_DIR)/ffi-tools-packages.scm \
|
|
-lm $(SCHEME_DIR)/ldap-constants.scm \
|
|
-o ldap-constants -c '(make-c-files command-line-arguments)' \
|
|
`pwd`
|