mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fixup overlay build environment
This commit is contained in:
parent
409003a731
commit
e28d089a93
@ -2941,7 +2941,7 @@ servers/slapd/back-shell/Makefile:build/top.mk:servers/slapd/back-shell/Makefile
|
|||||||
servers/slapd/back-sql/Makefile:build/top.mk:servers/slapd/back-sql/Makefile.in:build/mod.mk \
|
servers/slapd/back-sql/Makefile:build/top.mk:servers/slapd/back-sql/Makefile.in:build/mod.mk \
|
||||||
servers/slapd/shell-backends/Makefile:build/top.mk:servers/slapd/shell-backends/Makefile.in:build/srv.mk \
|
servers/slapd/shell-backends/Makefile:build/top.mk:servers/slapd/shell-backends/Makefile.in:build/srv.mk \
|
||||||
servers/slapd/slapi/Makefile:build/top.mk:servers/slapd/slapi/Makefile.in:build/lib.mk:build/lib-shared.mk \
|
servers/slapd/slapi/Makefile:build/top.mk:servers/slapd/slapi/Makefile.in:build/lib.mk:build/lib-shared.mk \
|
||||||
servers/slapd/overlays/Makefile:build/top.mk:servers/slapd/overlays/Makefile.in:build/lib.mk:build/lib-shared.mk \
|
servers/slapd/overlays/Makefile:build/top.mk:servers/slapd/overlays/Makefile.in:build/lib.mk \
|
||||||
servers/slapd/tools/Makefile:build/top.mk:servers/slapd/tools/Makefile.in \
|
servers/slapd/tools/Makefile:build/top.mk:servers/slapd/tools/Makefile.in \
|
||||||
servers/slurpd/Makefile:build/top.mk:servers/slurpd/Makefile.in:build/srv.mk \
|
servers/slurpd/Makefile:build/top.mk:servers/slurpd/Makefile.in:build/srv.mk \
|
||||||
tests/Makefile:build/top.mk:tests/Makefile.in:build/dir.mk \
|
tests/Makefile:build/top.mk:tests/Makefile.in:build/dir.mk \
|
||||||
|
@ -17,6 +17,8 @@ PROGRAMS=slapd
|
|||||||
XPROGRAMS=sslapd libbackends.a .backend liboverlays.a
|
XPROGRAMS=sslapd libbackends.a .backend liboverlays.a
|
||||||
XSRCS=version.c
|
XSRCS=version.c
|
||||||
|
|
||||||
|
SUBDIRS=back-* shell-backends slapi overlays tools
|
||||||
|
|
||||||
NT_SRCS = nt_svc.c
|
NT_SRCS = nt_svc.c
|
||||||
NT_OBJS = nt_svc.o ../../libraries/liblutil/slapdmsg.res
|
NT_OBJS = nt_svc.o ../../libraries/liblutil/slapdmsg.res
|
||||||
|
|
||||||
@ -307,7 +309,7 @@ version.c: Makefile
|
|||||||
version.o: version.c $(OBJS) $(SLAPD_LIBDEPEND)
|
version.o: version.c $(OBJS) $(SLAPD_LIBDEPEND)
|
||||||
|
|
||||||
depend-local-srv: FORCE
|
depend-local-srv: FORCE
|
||||||
@for i in back-* shell-backends slapi tools; do \
|
@for i in $(SUBDIRS); do \
|
||||||
if test -d $$i -a -f $$i/Makefile ; then \
|
if test -d $$i -a -f $$i/Makefile ; then \
|
||||||
echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
|
||||||
( cd $$i; $(MAKE) $(MFLAGS) depend ); \
|
( cd $$i; $(MAKE) $(MFLAGS) depend ); \
|
||||||
@ -320,7 +322,7 @@ clean-local:
|
|||||||
rm -f *.exp *.def *.base *.a *.objs symdummy.c
|
rm -f *.exp *.def *.base *.a *.objs symdummy.c
|
||||||
|
|
||||||
clean-local-srv: FORCE
|
clean-local-srv: FORCE
|
||||||
@for i in back-* shell-backends slapi tools; do \
|
@for i in $(SUBDIRS); do \
|
||||||
if test -d $$i -a -f $$i/Makefile ; then \
|
if test -d $$i -a -f $$i/Makefile ; then \
|
||||||
echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
|
||||||
( cd $$i; $(MAKE) $(MFLAGS) clean ); \
|
( cd $$i; $(MAKE) $(MFLAGS) clean ); \
|
||||||
@ -330,7 +332,7 @@ clean-local-srv: FORCE
|
|||||||
rm -f *.tmp all-cffiles
|
rm -f *.tmp all-cffiles
|
||||||
|
|
||||||
veryclean-local-srv: FORCE
|
veryclean-local-srv: FORCE
|
||||||
@for i in back-* shell-backends slapi tools; do \
|
@for i in $(SUBDIRS); do \
|
||||||
if test -d $$i -a -f $$i/Makefile ; then \
|
if test -d $$i -a -f $$i/Makefile ; then \
|
||||||
echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
|
||||||
( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \
|
( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \
|
||||||
@ -344,7 +346,7 @@ install-slapd: FORCE
|
|||||||
-$(MKDIR) $(DESTDIR)$(localstatedir)
|
-$(MKDIR) $(DESTDIR)$(localstatedir)
|
||||||
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
|
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
|
||||||
slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
|
slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
|
||||||
@for i in back-* shell-backends slapi tools; do \
|
@for i in $(SUBDIRS); do \
|
||||||
if test -d $$i -a -f $$i/Makefile ; then \
|
if test -d $$i -a -f $$i/Makefile ; then \
|
||||||
echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
|
||||||
( cd $$i; $(MAKE) $(MFLAGS) install ); \
|
( cd $$i; $(MAKE) $(MFLAGS) install ); \
|
||||||
|
@ -48,3 +48,12 @@ install-local: $(PROGRAMS)
|
|||||||
$(LTINSTALL) $(INSTALLFLAGS) -m 755 $$i $(DESTDIR)$(moduledir);\
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 $$i $(DESTDIR)$(moduledir);\
|
||||||
done
|
done
|
||||||
|
|
||||||
|
MKDEPFLAG = -l
|
||||||
|
|
||||||
|
.SUFFIXES: .c .o .lo
|
||||||
|
|
||||||
|
.c.lo:
|
||||||
|
$(LTCOMPILE_LIB) $<
|
||||||
|
|
||||||
|
$(LIBRARY): version.lo
|
||||||
|
$(LTLINK_LIB) -o $@ $(OBJS) version.lo
|
||||||
|
Loading…
Reference in New Issue
Block a user