]> git.sur5r.net Git - openldap/blobdiff - build/rules.mk
printf("\tby") belongs on stderr.
[openldap] / build / rules.mk
index 00e63c3f90a6e561fbb2b8c34a8d7195e7619b4a..370a9c587ae645bb5048cbf732451bea0bd279ac 100644 (file)
@@ -1,10 +1,15 @@
+##---------------------------------------------------------------------------
 ##
 ## Makefile Template for Programs
 ##
 
-all: $(PROGRAMS)
+all-common: $(PROGRAMS) FORCE
 
-install: all
+clean-common:  FORCE
+       $(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/*
+
+depend-common: FORCE
+       $(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
 
 lint: FORCE
        $(LINT) $(DEFS) $(DEFINES) $(SRCS)
@@ -12,10 +17,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