mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-11-21 01:04:44 +08:00
96 lines
2.7 KiB
Plaintext
96 lines
2.7 KiB
Plaintext
#-----------------------------------------------------------------------------
|
|
# Copyright (c) 1994 Regents of the University of Michigan.
|
|
# All rights reserved.
|
|
#
|
|
# Redistribution and use in source and binary forms are permitted
|
|
# provided that this notice is preserved and that due credit is given
|
|
# to the University of Michigan at Ann Arbor. The name of the University
|
|
# may not be used to endorse or promote products derived from this
|
|
# software without specific prior written permission. This software
|
|
# is provided ``as is'' without express or implied warranty.
|
|
#
|
|
# LDAP doc Makefile
|
|
#
|
|
#-----------------------------------------------------------------------------
|
|
|
|
############################################################################
|
|
# #
|
|
# You should not have to edit anything below this point #
|
|
# #
|
|
############################################################################
|
|
|
|
all: FORCE
|
|
@echo "making all in `$(PWD)`"
|
|
@for i in *; do \
|
|
if [ -d $$i -a $$i != "RCS" ]; then \
|
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
|
|
( cd $$i; $(MAKE) $(MFLAGS) all ); \
|
|
fi; \
|
|
done
|
|
|
|
|
|
install: FORCE
|
|
@echo "making install in `$(PWD)`"
|
|
@for i in *; do \
|
|
if [ -d $$i -a $$i != "RCS" ]; then \
|
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
|
|
( cd $$i; $(MAKE) $(MFLAGS) install ); \
|
|
fi; \
|
|
done
|
|
|
|
|
|
clean: FORCE
|
|
@echo "making clean in `$(PWD)`"
|
|
@for i in *; do \
|
|
if [ -d $$i -a $$i != "RCS" ]; then \
|
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
|
|
( cd $$i; $(MAKE) $(MFLAGS) clean ); \
|
|
fi; \
|
|
done
|
|
|
|
|
|
veryclean: clean
|
|
|
|
|
|
depend: FORCE
|
|
@echo "making depend in `$(PWD)`"
|
|
@for i in *; do \
|
|
if [ -d $$i -a $$i != "RCS" ]; then \
|
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
|
|
( cd $$i; $(MAKE) $(MFLAGS) depend ); \
|
|
fi; \
|
|
done
|
|
|
|
|
|
lint: FORCE
|
|
@echo "making lint in `$(PWD)`"
|
|
@for i in *; do \
|
|
if [ -d $$i -a $$i != "RCS" ]; then \
|
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) lint"; \
|
|
( cd $$i; $(MAKE) $(MFLAGS) lint ); \
|
|
fi; \
|
|
done
|
|
|
|
|
|
5lint: FORCE
|
|
@echo "making 5lint in `$(PWD)`"
|
|
@for i in *; do \
|
|
if [ -d $$i -a $$i != "RCS" ]; then \
|
|
echo; echo " cd $$i; $(MAKE) $(MFLAGS) 5lint"; \
|
|
( cd $$i; $(MAKE) $(MFLAGS) 5lint ); \
|
|
fi; \
|
|
done
|
|
|
|
|
|
links:
|
|
@echo "making links in `$(PWD)`"; \
|
|
for i in .src/*; do \
|
|
if [ -d $$i -a $$i != ".src/RCS" ]; then \
|
|
d=`basename $$i`; \
|
|
( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
|
|
$(LN) ../.src/$$d/Make-template . ; \
|
|
$(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
|
|
-f Make-template links ) ; \
|
|
fi; \
|
|
done
|