]> git.sur5r.net Git - openldap/blobdiff - build/rules.mk
Fix bitmasks '0xhh << n' to '(masked type)0xhh << n'
[openldap] / build / rules.mk
index 00e63c3f90a6e561fbb2b8c34a8d7195e7619b4a..b2d3d9f2beddbea3df1f8b30a0766b61c92560a8 100644 (file)
@@ -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