X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=build%2Frules.mk;h=b2d3d9f2beddbea3df1f8b30a0766b61c92560a8;hb=a9871d74021fabb5ee2ff87973292afa1c968aef;hp=00e63c3f90a6e561fbb2b8c34a8d7195e7619b4a;hpb=319aa913162c0e16592b8b41d26adf4ba4a98176;p=openldap diff --git a/build/rules.mk b/build/rules.mk index 00e63c3f90..b2d3d9f2be 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -1,10 +1,18 @@ +## Copyright 1998,1999 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/* + +depend-common: FORCE + $(MKDEP) $(DEFS) $(DEFINES) $(SRCS) lint: FORCE $(LINT) $(DEFS) $(DEFINES) $(SRCS) @@ -12,10 +20,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