X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=build%2Frules.mk;h=0002cd0ac8153b6e3f0895118f4934d8dbbc2a17;hb=4d4ed13f17e154af5addbf2d82ceec0051545e36;hp=00e63c3f90a6e561fbb2b8c34a8d7195e7619b4a;hpb=319aa913162c0e16592b8b41d26adf4ba4a98176;p=openldap diff --git a/build/rules.mk b/build/rules.mk index 00e63c3f90..0002cd0ac8 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -1,10 +1,20 @@ +# $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) @@ -12,10 +22,5 @@ lint: FORCE 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