mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
Remove symlinks from repo, add to Makefile
This commit is contained in:
parent
227e6976db
commit
aa404bf364
5 changed files with 15 additions and 5 deletions
|
|
@ -18,7 +18,10 @@ SRCS = init.c tools.c config.c \
|
|||
extended.c referral.c operational.c \
|
||||
attr.c index.c key.c dbcache.c filterindex.c \
|
||||
dn2entry.c dn2id.c error.c id2entry.c idl.c \
|
||||
nextid.c monitor.c mdb.c midl.c
|
||||
nextid.c monitor.c
|
||||
|
||||
XXSRCS = mdb.c midl.c
|
||||
XXHEADERS = mdb.h midl.h
|
||||
|
||||
OBJS = init.lo tools.lo config.lo \
|
||||
add.lo bind.lo compare.lo delete.lo modify.lo modrdn.lo search.lo \
|
||||
|
|
@ -51,3 +54,14 @@ all-local-lib: ../.backend
|
|||
../.backend: lib$(LIBBASE).a
|
||||
@touch $@
|
||||
|
||||
.links:
|
||||
@for i in $(XXSRCS) $(XXHEADERS); do \
|
||||
$(RM) $$i; \
|
||||
ii=`find $(srcdir)/libmdb -name $$i`; \
|
||||
$(LN_S) $$ii . ; \
|
||||
done
|
||||
touch .links
|
||||
|
||||
$(XXSRCS) $(XXHEADERS): .links
|
||||
|
||||
depend-common: .links
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
libmdb/mdb.c
|
||||
|
|
@ -1 +0,0 @@
|
|||
libmdb/mdb.h
|
||||
|
|
@ -1 +0,0 @@
|
|||
libmdb/midl.c
|
||||
|
|
@ -1 +0,0 @@
|
|||
libmdb/midl.h
|
||||
Loading…
Reference in a new issue