1999-08-30 16:08:00 +08:00
|
|
|
# $OpenLDAP$
|
2005-01-22 03:38:13 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2007-01-03 04:00:42 +08:00
|
|
|
## Copyright 1998-2007 The OpenLDAP Foundation.
|
2003-11-26 10:58:56 +08:00
|
|
|
## All rights reserved.
|
1998-10-25 09:41:42 +08:00
|
|
|
##
|
2003-11-26 10:58:56 +08:00
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
## Public License.
|
1998-10-25 09:41:42 +08:00
|
|
|
##
|
2003-11-26 10:58:56 +08:00
|
|
|
## A copy of this license is available in the file LICENSE in the
|
|
|
|
## top-level directory of the distribution or, alternatively, at
|
|
|
|
## <http://www.OpenLDAP.org/license.html>.
|
|
|
|
##---------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile Template for Servers
|
|
|
|
#
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1999-08-07 19:37:43 +08:00
|
|
|
all-common: all-$(BUILD_SRV)
|
|
|
|
all-no lint-no 5lint-no depend-no install-no:
|
|
|
|
@echo "run configure with $(BUILD_OPT) to make $(PROGRAMS)"
|
1998-10-25 09:41:42 +08:00
|
|
|
|
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
|
|
|
|
1999-08-07 19:37:43 +08:00
|
|
|
lint-common: lint-$(BUILD_SRV)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1999-08-07 19:37:43 +08:00
|
|
|
5lint-common: 5lint-$(BUILD_SRV)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1999-08-07 19:37:43 +08:00
|
|
|
depend-common: depend-$(BUILD_SRV)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1999-08-07 19:37:43 +08:00
|
|
|
install-common: install-$(BUILD_SRV)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
all-local-srv:
|
1999-08-07 19:37:43 +08:00
|
|
|
all-yes: all-local-srv FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
install-local-srv:
|
1999-08-07 19:37:43 +08:00
|
|
|
install-yes: install-local-srv FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
lint-local-srv:
|
1999-08-07 19:37:43 +08:00
|
|
|
lint-yes: 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:
|
1999-08-07 19:37:43 +08:00
|
|
|
5lint-yes: 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
|
1999-10-28 15:31:59 +08:00
|
|
|
$(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/* *.exe
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
depend-local-srv:
|
1999-08-07 19:37:43 +08:00
|
|
|
depend-yes: 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
|