2004-01-16 11:38:26 -05:00
|
|
|
INCLUDES = -I@top_srcdir@/c -I@top_srcdir@/ffi-tools -I@scsh_includes@
|
2003-12-31 10:40:26 -05:00
|
|
|
SCSH= @SCSH@
|
2003-11-17 09:43:07 -05:00
|
|
|
|
2004-01-16 11:38:26 -05:00
|
|
|
GENERATED_CODE= ldap-consts.c
|
2003-12-31 10:40:26 -05:00
|
|
|
SCHEME_DIR= ../scheme
|
2004-01-16 11:38:26 -05:00
|
|
|
FFITOOLS_DIR= ../ffi-tools
|
2003-12-31 10:40:26 -05:00
|
|
|
CLEANFILES= $(GENERATED_CODE)
|
|
|
|
|
2004-02-09 08:55:35 -05:00
|
|
|
libsys_LTLIBRARIES= libscshldap.la
|
2003-11-17 09:43:07 -05:00
|
|
|
|
2004-02-10 05:00:31 -05:00
|
|
|
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
|
2004-01-16 11:38:26 -05:00
|
|
|
libscshldap_la_DEPENDENCIES= $(GENERATED_CODE)
|
2003-12-31 10:40:26 -05:00
|
|
|
|
|
|
|
$(GENERATED_CODE):
|
2004-01-16 11:38:26 -05:00
|
|
|
$(SCSH) -lm $(FFITOOLS_DIR)/ffi-tools-package.scm \
|
2003-12-31 10:40:26 -05:00
|
|
|
-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`
|