added dependency: generate ldap-const.c first
This commit is contained in:
parent
feae1fa4a9
commit
315ee24b5c
|
@ -1,18 +1,19 @@
|
||||||
INCLUDES = -I@top_srcdir@/c -I@scsh_includes@
|
INCLUDES = -I@top_srcdir@/c -I@top_srcdir@/ffi-tools -I@scsh_includes@
|
||||||
SCSH= @SCSH@
|
SCSH= @SCSH@
|
||||||
|
|
||||||
GENERATED_CODE= ldap-consts.c const-decls-h
|
GENERATED_CODE= ldap-consts.c
|
||||||
SCHEME_DIR= ../scheme
|
SCHEME_DIR= ../scheme
|
||||||
|
FFITOOLS_DIR= ../ffi-tools
|
||||||
CLEANFILES= $(GENERATED_CODE)
|
CLEANFILES= $(GENERATED_CODE)
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libscshldap.la
|
noinst_LTLIBRARIES = libscshldap.la
|
||||||
|
|
||||||
libscshldap_la_SOURCES = ldap.c
|
libscshldap_la_SOURCES = ldap.c $(GENERATED_CODE)
|
||||||
|
|
||||||
libscshldap_la_LDFLAGS=
|
libscshldap_la_LDFLAGS=
|
||||||
|
libscshldap_la_DEPENDENCIES= $(GENERATED_CODE)
|
||||||
|
|
||||||
$(GENERATED_CODE):
|
$(GENERATED_CODE):
|
||||||
$(SCSH) -lm $(SCHEME_DIR)/ffi-tools-packages.scm \
|
$(SCSH) -lm $(FFITOOLS_DIR)/ffi-tools-package.scm \
|
||||||
-lm $(SCHEME_DIR)/ldap-constants.scm \
|
-lm $(SCHEME_DIR)/ldap-constants.scm \
|
||||||
-o ldap-constants -c '(make-c-files command-line-arguments)' \
|
-o ldap-constants -c '(make-c-files command-line-arguments)' \
|
||||||
`pwd`
|
`pwd`
|
Loading…
Reference in New Issue