Remove symlinks from repo, add to Makefile

This commit is contained in:
Howard Chu 2011-08-17 05:17:51 -07:00
parent 227e6976db
commit aa404bf364
5 changed files with 15 additions and 5 deletions

View file

@ -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

View file

@ -1 +0,0 @@
libmdb/mdb.c

View file

@ -1 +0,0 @@
libmdb/mdb.h

View file

@ -1 +0,0 @@
libmdb/midl.c

View file

@ -1 +0,0 @@
libmdb/midl.h