1998-12-29 03:58:57 +08:00
|
|
|
## Copyright 1998,1999 The OpenLDAP Foundation
|
|
|
|
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
|
|
|
## of this package for details.
|
1998-10-25 09:41:42 +08:00
|
|
|
##---------------------------------------------------------------------------
|
|
|
|
##
|
|
|
|
## Makefile Template for Servers
|
|
|
|
##
|
|
|
|
|
|
|
|
all-common: FORCE
|
1999-04-21 14:09:19 +08:00
|
|
|
@if test "$(BUILD_SRV)" = "yes" ; then \
|
1998-10-25 09:41:42 +08:00
|
|
|
$(MAKE) $(MFLAGS) all-srv; \
|
|
|
|
else \
|
|
|
|
echo "run configure with $(BUILD_OPT) to build $(PROGRAMS)"; \
|
|
|
|
fi
|
|
|
|
|
1998-11-22 14:24:59 +08:00
|
|
|
clean-common: clean-srv FORCE
|
|
|
|
veryclean-common: veryclean-srv FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
lint-common: FORCE
|
1999-04-21 14:09:19 +08:00
|
|
|
@if test "$(BUILD_SRV)" = "yes" ; then \
|
1998-10-25 09:41:42 +08:00
|
|
|
$(MAKE) $(MFLAGS) lint-srv; \
|
|
|
|
else \
|
|
|
|
echo "run configure with $(BUILD_OPT) to lint $(PROGRAMS)"; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
5lint-common: FORCE
|
1999-04-21 14:09:19 +08:00
|
|
|
@if test "$(BUILD_SRV)" = "yes" ; then \
|
1998-10-25 09:41:42 +08:00
|
|
|
$(MAKE) $(MFLAGS) 5lint-srv; \
|
|
|
|
else \
|
|
|
|
echo "run configure with $(BUILD_OPT) to 5lint $(PROGRAMS)"; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
depend-common: FORCE
|
1999-04-21 14:09:19 +08:00
|
|
|
@if test "$(BUILD_SRV)" = "yes" ; then \
|
1998-10-25 09:41:42 +08:00
|
|
|
$(MAKE) $(MFLAGS) depend-srv; \
|
|
|
|
else \
|
|
|
|
echo "run configure with $(BUILD_OPT) to depend $(PROGRAMS)"; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
install-common: FORCE
|
1999-04-21 14:09:19 +08:00
|
|
|
@if test "$(BUILD_SRV)" = "yes" ; then \
|
1998-10-25 09:41:42 +08:00
|
|
|
$(MAKE) $(MFLAGS) install-srv; \
|
|
|
|
else \
|
|
|
|
echo "run configure with $(BUILD_OPT) to install $(PROGRAMS)"; \
|
|
|
|
fi
|
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
all-local-srv:
|
|
|
|
all-srv: all-local-srv FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
install-local-srv:
|
|
|
|
install-srv: install-local-srv FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
lint-local-srv:
|
|
|
|
lint-srv: lint-local-srv FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
|
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
5lint-local-srv:
|
|
|
|
5lint-srv: 5lint-local-srv FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
|
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
clean-local-srv:
|
|
|
|
clean-srv: clean-local-srv FORCE
|
1998-11-22 12:22:28 +08:00
|
|
|
$(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/*
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
depend-local-srv:
|
|
|
|
depend-srv: depend-local-srv FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
|
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
veryclean-local-srv:
|
|
|
|
veryclean-srv: clean-srv veryclean-local-srv
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
Makefile: $(top_srcdir)/build/srv.mk
|