openldap/build/srv.mk

63 lines
1.4 KiB
Makefile
Raw Normal View History

1998-10-25 09:41:42 +08:00
##---------------------------------------------------------------------------
##
## Makefile Template for Servers
##
all-common: FORCE
@if [ "$(BUILD_SRV)" = "yes" ]; then \
$(MAKE) $(MFLAGS) all-srv; \
else \
echo "run configure with $(BUILD_OPT) to build $(PROGRAMS)"; \
fi
clean-common: clean-srv FORCE
veryclean-common: veryclean-srv FORCE
1998-10-25 09:41:42 +08:00
lint-common: FORCE
@if [ "$(BUILD_SRV)" = "yes" ]; then \
$(MAKE) $(MFLAGS) lint-srv; \
else \
echo "run configure with $(BUILD_OPT) to lint $(PROGRAMS)"; \
fi
5lint-common: FORCE
@if [ "$(BUILD_SRV)" = "yes" ]; then \
$(MAKE) $(MFLAGS) 5lint-srv; \
else \
echo "run configure with $(BUILD_OPT) to 5lint $(PROGRAMS)"; \
fi
depend-common: FORCE
@if [ "$(BUILD_SRV)" = "yes" ]; then \
$(MAKE) $(MFLAGS) depend-srv; \
else \
echo "run configure with $(BUILD_OPT) to depend $(PROGRAMS)"; \
fi
install-common: FORCE
@if [ "$(BUILD_SRV)" = "yes" ]; then \
$(MAKE) $(MFLAGS) install-srv; \
else \
echo "run configure with $(BUILD_OPT) to install $(PROGRAMS)"; \
fi
all-srv: FORCE
1998-10-25 09:41:42 +08:00
install-srv: FORCE
1998-10-25 09:41:42 +08:00
lint-srv: FORCE
1998-10-25 09:41:42 +08:00
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
5lint-srv: FORCE
1998-10-25 09:41:42 +08:00
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
clean-srv: FORCE
$(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/*
1998-10-25 09:41:42 +08:00
depend-srv: FORCE
1998-10-25 09:41:42 +08:00
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
veryclean-srv: clean-srv
1998-10-25 09:41:42 +08:00
Makefile: $(top_srcdir)/build/srv.mk