+# $OpenLDAP$
+## Copyright 1998-2000 The OpenLDAP Foundation
+## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
+## of this package for details.
+##---------------------------------------------------------------------------
##
## Makefile Template for Programs
##
-all: $(PROGRAMS)
+all-common: $(PROGRAMS) FORCE
-install: all
+clean-common: FORCE
+ $(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o *.lo a.out core *.core \
+ .libs/* *.exe
+
+depend-common: FORCE
+ $(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
lint: FORCE
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
lint5: FORCE
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
-clean: FORCE
- $(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) \
- *.o a.out core
-
-depend: FORCE
- $(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
+Makefile: $(top_srcdir)/build/rules.mk